Retrieving the selected anchor points coordinates.
I have read the scripting guide,and learned about finding coordinates this way: var aDoc = activeDocument;var topObject = aDoc.selection[0];var coord = topObject.pathPoints[0].anchoralert(coord[0]) I'm...
View ArticleHelp with applescript command
I'm trying to use this command to change the colour of objects inside of a document using applescipt but i keep getting an error "adobe illustrator "can't get color"" the colour exists and is active on...
View Articlean Illustrator error occurred: 1346458189 ('PARM')
Hello everyone, I am trying to open some documents in Illustrator CS4 by javascript, walk through all layers including sublayers, doing something (for now just reading the layernames and showing them...
View ArticleScripting Illustrator actions, incorporating calls to Excel
Hello all, I need some help... I am building a series of logos — based on word strings — using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file....
View ArticleScript to Make all text Dynamic
Is there a way or a script that will make all the text on a page Dynamic? At the moment we have to select each text box and press 'make text dynamic', which can get tiresome with a lot of text boxes....
View ArticleCreate CDATA in my XML?
Howdy! What if for some reason a person wants to actually make an XML file and stick some<![CDATA[]]> in it? I looked through some manuals & OMV fairly quickly to discover no methods for...
View ArticleCutting a circle
Hi all, I need to make shapes like this based on a value for graph purposes - usually I would just create a cutting shape based on trig (this shape representing around 60%) and subtract it from the...
View ArticleHow do I batch-rename objects/paths (not just layers)?
Question from a complete n00b: I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name,...
View ArticleList missing fonts in Illustrator
Hi all, I've been working on a script to try and build a list of font's that not loaded in Illustrator. I know that Illustrator will alert missing fonts when a document is opened but this routine will...
View Articlescript to align selected objects to artboard
Hello, I was wondering if anyone had a simple solution to aligning selected items to the artboard. I was going to create an action but then realized it would be more convenient for me to include it in...
View ArticleIs it possible to create droplet?
Is it possible to create a droplet in "illustrator cs"?
View ArticleScript UI breaks connection with AI Document?
Last week I wrote a simple script that interacts with my document and exports layers as images. The script works great, but I thought I'd add a nice UI to it before I release it to the world, so I...
View ArticleSetting draw modes through script?
Is there any way of setting draw mode through a script?I can't find any info.What I'd like is to set the draw mode to paint inside for a selected path through a script instead of clicking twice on the...
View ArticleHow do I save a .DXF file in Illustrator as an AI file using VBscript?
I have a VBA script that opens a .DXF file in Illustrator, and want to save it as an AI file. How do I do this?
View Articleexecute JSX in MAC
Hi All,I want to execute a .JSX file by using Mac Terminal Command like i am doing in MS Windows by using following cmmand: C:/ start illustrator.exe Script.jsx its working fine but i want to do...
View Articledialog vs palette
How do I change a text in Illustrator using a window type PALETTE when using DIALOG PALETTE works but with no, someone can explain me why? my script is... #target Illustrator var...
View ArticleAdding Custom Spot Colours
Hi all, I'm in desparate need for some help. I think the answer to my question is relatively simple, but I don't have a lot of experience in scripting.I am trying to create a script that adds custom...
View ArticleScript works Great, Pro-Tips appreciated.
This script is used to make a few changes that SOME of our die suppliers require. It works great. If you have a little time to look it over and give me some advice on best practices, consiseness etc....
View ArticleHow to resize a textFrame, while also resizing its parent (a groupitem)?
I'm trying to find the smallest textframe within a group and then matching that textframe font size to the minimum size allowed for printing. Everything else works, except I can't figure out how to...
View ArticleRelink many files at once
I was wondering if anyone can help. I'm using Illustrator CS6. I have an artboard with 200 of the same placed file. I now want to use this same layout for 30 other views, they are the same size, but...
View Article