Illustrator SDK :: How To Get List Of All Fonts And Colors Used In Active Document (AI File)

Oct 24, 2011

Is it possible to get the list of all the fonts and colors used in the active illustrator document (.ai file) ?
 
if yes then how?

View 6 Replies


ADVERTISEMENT

AutoCAD 2013 :: Change DWS File In Active Document

Jul 30, 2012

I write plug-in for AutoCAD in C# and I have a question. How I can change dws-file in active document?

I know how it's doing in LISP, but not  in C#.

View 1 Replies View Related

Illustrator Scripting :: Change Active Layer Name Same As Document Name

Sep 30, 2013

I would like to make the active layer name the same as the document name.  I know very little about scripting.  I found this script:
 
var idoc = app.activeDocument;var ilayer = idoc.activeLayer;var filename = idoc.name;ilayer.name = filename;
 
It does almost what I need it to do. except that it also copies the ".ai" in to the layer name.  Is there some way to modify this script to have it exclude or delete the file extension?

View 4 Replies View Related

Illustrator SDK :: CS3 - How To Change Page Size Of Active Document

Feb 15, 2014

Apparently, in the CS3 is impossible to do any scripting and using any actions. Can it be done using plugins sdk, without creating a new document? I tried using the functions SetPageSetup and SetCropBox but no effect

View 6 Replies View Related

Illustrator Scripting :: Select Pattern Objects In Active Document

Mar 16, 2014

We need a script that select all pattern objects in the active document in illustrator.

View 5 Replies View Related

Illustrator Scripting :: Listing All Fonts Used In A Document?

Jun 5, 2012

As I understand it, TextFonts is a collection of all fonts available to Illustraot.  Is there a collection of all fonts used in the open document?  Or would I have to step through every textFrame an create that list myself?

View 8 Replies View Related

InDesign :: Finding Missing Fonts / When Publish A PDF Document From CC File

Apr 21, 2014

I am finding missing fonts when I publish a PDF document from InDesign CC file.I tried to install the custom fonts in my system, but the installation is not getting completed.
 
I am using the fonts like, Akzidenz-Grotesk and Helvetica family fonts.

View 1 Replies View Related

Illustrator Scripting :: How To Generate Overview Of Colors Used In Document

Sep 2, 2013

I need to generate an overview of the colors used in a document.
 
For that, I would like to cycle through several rectangles of which I know the exact size. The rectangles are filled with a color  from the swatch palette.
 
What I try to achieve is that the swatch name of the rectangle's fill color is written to a text field directly above the rectangle. But I could not find a possibility to 'extract' the fillcolor from a pageItem into a pastable string.

Is there a way to do this with Illustrator and Javascript?

View 1 Replies View Related

Illustrator :: Change Default Highlight Colors For Layers In New Document?

May 30, 2013

Can you change permanently the default highlight color(s) for layers in new documents? CS6

View 2 Replies View Related

Photoshop :: See (resent) Fonts When Choosing / Type Letter To Get Down List Quickly / Group Similar Fonts?

Jan 11, 2013

I want to see "resent" fonts when choosing, be able to type letter to get down the list quickly, group similar fonts, etc. Maybe have a magnifying glass attached to cursor to see fonts better.... Why have this not been done?

View 1 Replies View Related

Illustrator Scripting :: ESTK 3.6 Crashes When Open Preferences And Click Fonts And Colors

Sep 10, 2012

I am using a MAC OS version 10.6.8 and ESTK 3.6.  When I open ESTK the font is very small and I want to make it larger.  I go to ExtendScript ToolKit>Preferences when I click Fonts and Colors the program crashes and sends an error report to Apple. 
 
I would like to script Illustrator with .jsx instead of AppleScript because I am more familiar with JavaScript (plus it's cross platform compatible). 

View 4 Replies View Related

CorelDRAW X6 :: Getting Active Document Units Via VBA

Sep 3, 2013

Have been working on a little something and would like to know what units the user is using in their document. Basically what is selected here:

The thing is, no matter what is there (and while all other menus and such use the units) Active Document.unit stubbornly returns inches. Is there a way to get the proper ones using VBA?

View 3 Replies View Related

Photoshop :: Fonts Disabled In Font Book But Are Still Active

Jun 3, 2013

I have a lot of fonts, but I only enable about 30 fonts at a time using Font Book. However, ALL 1000+ of my fonts still appear in the pull down menu in Photoshop. This causes my system to slow down and Photoshop to crawl.
 
Dumping my font caches is not working. This problem seems to happen a lot and at random times. This affects ONLY Adobe products (Photoshop, InDesign, Illustrator). All my other programs work well with Font Book.
 
Specs:
Photoshop CS3
Font Book ver 2.2.2
OS 10.6.8  (20" iMac) Upgrading to newer OS is NOT an option.
 
Dumped all AdoneFnt*.lst files and restarted.
Restarted in safe mode.
Checked all fonts for corruption (all are perfect).
Tried FontNuke.app

View 1 Replies View Related

AutoCAD .NET :: How To Stop Changing Active Document

Jan 24, 2013

How can I stop changing active document? I was thinking I could use this, but I don't know how to cancel it in the event handler:
 
AcadApp.DocumentManager.DocumentToBeActivated += new DocumentCollectionEventHandler(DocumentManager_DocumentToBeActivated);static void DocumentManager_DocumentToBeActivated(object sender, DocumentCollectionEventArgs e){ // Messagebox to ask if user are sure bool AreYouSureYouWantToChangeActiveFile = MessageBox.... if(!AreYouSureYouWantToChangeActiveFile) //cancel change active file somehow...???}

View 6 Replies View Related

AutoCAD .NET :: Turn Off / On All Layers In Active Document

Jan 5, 2014

I would like to turn off all the existing layers in active document. I have found in developer's guide how to turn off one layer with specified layer name but can not apply it on all layers with any layername.

I tried to get all the Object ID's in layer table and then for each object turn layer off but seems that it does not work.
 
<CommandMethod("FilterLayers")> _Public Sub FilterLayers()'' Get the current document and databaseDim acDoc As Document = Application.DocumentManager.MdiActiveDocumentDim acCurDb As Database = acDoc.Database'' Start a transactionUsing acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()'' Open the Layer table for readDim LayerTable As LayerTable = acTrans.GetObject(acCurDb.LayerTableId, OpenMode.ForRead)Dim LayerTableRecord As LayerTableRecord = acTrans.GetObject(LayerTable.ObjectId, OpenMode.ForWrite)For Each ObjectId In LayerTableLayerTableRecord.IsOff = TrueNext'' Save the changes and dispose of the transactionacTrans.Commit()End UsingEnd Sub

View 3 Replies View Related

Photoshop :: Convert Layer To (16-32bit) Not Active Document?

Sep 27, 2013

Is there a script to convert a layer or layer group to a 32-bit image rather then the entire active document at present that is the only option in Ps 5.x.

View 4 Replies View Related

AutoCAD .NET :: Event For Change Active Layer In Document

Aug 24, 2012

Is there event for change current (active) layer of document?

(it's not Database.ObjectModified - it's not raised).

I tried to do it with binding as:

public void Initialize()
{
var layerList = Application.UIBindings.Collections.Layers;
layerList.PropertyChanged += new PropertyChangedEventHandler(LayerList_PropertyChanged);

And -= in Terminate, but... Autocad 2012 chashed _sometimes_!!!

Impossible to understand when it happened. So I reject this way. Is there other way to handle this event?

View 2 Replies View Related

AutoCAD .NET :: Read Layers In Active Document From External App?

Jul 22, 2012

I have an external drawing processor and one of the functions is to read the layers in an AutoCAd drawing and if the name matches freeze/thaw it. With modifications over the years I have had it working with 2002 through 2008. Now I'm getting errors. When I tru to use the Interop, I get "Call Rejected by Callee" errors, when I use the

ApplicationServices method to get the application and active document, I getI" Method 'GetEnumerator' in type 'Autodesk.AutoCAD.DatabaseServices.LayerTable' from assembly 'Acdbmgd, Version=18.2.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation." errors.

Basically for the interop method I use this

Imports Autodesk.AutoCAD.Interop Public Function GetAcadApp() As AcadApplication Dim progID As String = My.Settings.strAcadProgID Dim acApp As AcadApplication =

[Code]......

View 2 Replies View Related

AutoCAD .NET :: Change Active Document Window Size

Sep 20, 2012

I'm trying to change the active document window size with vb.net. This seems like it should be straightforward, but I'm having some trouble. Below is some code that I tried to use which I found on the AutoCAD DevBlog.. I thought I understood how this works, but I can't seem to import the correct references to make it work.

Dim doc As Document = Application.DocumentManager.MdiActiveDocument()
Dim docWindow As Window = doc.Window
Dim size As Size = docWindow.Size
docWindow.WindowState = Window.State.Normal
docWindow.Size = New Size(500, 500)

View 4 Replies View Related

AutoCAD Inventor :: Finding Referenced Document Of Active Sheet

Oct 22, 2012

I'm trying to get the value of the Category iproperty of the model on the active drawing sheet.  This is not a problem in a single sheet drawing, but I'm not sure how to specifically retrieve the Referenced Document of the Active Sheet in s multi sheet drawing.

Here's what I have: 

Option Explicit

Public Sub PartsListFilter()

'set reference to the drawing document
'assumes that a drawing is active
Dim oDraw As DrawingDocument
Set oDraw = ThisApplication.ActiveDocument
[code]........

View 1 Replies View Related

AutoCAD 2013 :: Insert Sheet List Table Is Not Active?

Nov 6, 2013

“insert sheet list table” is not active, 

I couldn’t figure out in which cases the “insert sheet list table” (attached) gets not active.

This command is supposed to provide table of contents for the layouts specified in the set of sheets pane

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 9 Replies View Related

CorelDRAW Graphics Suite X5 :: Get Text From TextBox1 By Pressing CommandButton1 To Active Page Or Document?

Jul 22, 2013

How do I get my text from my TextBox1 (add text)  by pressing my CommandButton1 (okay) to my active page or document?

View 1 Replies View Related

Photoshop :: How To Simplify List Of File Types In Save-As File Type List

Nov 11, 2013

How to I simplify the list of file types in the Save-As file type list? I use less than six file types. I have no need for most of these. It would be nice to have my top 5 and then the ability to go off-menu if needed for others.

View 6 Replies View Related

Illustrator :: View AI File Created On MAC On PC Without Corrupting Fonts?

Aug 26, 2013

How can I view an AI file created on a MAC on a PC without corrupting the original fonts?  An AI file was created with an image and text on a MAC.  When the AI file was opened on a PC, the text fonts were not the same as originally created.  Also, the same AI file was saved to PDF on the MAC.  When the AI file was opened on a PC, there wasn't anything visible. 

View 3 Replies View Related

Illustrator :: Placing PSD RGB File Into CMYK Document

Jul 26, 2012

I want to know if the PSD file gets converted automatically to CMYK upon placing into Illustrator's CMYK document?

View 2 Replies View Related

Illustrator :: How To Vectorize A Logo (placed AI File) In Document

May 21, 2013

We have created a new document in illustrator, lets call it the Label. In another document I have a created logo which has been vectorized - the Logo. It is made from a font and some lines etc and then merged and vectorized. Opening the Label I make all text outlined (Type>Create Outline) but I just can't get the Logo vectorized. I have understood I need to see "a blue line and dots" following the shape of the Logo in order to know that it has been outlined.

View 3 Replies View Related

Illustrator :: Colors In PDF Preview Look Different From AI File

Dec 14, 2012

I am having a little trouble with the pdf I created in Illustrator. See images below for explanation. It's only happening to certain text. How can it be fixed, and how to prevent it from happening again?

I get this as thumbnail image on my desktop and in Finder, when I click space bar to quick view, and when its preview as an attachment in an email.
 
This is how it's supposed to look. This only happens when the PDF is actually opened..it goes from the above img to this.

View 4 Replies View Related

Illustrator :: Import All Of Colors In ASE File

Sep 12, 2013

I would like to import all of the colors in an .ase file to view them together in a grid as data for research I'm doing.  Is there a way to access all the colors in a palette at once and import them into a Photoshop, InDesign, or Illustrator file?  (there are hundreds)

View 3 Replies View Related

Illustrator :: When Open File / Get Message - Font Missing But Fonts Are Loaded

Mar 23, 2013

in CS6 illustrator when we  open file we get message " font Missing" but fonts are loaded.

View 3 Replies View Related

Illustrator :: This File Cannot Be Found - Error Message When Saving Document

Dec 19, 2013

Strangely, every time I click "save" in CS6 it opens up a 'Save As' window, (which shouldn't happen), then I click save witht the existing file name (it then tells me the doc already exists), I click OK, (and then OK to the next popup window) then get the message that "This file cannot be found".  I'm forced to click "ok" and the doument isn't saved.  I've tried saving it differently in previous versions and it still doesn't work.  I recorded a video of this behavior. You can see it here - [URL]
 
Why would it be trying to find a file?  It seems like an error message when trying to Open a doc, not Save a doc. I can't shutdown my station until I get the document to save.

View 8 Replies View Related

Illustrator Scripting :: Change File Path For Links In Document?

Apr 14, 2010

changing the file path for links in an Illustrator document?
 
For example, let's say my Illustrator document is stored at: /Volumes/Storage/Projects/Client/AAA001/designs/concept1.ai
 
and I have placed 2 linked visuals:
 
/Volumes/Storage/Projects/Client/AAA001/visuals/big_retouch.psd
/Volumes/Storage/Projects/Client/AAA001/visuals/flattened.jpg
  
When I open the .AI I noticed that the reference to the visuals is under a %DocumentFiles section:
%%DocumentFiles:/Volumes/Storage/Projects/Client/AAA001/visuals/retouc hed.psd
%%+/Volumes/Storage/Projects/Client/AAA001/visuals/flattened.jpg
 
I need to replace "/Volumes/Storage/Projects" with "/Volumes/Projects". (There are some more complex replacements I need, but let's start here.)

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved