exportForScreens synchronous
Is there some method of getting exportForScreens to act synchronously so one can know when it's done? (other than polling for the files)
View ArticleArtboard script > "fit to artwork bounds" and put different margins for top,...
Hello, I use a script to cut my graphics with the artboard tool with the setting: "fit to artwork bounds".Now, I want to make use of following script but there is 1 disadvantage with the script: You...
View ArticleDelete Empty Artboards Action?
I am looking to run a batch action on several files. I need to add the "delete empty artboards" function to the action. I can find where to do this manually in the artboards window. I have tried the...
View Article[LOCKED – Duplicate thread] Delete Empty Artboards Action?
I am looking to run a batch action on several files. I need to add the "delete empty artboards" function to the action. I can find where to do this manually in the artboards window. I have tried the...
View ArticleselectObjectsOnActiveArtboard, including locked items
So I'm trying to determine whether to process an artboard, based on whether it's empty or not. Currently doing the following: doc.selectObjectsOnActiveArtboard(); var sel = doc.selection.length; if...
View ArticleToggle to "Full Screen Mode" using Javascript?
For a specific task I'd like to toggle to "Full Screen Mode" between scripts. I can use "F" to toggle between modes, but I won't know what mode the user is currently in so I won't know how many times...
View ArticleAdobe Illustrator CC 2019 Scripting VERY slow - C#
Hello, i'm developting a small library to access PathObjects in Illustrator (works fine for CS2, CS5, CC2015) - but i have performance problems with CC2019. I am using VS2017. Code looks like: Type...
View ArticleGetting Scriptpath does not work
HiMy goal ist to save data into a *.txt-File relative to the Scriptpath. That means I have to find out the Path to the Script."app.activeScript" only works when I run the Script within the Adobe...
View ArticleTemplate for Traversing Path Items
I realized I never shared this code. I found myself writing a lot of scripts that would need to traverse all of the path items in a document, such as to compile a list of colors or switch between color...
View ArticleAlign to bottom selection?
I edited a script from this forum (I think originally written by williamadowling) to align selection to bottom object. I want to modify it to add the "Bottom Object" to the selection by name so the...
View ArticleNeeded Help to create the searchable drop down list
Hi Everyone I have 197 layer names. As per my client standard, it is too long to scroll this list. So i need to create the searchable drop-down list in dialog palate. If you have any advice kindly...
View ArticleIllustrator exportFile() script method replacing filename space with hyphen...
Hi All,Using my script,When i am trying to export in illustrator to png with name "My ILST File.png" it is saving as "My-ILST-File.png".I wanted names with spaces.I don't want to use this file for...
View ArticleError running scripts
I can't seem to get estk to run a script directed at illustrator without it immediately freezing up. It shows this error: Cannot execute script in target engine 'main'!: #116 Can't start debug session...
View ArticleFind and change mutliple texts in illustrator and make them bold?
Hi! I work with files that require the language abbrevs. to be in "Flama Medium bold". Can someone help me with a script that could do this in illustrator? I know very little about scripting or...
View ArticleScript Request for measurements!
Hello, Is there a way to get a measurement between 2 objects and put the numbers into a file? Thankyou
View ArticleReplace space with space instead of '-'
Hi All,Using my script,When i am trying to save layers in illustrator to png with name "ad designer.png" it is saving as "ad-designer.png".I wanted names with spaces.so could anyone help me in this.my...
View ArticleIgnore script if there is no selection?
How do I write this so AI does not show error messages if nothing is selected? var aDoc = app.activeDocument; app.userInteractionLevel.DONTDISPLAYALERTS var myLayer = ""; //Unite BACK TEXT selection...
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 ArticleSelecting Artboard 1 and play script
I have a number of different actions I run, all based around Artboard 1. I'm not to familiar with scripting but it seems like there should be a script that can do the following (that I can then tie to...
View ArticleResize all Artboards and its Artwork
Hello, I'm using this script to scale up all my Artboards but the artwork (object on active artboards wont scale up). In there any way to do it? #target Illustrator // script.name =...
View Article