No Stroke No Fill not recognizing
Can someone tell me why my else if statement isn't working? I know I have 3 path items that have no fill and no stroke... #target illustrator var allDocs = app.documents; var doc = app.activeDocument;...
View ArticleAlphabetize text frames, duplicate and make a list in order
I am trying to take the selected text, sort it alphabetically, then duplicate all the text so it comes out in a list form.So if I had the following text selected....And ran my script....which I have...
View ArticleExport to AutoCAD error
Hi everybody,maybe here is anyone that can help me with my problem, because I've no idea, where my mistake is. I tried to use a script (JavaScript) to automatically export each layer of an Illustrator...
View ArticlePossible to change linked images without AI?
Hi All! I am relatively new to AI javascript coding, but I can't seem to solve my most recent problem. My company has 2 offices, each with their own local network server, but both offices can connect...
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 ArticleSave file with script (skip warning 'modified outside Illustrator')
Hi All, We all know that command: app.activeDocument.save(); saves the document skipping all the dialogs and even alert that is popping out every time when you manually saving your file on a server:...
View ArticleIs there a way to clear or delete actions through scripting?
Hello Everyone! Menu Commands Outline Stroke I'm trying to make a script that will clear and then reload actions to try to get around that bug. Thanks to quertyfly and moluapple I now know how to make...
View ArticleIllustrator 2015 changes?
I don't see any new docs available on adobe's scripting page for AI. Does anyone know if there were any changes to the scripting engine?
View ArticleJava Script: How select all corner points?
Java Script: How select all corner points in opened document?
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 ArticleScriptUI: How to update Listbox values? (CC2014)
Is there way to update listbox element that filled with JS array elements. If I push more elements to the array, how I can re-render it in ScriptUI? Is there way to do this. I know there is way just to...
View ArticleAdvanced "Save as PDF" script that saves 2 PDF presets with 2 different names.
Hi Everyone, I am looking to improve a save as pdf workflow and was hoping to get some direction. Here is the background... I routinely have to save numerous files as 2 separate PDFs with different...
View ArticleHow to rotate a art board in a illustrator using adobe extended javascript
How to rotate a art board in a illustrator using adobe extended javascript how to create mirror image of each textframe content of artboard
View ArticleAbsoluteURI doesn't seem to work
Attempting to use absoluteURI on a Folder selectDlg or a File saveDlg and I can not get an absolute path - I always return this: ~/Desktop/tmp00000001Which doesn't work. I'm using node.js and the fs...
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 ArticleX,Y coordinates are printed wrong on the Second ArtBoard
Hi All, I'm new to the illustrator scripting.But out of my one month exposure to the scripting have explored plenty of things and started my project of writing script to print X,Y coordinates of...
View Articlevisibility variable get lost on undo/redo.
Hello All, I've scenario where I've to distinct the page items and apply some sort of unique Ids to them. So for that, I added the visibilityVariable to the page items. Code is as follows,var idoc =...
View ArticleMove object/group to absolute x,y coordinates
Hello again, all. I've found an answer to this question long ago, but i can't seem to find it again and i'm not really finding anything in the documentation. How can i move an object to predefined x,y...
View Article