simple javascript with .onClick function not working. I have the following...
#target Illustrator #targetengine main // Functionfunction count_selected_objects(){ alert ("Start of function"); /// works OK! var myDocument = app.activeDocument; var items =...
View ArticleMoving objects jsx?
Hello everybody. Is there any way to move a object using its width? ex: "move to left a box with 10cm(width) using this value (10cm)". But I want to capture the width of any selected object.Another...
View ArticleShow color picker dialog JSX / CSAW
Can someone guide me on how to show the color picker dialog in Illustrator programmatically?In photoshop that's really easy, just: app.showColorPicker(true); In Illustrator I couldn't find any...
View Articlean Illustrator error occurred: 1346458189 ('PARM')
Hello everyone, I am trying to open some documents in Illustrator CS4 by javascript, walk through all layers including sublayers, doing something (for now just reading the layernames and showing them...
View ArticleShow/Hide guides via JavaScript?
Show/Hide guides via JavaScript? With this script I can delete all guides in all open documents: for (d = 0; d < app.documents.length; d++) { var targetDocument = app.documents[d]; activeDocument...
View Article"Isolation Mode" and Javascript.
Hi All, Does anyone know of a way to get out of IsolationMode using Javascript? I am trying to create a Duplicate of a Selection on a Tempory Layer.The selection is often quickest to get to by...
View ArticleSuchen und Ersetzen Script in Illustrator
Ich habe einige Textcodes in 3 Sprachen wie z.B:dP390dP391dP301+P310dP301+P312dP301+P330+P331dP302+P334dP302+P352dP303+P361+P353dP304+P340dP305+P351+P338und möchte diese durch ein Javascript mit suchen...
View ArticleBlend Options>Spacing>Specified Steps?">Is it possible to "simply" write a javascript Object>Blend...
I am trying to write a script that will iterate through some guilloche patterns and need to do it in an automated fashion, not with a plugin or manually. I cannot figure out how to have 2 paths...
View Articleany body knows how to add dimension to a square, circle, (geometric drawings)...
any body knows how to add dimension to a square, circle, (geometric drawings) would you please let me know how. thanks (just in case someone answer).
View ArticleHow to import symbols from a symbol library?
I need to import symbols from an Ai file to other documents by script, then place them by replacing objects.I have no problem with the replacement of a symbol when it's part of the symbols of the...
View Articleupdating scripts to CC from CS6
Hello World! I've got a lot of scripts that I've been updating but for some reason my ETSK isn't wanting to run them in CC, only CS6. I make sure the target is set to "Adobe Illustrator CC 2015...
View ArticleResize and Batch Resize to Art Bounds
I created a script that resizes the art board of the active document to the art bounds size, and also a companion script that does it in batch. Useful if you have dozens, hundreds, or thousands of *.ai...
View ArticleResolution check in illustrator
How to check the raster image resolution in illustrator through script?
View Articlecheck if a word/words/phrase exists in document
hello, how would I go about to check if a textframe with specific content exists in a document and if it does then procede with a function? if ("word" exists) { make a new layer} I just need it to...
View ArticleWrite used color swatch names as text on the artboard
Anyone know if it is possible to write a script that will take all of your "used swatches" and write a list of their swatch names on the artboard? Would be very useful for art approval documents.
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 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 ArticleHow to import symbols from a symbol library?
I need to import symbols from an Ai file to other documents by script, then place them by replacing objects.I have no problem with the replacement of a symbol when it's part of the symbols of 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 ArticleFind all transparent objects
I am using an applescript to do anything I may miss before sending my files to the prepress department. Right now my script outlines all text (except item/batch numbers) and embeds any links. One other...
View Article