object "play action" not available
hellotrying to use applescript to run an action as part of a multi program workflowEverything runs until the Illustrator action part when I get an error Object "Play Action" is not available...
View Articlehow to change dxf color in Adobe illustrator CS5 using VB Scripting?
I am using following code snippet for changing dxf color, but it's not working.Could you please help me out with this?Any help would be appreciable, Thanks in advance. Set appRef =...
View ArticleSelected textFrame contains a dash?
Is there a way that I can search through the selected text items and if the text frame contains a dash push the entire contents of the text frame into an array? If it doesn't contain a dash it would...
View Articlehow can i refresh swatches internally in illustrator through jsx ?
I have a problem with illustrator when I loop through all the swatches like for all spot colors it does not provide me all the swatches present in swatche list. But when I reopen the same document then...
View ArticleRemove carriage returns and format text
So I have the following code that will look at a specific layer....ignore textFrames that don't have a dash in it and then create a report txt on my desktop. #target illustrator var doc =...
View ArticleMultiple artboards to multiple PDF's
I have over 300 different ai files with about 50 artboards in each one and need to export each artboard to a separate PDF file. I'm on a windows machine so the script would have to be JavaScript. Is...
View ArticleList folders number
Hi guys,I have a folder on my desktop, called: myFilesand many sub folders in it. Is possible to list all folders name that there are inthis folder myFiles? I would like to show the total folders with...
View ArticleVBScript interface performance
I'm reading data from the active document in Illustrator into a .NET application by using the VBScript interface, simply getting the item data from the object model and using it in my application....
View ArticleSet stroke color only to selected compound paths
Hello!I am looking for script to set stroke color at selected compound paths (For CS6 )Thanks!
View ArticleGet geometric bounds for selection
Hi everyone! When i am paste an image into illustrator document, To get the geometric bounds of selection using applescript.But, not exactly to get values. Because, the above image having hiding text...
View ArticleHow to make scripts for aligning objects?
Hey, How would I proceed to create scripts for aligning objects? Basically what I want is to keybind the buttons for the Horizontal and Vertical align -icons.In Photoshop you can use the ScriptListener...
View ArticleHow to check the linking image's source image is losted?
Hi everyone,How to check the linking image's source image is losted?If the source image is existing , I can read the PlaceItem.file.fsName.but if delete the souce image ,read the PlaceItem.file.fsName...
View Articlefind overflow text
When I have many files, I want to find file with overflow text. please, helpThank you
View ArticleSVG, exporting paths on artboard?
EXAMPLE:The groups bounding box overlaps the artboard, and those shapes will get exported into the SVG.<rect class="cls-1" x="11.79" y="1.71" width="8.38" height="11.13"/><rect class="cls-2"...
View ArticleComplex Pie Charting
Hi Folks! We're creating a math charts to create visual aids for understanding complex mathematical relationships, only we're all new to illustrator scripting, which I believe will work, correct me if...
View Articlehow do I find number of objects in a layer?
I have a document having hundreds of layers. I want to remove specific object from layers. I am iterating through all layers but I couldn't iterate through objects within a single layer to find that...
View ArticlePlacedItem() How to add art object onto an artboard?
As I nubie I continue to study-read-study but I am still having issues grasping the basic, proper syntax when creating a statement. Using CS6 and VBS I have been able to open an artboard. From there...
View ArticleExport JPEG
Greetings, I need to export an image as JPEG with mode either CMYK or RGB and resolution 150 or 300.by using Script or System events Please any one help me. Thanks,Annadurai.
View Article