Is 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 ArticleHow to redraw() navigator window?
Hello, Using ExtendScript, how do I Application.redraw() the navigator window? Is this possible? Thanks!M
View ArticleI am trying to set the settings when placing a PDF into Illustrator..
When I use the "Place..." option from the File menu I get prompted with a box to set the "Crop to" setting. From like "Art" or "Trim" etc.When I place it with a script it is defaulting to "Art" right...
View ArticleSave as custom PDF Presets
I have a document that I want to save the .ai file that is open....then save as a pdf with my own Adobe PDF Presets. The name of my preset is: Machine Views Example sudo code: #target illustrator...
View ArticlesendScriptMessage
Hey yall, In the CS6 reference it states: Scripting plug-insThe CS6 JavaScript scripting interface allows for limited scripting for plug-ins. A plug-in can define a command, with an event and...
View ArticleLooking for "Replace with Symbol" script
So I am trying to replace gps points with a symbol I have created. I have found blogs referencing a script that can replace selected items with symbols saved in the symbols panel, but I can't seem to...
View ArticleScript to Rename Artboards with Layer Names
I'm looking to create a script to batch rename a number of artboards. - I have 100 named layers.- I have 100 artboards.- I would like to rename the artboards to match the layer names.- The layers are...
View ArticleimportPrintPreset, is it broken?
Hi everyone, has anyone had any luck with importPrintPreset()? I can't get it to import any presets, I get no errors, it just doesn't do anything... var idoc = app.activeDocument; var file = new...
View ArticleScript command for align dashes to corners and path ends?
Hello, I am using Illustrator CC for Scripting. I have dashed lines in my drawing and want to align dashes to corners and path ends.No problem in the Illustrator stroke menu. There are two buttons with...
View ArticleIllustrator Macros/Scripting
Hey guys is it possible to create macros in illustrator, or how would this be achieved via the scripting.Basically i have a c# application that contains alot of pictureboxes all with images in them. i...
View Articleis there a script to load images into illustrator to a grid composition.
Hi. is there a script to load images into illustrator to a grid composition. I need only 1 artboard. The out put is to print a mural. I need to load aprox. 1600 images. Somebody in the illustrator...
View ArticleFile.open("e") problem???
this is the (js) file to edit: //var pdfResolution = 70 ;var skale = 1 ;var pdfSourcePath = "/c/Eigene%20Dateien/Eigene%20Bilder/schi/DSC01176_pdfs/";var jpgTargetPath =...
View ArticleScript: rename layers?
Hi, is there a quick way how to renumber or batch rename all layers in a file so they would be named in consequent numbers? Doesn't have to start from exact number, I was wondering if maybe there is...
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 ArticleIs it possible to set xmp metadata to pageItems?
Hi All, Is it possible to set xmp metadata to pageItems?Like there is a way in photoshop to set xmp metadata to layers.Thanks
View ArticleScript to change selected layer to one of the drop down colors within layers...
Hello! I was wondering if anyone knows of a script that would allow me to change selected layers (either single or mulitple selection) to "Light Blue" or any colors within the drop down selection? (see...
View ArticleRunning script from actions
I am using Illustrator CS4 on a Windows PC writing in JavaScript. I know I can't call an action via JavaScript in my version/language but I can load the script from an action. I call some scripts from...
View ArticleImporting CSV and TXT files as Illustrator datasets: VariableImporter.jsx
Just in case any body would like to have the ability to import .csv and tab-delimited .txt files into Adobe Illustrator as datasets, (similar to Indesign's Data Merger), here is a tool which will help...
View ArticleScript for Selecting Open Paths in Illustrator CS6
I have created this script for selecting open paths in illustrator cs6 as the graffix plugin is not working under CS6. Just save the following text in /Applications/Adobe Illustrator...
View Article