[JS] CS6+ executeMenuCommand
Hello together, since CS6+ there is possible to executeMenuCommand (menuCommandString: string)Executes a menu command using the menu shortcut string. Question 1:Who knows a way to read all the...
View ArticleHow to sort objects alphabetically (inside of a layer)?
How to sort objects alphabetically (inside of a layer) on layer list?I have already tried scripts for Layer sorting. They work indeed for the layers, but not the objects themselves packed inside.
View ArticleUI (Window, dialog, palette etc) reference info for AI scripting
I'm looking for standard reference info on UI elements like popup windows (dialogs, palettes etc). I've been through the Illustrator CS6 Javascript Scripting reference guide and also the CS6 Scripting...
View ArticleMerging Layers
Hello, I'm wondering if anyone knows if it is possible to merge all layers in an Illustrator document via ExtendScript. I've looked through the documentation but I can't see any methods to do this like...
View ArticleScript errors and a question
//Created by Daryl R. Smith //This is the tab for Totes #target illustrator var thisDoc = app.activeDocument; if (thisDoc.selection.length > 0) { var w = new Window ("dialog", "Choose Totes...
View ArticleSorting Layers
I have a map of the US that is broken down into counties. Each state has its own layer and the counties are sublayers. I am currently going through and naming all of the counties, but I need to be...
View Article[TUTORIAL] ADD YOUR OWN KEYBOARD SHORTCUTS TO YOUR JSX SCRIPTS
This is for Windows only; it uses a feature to launch your favorite software via a keyboard shortcut. It’s been here for a while but it just never occurred to me to use it for this purpose. 1....
View ArticleConverting Illustrator matrix to CSS matrix
I am writing an illustrator script to export text frames into HTML. These numbers in the matrix attribute in illustrator matches up with those in CSS, transform:matrix(a,b,c,d,tx,ty) except for TX and...
View ArticleApplescript, XMP, and custom namespaces
Having had to switch gears from JS to AS to solve a database integration problem, I could use some help getting specific XMP out of my AI files via AppleScript. Extracted this from the InDesign...
View ArticlePg Number, File path and date automatically printed?
Is there a way to automatically print the page number, complete file path and date at bottom of each page (set to landscape)? Thanks!
View ArticleIs it possible to create droplet?
Is it possible to create a droplet in "illustrator cs"?
View Articlecreating outlines from text using javascript in Illustrator CS5
Hi everyone, Is there a way to select all of the text on all artboards and CREATE OUTLINES using Javascript? I've googled and googled, but I can't seem to find any help. The text that Adobe provides...
View ArticleAssigning Text Fields Variables via VBScript
I'm looking to complete the first challenge of my project of repopulating text fields with translated text automatically. To do this I need to pull the text down from an Ai file. However, each text...
View ArticleOutlining Text
I am new to illustrator. I want to be able to outline a text with the same font, only larger. I want to be able to see both fonts. When I do this with the transformation is does not outline, it only...
View ArticleSaving to a folder that is password protected
I've got a script that saves artwork to a public folder but I also need a script that saves the artwork to a folder that is password protected. The username and password is something I would need...
View ArticleResolution check in illustrator
How to check the raster image resolution in illustrator through script?
View ArticleRemove namespaces from elements
There is a problem I am experiencing, that others have discussed here Illustrator retains unsavory namespaces in SVGs, can't open it's own export Basically the AI document retains namespace data from...
View ArticleBreak text area into text lines
I want to break text area with line breaks in it into seperate text lines using return as delineator. for example "Line 1Line 2Line 3" I would like as "Line 1""Line 2" "Line 3" I could probably write...
View ArticleIs there a way to add duplicated groupitems to the artboard thats active?
var y = -50; //artboard top margin to place artvar x = 43; //artboard left margin to place artvar actIdx = docRef.artboards.getActiveArtboardIndex();var actAB = docRef.artboards[actIdx]; for (i = 0; i...
View ArticleImporting dataSet XML whitespace to create blank line
I would like to import a dataset which contains a text-content data which has several <p>text</p> elements in it, one of them being a separating blank 'paragraph' designed to put a simple...
View Article