How to clear Guides?
Is it possible to clear the guides lines in illustrator active document through scripting. Kindly share with me. Thanks..
View ArticlePassing Variable via BridgeTalk
Hello,Everyone here have been a fantasic help getting me up and running with palette windows and understanding the basics of BridgeTalk and what it needs to work. I now understand about serializing...
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 ArticleHow reset the rotation of a PageItem (or access it's matrix at least) ?
I'd like to apply rotation to a few PageItem instances, but would like to reset the rotation first so it doesn't accumulate when I run the same script multiple times. I'm having a hard time trying to...
View ArticleCustom Angled Triangles Question
I'm quite suprised that powerful Illustrator does not have any easy solution for creating custom angled triangles. Is there anybody help me to create a custom angle triangle script ?Thank you,Best...
View ArticleIllustrator script to open file in Photoshop
The Bridge SDK has a script to open a selected file in Photoshop.Can this be done from Illustrator instead? It seems that the cross-dom function open() should work in either an illustrator or bridge...
View ArticleMoving a pasted selection?
In a VB application I am selecting the current selection of one document and pasting it into a new document. I am trying to move the "Selection" to the 0,0 position of the new document. In previous...
View Articlequestion for a brain
Hi All, I'm broken my head on this problem:This script present the problem, random are unknow value (we don't know in advance the length)var ressource="dialog { text: 'titleBox'}"; var dlg=new...
View ArticleWho's able to change color of this ?
Hi all, I'm unable to change color of each element of this Illustrator file (there are CS,CS3 or CS4 file.. choice it yours) by scripting (of course) Who will be able to change it ? Many thanks !!...
View ArticleBuilding a color chipper
I'm new to scripting was handed a tool that pulled ink sport colors and made chips and have been saddled with a hard task, and need some help. I need to create a tool wich will;look at a file with...
View ArticleFloat to Hexadecimal
Hi all, I need to convert a simple float include between 0 and 1 (only positive) like as 0,1234567 to hexadecimal (0x00000000). Anyone who have an idea (like as function), please lets me know Ciao,...
View ArticleScript to convert proof to output colours
I am a freelance designer for a small family owned company and I do designs that are eventually printed on a Roland Digital printer and sublimated onto fabric. At the moment, we use two sets of...
View ArticleCS3: How to get artwork area bounds?
Hi to all! Well, I need o get the real bounds of the artwork that will be exported in JPG. My document page size is A4, but usually artwork is smaller and I need to know how Illustrator will trim the...
View Articlereleasing all compound paths on a layer with javascript
Hello everyone! I am trying to make a script that converts groupitems to pathitems on a layer. I found a script on here that ungroups group items in a layer. var thisDoc = app.activeDocument;var...
View ArticleGet all PageItems in a layer?
when I ask for all pageItems in a document, like so: app.activeDocument.pathItems I get all the pageItems of the current document, regardless of where they are. But when I ask for al the pageItems of a...
View ArticleHow to make an function wait for the previous to execute
Hi, Can anyone tell me how to make a function in a script wait for the previous to finish before executing? I want to open a series of Illustrator files, create an array with information about the size...
View ArticleIllustrator VBA scripting 101 - via Excel
This post will attempt to introduce newcomers to Illustrator Visual Basic Scripting (well, not actually vbs, but rather tru VBA, Visual Basic for Applications). I personally prefer vba over bvs for a...
View ArticleAi Packaging Script
Ok.. I'm sure this has been posted before (already searched, didn't find however), but does a file packaging script exist for AI? (one that collects all linked images and fonts and places them in one...
View ArticleIllustrator script to select multiple layers
I have about 74 layers in illustrator and i want to run a script to select combination of layers at a time. For e.g. I want 5 layers to be selected and save them as one .jpg. Then say i need to select...
View ArticleTrigger Save As... dialog with Javascript?
I have a script that makes some significant changes to an Illustrator file and would like to have a "Save As..." dialog pop up at the end of the script to give the user a chance to save the changes in...
View Article