Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Browsing all 3671 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

Artboard 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 Article


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 Article

Image may be NSFW.
Clik here to view.

[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 Article

Image may be NSFW.
Clik here to view.

selectObjectsOnActiveArtboard, 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 Article


Image may be NSFW.
Clik here to view.

Toggle 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 Article

Adobe 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 Article

Getting 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 Article


Image may be NSFW.
Clik here to view.

Template 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 Article


Image may be NSFW.
Clik here to view.

Align 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 Article

Image may be NSFW.
Clik here to view.

Needed 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 Article

Illustrator 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 Article

Error 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 Article


Find 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 Article

Script Request for measurements!

Hello, Is there a way to get a measurement between 2 objects and put the numbers into a file? Thankyou

View Article


Replace 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 Article

Ignore 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 Article


Image may be NSFW.
Clik here to view.

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 Article

Selecting 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 Article

Resize 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
Browsing all 3671 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>