Skip to main content
September 27, 2010
Question

1.Assign shortcuts to scripts 2. Actions remember insert menu commands when app is started

  • September 27, 2010
  • 33 replies
  • 39665 views

It been ask before... Many times.  There is probably a current request right now.   It will be asked again... And again... And again...  Under keyboard shortcuts, allow scripts to assigned a shortcut.  Also have actions remember insert menu commands when the application is restarted.   Was patiently waiting years ago... Now I am starting to grit my teeth. When my dentist lectures me over grinding my teeth, she will not be as forgiving as I have been over the years.   It is time to set a small portion of available resources to fix and add functionality to this.

    This topic has been closed for replies.

    33 replies

    Participant
    October 24, 2017

    Finally!

    In Illustrator 2018 windows, when I assign a custom script to an action and then close Illustrator and re-open it the action retains the script. This was not true in previous versions.

    This means you can now assign a script to an action and then assign a keyboard shortcut to the actions and it will still work when you re-boot Illustrator.

    Participating Frequently
    August 30, 2017

    Why are they doing this to us?

    c.pfaffenbichler
    Community Expert
    Community Expert
    August 30, 2017

    Maybe I misunderstood your question:

    • Are you asking why somebody would want to be able to trigger a Script via a Keyboard Shortcut?

    • Are you asking why somebody would want to be able to include a menu item in an Action and have it remain there after restarting?

    ShivendraAgarwal
    Participating Frequently
    July 31, 2017

    This bug has been fixed. You can find Scripts retained in Actions post relaunch in recent pre-release builds.

    https://forums.adobeprerelease.com/illustratorpr/discussion/comment/3459#Comment_3459

    Adobe Employee
    July 10, 2017

    This original issue has been fixed and should be available in the next update of Illustrator.

    Silly-V
    Legend
    July 16, 2017

    Wow nice, can't wait!

    Participating Frequently
    November 11, 2016

    (if not already mentioned here) for me this video was the solution: Setting a hotkey for illustrator script in automator - YouTube

    c.pfaffenbichler
    Community Expert
    Community Expert
    December 29, 2016

    Thanks for a Mac-solution.

    To me it seems the Illustrator team’s (or maybe rather Adobe management’s) performance is disappointing (to use a very mild term) to necessitate using such a process to circumvent a bug.

    Inspiring
    December 29, 2016

    On the subject of keyboard shortcuts for scripts:

    An alternative solution would be to provide a palette of available scripts. This was proposed two years ago by vliff, who mentioned the example set by the Scriptographer extension. Scriptographer only works as far as AI CS5, and (sadly, because it's a great extension) is something of a dead end. Here's an example of what it provides:

    You select objects on the page, click the required script in the palette, and the script runs. What could be easier? You could include far more scripts than could be covered by keyboard shortcuts, and maybe (as above) group related scripts in folders.

    I have already approached Astute Graphics in the UK, who produce lots of AI plug-ins, to ask if they would consider creating a Script Palette. Regrettably they declined, but only because they don't see scripting as their thing.

    But to anyone who knows how to write AI plugins, surely this would be a fairly simple job? This forum could agree a specification. And I – and probably many others too – would happily pay for a copy.

    3286849
    Participant
    August 18, 2016

    Hi everyone in case you haven't already this form: Illustrator Feature Request/Bug Report Form  is where i have been directed to by support so lets continue to fill this out until something is done.

    c.pfaffenbichler
    Community Expert
    Community Expert
    August 19, 2016

    I have reported the issue with said form on several occasions.

    Is more than a decade really not enough time for fixing what looks like a simple bug to a layman – or is referencing a jsx file in a atn-file simply impossible for some reason?

    I know that »the people programming this obviously do not use it themselves« is not a likely assumption in general but Illustrator’s strange shortcomings (having some worse path handling features than Photoshop for example) and remarkable bug-not-fixing performance (edited) seem flat-out astonishing.

    Silly-V
    Legend
    August 19, 2016

    I made a quick script which at least helps reload the actions when they are in a specific folder, so that the script menu items will show again. It works by manually selecting this script from File > Scripts, which by definition shows the Script menu, which makes the menu items work in actions down the road- and since the script reloads all actions, it saves those clicks.

    Only works in CS6+

    Re: Actions: "Insert Menu Item" Script still not saving CS6

    c.pfaffenbichler
    Community Expert
    Community Expert
    August 4, 2015

    Illustrator 19.1.0 is here – unsurprisingly more than a decade of the Scripts-in-Actions bug has apparently still not been deemed enough to merit the attention it would take to fix it …

    c.pfaffenbichler
    Community Expert
    Community Expert
    July 10, 2016

    Illustrator 2015.3.0 – chalk up another one for the bug.

    Inspiring
    July 11, 2016

    My workaround has been to use Keyboard Maestro to trigger Illustrator scripts and just ignore Actions.

    Admittedly, script users are a select audience, but the features are there to save an Action that triggers a script - so it's a bummer that the Action disappears when I close the program. It seems it wouldn't be too hard of a bug to fix. Bigger fish to fry I suppose. Still, it'd be cool to fix it, Adobe .

    Inspiring
    June 17, 2015

    I discovered this bug with Illustrator 2014, and it is an irritating one that seems to be persisting with the program. As described in this thread, I record my script menu action, set up the hotkey, save it and then it's gone on reboot. Very frustrating.

    Qwertyfly___
    Legend
    June 17, 2015

    Workarounds...

    Silly-V‌ put a good palette together, very much worth a look.

    ScriptUI window.minimized = true; on Mac

    another option I have explored, and I use. not perfect but works.

    setup and auto script to run on illustrator start.

    it deletes your action set, then activates the file menu, then reloads the action set.

    I do need someone familiar with applescript to add some code for the macsters, right now it only works on pc.

    also note that welcome screen can cause it to fail, along with opening illustrator by opening a file.

    for best results open illustrator and let it go for a min before opening files etc.

    Is there a way to clear or delete actions through scripting?

    c.pfaffenbichler
    Community Expert
    Community Expert
    June 16, 2015

    Illustrator CC 2015 is here and apparently the bug concerning Scripts in Actions has been maintained …

    When I have made mistakes myself I certainly prefer people not harping on about it but if a decade is not enough time for the Illustrator team to fix one particular bug that seems kind of deliberate and somewhat offensive.

    I don’t claim to be able to judge how difficult and time-intensive it would be to fix this bug but I have difficulties imagining that it is impossible to fix.

    Participant
    May 11, 2015

    Bahaha — I just replied with my clever solution, and realized that the second part of this thread is about the Insert Menu Command being dropped between restarts. That's due to the loading order of scripts and actions, I'd guess — actions get loaded first and those menu items don't exist yet, so they get dropped.

    My fall-back solution, on a Mac anyway, has been the ol' CMD+SHIFT+? shortcut to open app-specific spotlight, and then just type the name of the script you want to run. It's nowhere near as elegant as a keyboard or mouse shortcut, but it's better than having to manually click through those menus and eyeball the script you want.

    — Aaron