Script 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 ArticlePalette versus dialog?
Is there any functions and methods that dont work on a dialog window versus a palette? I sk because i was playing with some UI stuff and i almost got everything working but it doesnt work as a dialog...
View ArticleAnything similar to javascript's setInterval in ExtendScript?
I need a way to poll my server for new jobs for the illustrator script to work on every few hours.I tried with $.sleep(), but that is blocking, I need a non-blocking way to do this.Any advice?...
View ArticleFailed to use OOTB script "exporttosvg"
Hi everybody, I'm searching someone that could tell me how to use the scrpit supplied out-of-the box with Illustrator CC whose french name is "EnregistrerDocAuFormatSVG". As I have only a french...
View ArticleAlert message need to be added?
Hi All, I need to add alert message of number of unlock items in the following script. #target illustratorvar myDoc = app.activeDocument;var myPageItems = myDoc.pageItems;var count =...
View ArticleI'm having trouble finishing up with Compound Paths
OK, I'm a novice here so here's my script. It works really well like it sits. It basically takes two objects in a large group and aligns them. I want to make each two objects combinded into a single...
View ArticleTest whether a layer with a specific name exists?
Is there a simple way to test whether a layer with a specific name exists?
View ArticleHow can i make it? (something like 'Feather effect')
Hi. I get some object to other design company. There is AI file in URL(illustrator CS3 version file) http://www1.datafilehost.com/d/f873f882 it's looks like 'Feather effect'. but it's not. it's not...
View ArticleCS6+ executeMenuCommand, pattern swatch
Hi all, I'm trying to create a Pattern Swatch out of the Selected Object, so I'm using app.executeMenuCommand ('Define Pattern Menu Item'); this successfully adds the swatch to the swatches panel, but...
View ArticleHow to cancel all alert at once
Hi All, I am trying to close alert at once but the loop continues the alert, how can I stop the alert at once var doc = app.activeDocumentvar layersToTargetNameArray = ["Background", "Artwork",...
View Articleapp.sendScriptMessage (CS6+)
Hi guys, Can anyone provide me full example of using this method?app.sendScriptMessage (pluginName, messageSelector, inputString) How can I get full list of plugin commands? thanks,Zenek
View ArticleText spacing values
Hi There, Is there a way to find the leading value of each line of text in an area text box (assuming the leading has been set differently on each line)?In the same line of thinking, I would also like...
View ArticleScript to select patterns in Illustrator Document
Kindly we need a script that select all pattern objects in the active document in illustrator.
View ArticleIs there any way to convert recorded actions into JSX Javascript file?
For photoshop, there's http://ps-scripts.sourceforge.net/xtools.html (scroll down to "ActionFileToJavascript") which can convert recorded photoshop actions into jsx. Is there any such resource for...
View ArticleGetting the "real" visibleBounds with javascript...
Hi All,I'm have a great deal of trouble with this.I can get the visible bounds of a simple item or group of items.the Script for this is: //Get Size for all selected items/groupsdoc =...
View ArticleOutline stroke with Illustrator scripting
Hello everybody! I'm making a script. I need to do the outline stroke action. I can't find it in the extendscript anywhere. I can do it from a applescript and call it from my extendscript in CS6 BUT I...
View Articlelive trace (vectorisation de l'image)
i would like to live trace (vectoriser) a pdf drawing but i can't open the dialog box live trace(vectorisation de l'image) on version 17,1 could you help ? p.s. my illustrator is french version but i...
View Articlemy script makes me cannot save my AI file.
When I excute below script twice, I cannot save AI file. It's very strange.- There is not error message when I excute my script.- But when I save AI file after excute my script twice, save is not...
View ArticleCS6 placedItems relink method, sometimes producing Error: 376('x ')
Hi, I am creating a script on illustrator CS6 that will loop through all the images and relink these images to there current location, it is used to update all of the links in the file. However...
View Article