Skip navigation
mdwmdwmdw
Currently Being Moderated

CS5 - Running Script with Action. Not saving problem

Aug 19, 2010 6:48 AM

I am trying to setup an action that runs a script using the "Insert menu item" command.

 

It all works perfectly but when I quit Illustrator and re0open it, the action has disappeared.

 

Is this a bug or am i doing something wrong?

 
Replies
  • Currently Being Moderated
    Aug 19, 2010 7:03 AM   in reply to mdwmdwmdw

    Oh, it's a bug!

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 19, 2010 7:53 AM   in reply to mdwmdwmdw

    This bug has existed, been reported, complained about, and unaddressed for 5 versions now.

     

    JET

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 19, 2010 1:24 PM   in reply to JETalmage

    Actually, unaddressed for 6 versions now. That's the truth, unfortunately.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 19, 2010 10:02 AM   in reply to mdwmdwmdw

    One workaround I use for this problem is to save the working action script by using the "Save Action" command before quiting Illustrator.

    When I launch Illustrator next time, I first manually run a script which basically does nothing (it shows an alert confirming that it made the script menu known to Illustrator - I can send you this script if you want) and then I reload the previously saved Action script by using the command "Replace Actions...".

    franK

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 19, 2010 11:09 AM   in reply to fklatil

    Similar workarounds have been suggested many times (including myself). It works for me, though I don't have to run any script before importing the saved action sets.

     

    Other users, however, reported that this workaround definitely does not work on their machines. Seems as if it is no general solution.

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2011 3:10 AM   in reply to Kurt Gold

    Additional info (no solution):

     

    Could have something to do with the order Illustrator registers available scripts as menu commands and checking validity of action 'menu commands'.

     

    Try this:

     

    - Look in the File/Scripts menu and note down a scriptname in there;

    - Exit Illustrator;

    - Start Illustrator

    - Create a new action

    - In the Action Panel flyout menu chose 'Insert Menu Item...' - a Find dialog should open

    - In the textbox enter the scriptname you dotted down and press Find

     

    It tells you 'No menu item matching that name was found.'

     

    - Press OK, then Cancel;

    - Goto File/Scripts but don't select a script, close the menu

     

    now again

     

     

    - Create a new action

    - In the Action Panel flyout menu chose 'Insert Menu Item...' - a Find dialog should open

    - In the textbox enter the scriptname you dotted down and press Find

     

     

    Now it could be found..

     

    So it seems that when Illustrator starts:

     

    Initializes without registering the available scripts as available menuitems

    When the actions are loaded and in it is a Menu Command, it checks if that command is actually available - if not it deletes the action item

     

    After accessing the scriptmenu the scripts are indeed registered as available menuitems..

     

     

    So now if they would only register the scriptnames before loading the actions when starting Illustrator it would be solved. Or of course disable checking action commands for validity.

     

    Sure hope they solve this soon as I can imagine it affects a lot of people.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2011 10:05 AM   in reply to Jaxiter

    To sum up:

     

    Seems the quickest workaround is:

     

    1. Start Illustrator.
    2. Click the File menu and choose Scripts.
    3. Load your Actions, using the Actions palette's menu.
    4. Repeat, because the first time you load your Actions, it doesn't load the Actions' keyboard assignments.

     

    This must be done each time you start Illustrator.

    That works on my Mac with AI CS5.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points