You can do it by using the Insert Menu Item from the Action panel flyout but be advised it will not survive a restart of AI.
Is there another better way? or a way to convert it to plugin or extension?
It disappears when I restart Illustrator and I want it to disappear :/
Thanks for your help!
The only way around this is to save the Action Set after making the action and then reload it after every restart of AI.
depending on your specific platform, a script to re-load your specific actions can be crafted.
Qwertyfly... was working on such a script.
The requirement of loading the action is having at some point of time revealed the File menu in Illustrator's menu bar.
Once this menu is shown, re-loading the actions in the actions panel properly shows the scripts within the actions.
However, another issue, I believe, is that through scripting we can't really tell how many actions are loaded into the panel or what their names are, we can just load and unload the ones whose names we already know, and are limited to only rudimentary ways of checking whether a named action exists.
In its most basic form, a re-loading script can be hardcoded with a path to seek actions in a special folder that you use to save action sets into for this purpose, and it can be placed into the File / Scripts menu so that by manually activating this item, the requirement of showing the file menu is satisfied. Now you just have to run this every time Illustrator restarts, once. To better it further, a platform-specific script can be used in conjunction with the Startup Scripts folder inside the application folder which could reveal the file menu and run the reloading script as if a user did it, when Illustrator starts.
If a platform-specific script can be launched from the startup folder, and it could trigger the file menu, then there should be an ability to just run the re-loading part without requiring this to be inside the File/Scripts folder.
A different and cumbersome approach could also be to make a custom script palette which could contain references to actions and scripts (this could be activated at startup and will not lose info like the Actions panel does) and you could have a view which lets you make a custom "script/action" set in a listbox where you can add items from a pool of found actions and scripts and also save these configurations in a saved settings file. Then instead of playing actions from the actions panel, you'd use this script-based palette to play your own creations of mixed script and action items. The script would be simply executed as a script via bridgetalk, and actions would be also loaded and played in the actions panel via a script which does this which also would be sent via bridgetalk. This kind of method would let you save and persist your custom action/script sets. The problem is that the scripts would have to be separate from the actions, so if one action played a script in the middle of it, it would need to be split into two different action items and the script part would need to be sandwiched into that. Also, even manual File-menu showing and reloading one time on restart to use the native reloading of actions in the actions panel is a very simple bit of effort that my laziness to work on what I described above outweighs my laziness not to manually reload.
Probably the best option is walking up to the front door at '345 Park Avenue. San Jose, CA' and asking for the inept people behind the failure to fix such a basic ongoing and widely discussed issue for a decade or better?
Recommend the installation script Bay app (http://in-tools.com/article/script-bay/script-panel-replacement-for-the-entire-creative-su ite/). In it you let your Active Scripting in the panel. So you can build your actions as scripts and let them view ..