ExtendScript try/catch difference when script ran from ESTK and Illustrator
Hello, I've written an ExtendScript for Illustrator using the ExtendScript ToolKit (ESTK). This scripts works really well when running it in Illustrator from the ESTK (using the target application...
View ArticleA basic question/problem with array element as undefined
Hello everybody, thank you for looking at my problem. I'm very new to scripting and javaScript and I've encountered a strange problem. I'm always trying to solve all my problem myself, with...
View ArticleExecuting HTML file in Yosemite
SO, as of Yosemite on Mac, doing a file.execute() on an html file is broken. The browser opens a document, but the URL is all screwed up, it says something like file:///.file/id=6571367.2773272/See...
View ArticleHow to delete specific layers?
Hi, I have a large batch of files (100+) that all have the same layer structure. The top layer is called 'Guides', the next layer is called 'Object", the next layer is called 'Shadow' and it goes on...
View ArticleHow to outline text in illustrator scripting
I want to create storke in text in illustrator scripting and found one method too createoutline(),But How i used this method for text outline.
View Article\n not working correctly
Hello fellow scripters - This is probably something really basic, and it really is something minor but would be appreciated if someone could look into and explain why the \n isn't working correctly....
View ArticleIs there any way to find out what brush is applied to a path?
I'm trying to write a script: select some paths, run the script, then each path that has a brush applied to it is changed to use a random brush whose name is sufficiently similar to its current brush....
View ArticleBridge to Illustrator
Hello everyone, I am working on a file saving script. I am trying to figure out how to send information from bridge to my illustrator script. I need to know the file path that is active in bridge, I...
View ArticleLodash.js and ExtendScript
Hi, My initial experimentations with lodash.js seem to indicate that it will just work with ExtendScript (in Illustrator and the ESTK at least). Has anyone else tried to integrate it with a project?...
View ArticleScript for making an object the artboard size.
I am looking for some help on trying to make an object the exact size of the artboard. This is something I do on a daily basis for several different reasons and it would be very helpful if this can...
View ArticleScript Panel - Work in progress
Hi All,Working on a Script Panel to make scripts simpler to run in illustrator.This is a work in progress... Looking for some people to help test and make suggestions. at the moment this is a Windows...
View ArticlesaveAs: overwrite files or ask what to do?
this is one of those situations where i feel like i'm missing something obvious, but with as little knowledge as i have there's a lot to be potentially missed. anyway, enough self-deprecation... this...
View Articleloading bar and MATH.CEIL
Hey guys, I've wrote a script that I'm trying to get to work where it shows loading bars for all the different script and templates. The reason for this is that there are so many files that this can...
View ArticleSplit Text into Layers
I was wondering if anyone is aware of a script that is able to do the same as this photoshop one http://www.agasyanc.ru/text-splitter, I would use that one in photoshop but its not working in CS6. I...
View ArticleBatch combine files into one illustrator document - how to open target document?
I am making a script which will: 1) Open a folder of Illustrator files2) Open each file in the folder (these files are called the source files)3) Select all the contents of the source file4) Copy the...
View Article[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 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 ArticleBridge to Illustrator
Hello everyone, I am working on a file saving script. I am trying to figure out how to send information from bridge to my illustrator script. I need to know the file path that is active in bridge, I...
View ArticleAuthor filled in automaticly
I have scripted my Indesign to automaticly fill in author at starting a new document. Now i know there is a way to do the same in Illustrator, but it dont seem to be the same sort of scrypting.Did...
View ArticleMenu Commands Outline Stroke
Hello Everyone, I am trying to find an outline stroke menu command (without a diolog box popping up) app.executeMenuCommand ('Expand3') Works, but I am trying to see if there is a way to avoid the...
View Article