Tuesday, March 13, 2012

How to permanently tie a script to an action in Illustrator

 Over the years, the number one request from my followers has been the ability to permanently connect a script to an action.  
 (Note: This post is only slightly tongue in cheek)
Step 1: Go here:

Step 2: Enter this:
*****Bug Report*****
Steps to reproduce bug:

 1. Make a new Action
 2. Open Action panel fly-out
 3. Select "Insert menu Item"
 4. Insert the name of a custom script from the scripts folder.
 5. Stop recording, and test the new Action. It properly runs the script.
 6. Close, and re-open Illustrator.
 7. Run the Action... Watch it fail.

Step 3: Repeat as needed until it's fixed.

Seriously, do this at least once, and when it's finally fixed, you can claim that you played a part in making AI a better product. I'd totally put that on my resume. :)


antonio said...

nice rouse!

at first i was like.... (⌒▽⌒)☆ w00t

....then i was like (;¬_¬)

now I will sign a bug report.. (; ̄Д ̄)

later i will weep for a better Illustrator


Antory said...

Seems that Illustrator rescan scripts folder every time it starts and assign a unique id to every script he found there. And it's a random value once it happens. I think about possibility to create a palette with all scripts existing in scripts folder. Is it possible?

John said...

As a plugin, yes, probably... I don't know I don't write plugins, but Scriptbay does exactly that, and it has a lot of extra features like an in-palette editor. Check it out: http://in-tools.com/article/script-bay/script-bay-version-0-1-5/