Skip to main content
Inspiring
November 12, 2021
Answered

Toggle Action Sets - Activating and Deactivating Action Sets w/o having to Remove and/or Reload them

  • November 12, 2021
  • 2 replies
  • 253 views

I work in an environment where we have different Actions Sets for each Product Workflow.  Right now we either have multiple Action Sets loaded which bloats our action panel and limits the mapping of Function Keys, or we have to Remove our current Action Set before Loading the needed actions set in order to retain the mapped Function Keys.

 

We (my coworkers and I) would love it if there was a way to easily toggle between Action Sets, essentially activating and deactivating.  This way we could avoid having to Load - Remove - Load New based on workflow, while retaining the mapped Function Keys for each Action Set

 

Thank you for your time and consideration!

This topic has been closed for replies.
Correct answer Kernzy

This can be done with a combination of 

    try {app.unloadAction('(Action Set Name)','');}
        catch(e){;}
    }

and 

app.loadAction (new File('(Action Set filepath)'));

2 replies

Kernzy
KernzyCorrect answer
Inspiring
January 3, 2023

This can be done with a combination of 

    try {app.unloadAction('(Action Set Name)','');}
        catch(e){;}
    }

and 

app.loadAction (new File('(Action Set filepath)'));
Ton Frederiks
Community Expert
Community Expert
November 12, 2021

Bryan, the best place for this feature request is here:

https://illustrator.uservoice.com