I developped a script named Corius_MultiPDF-Exporter. I installed it in the illustrator preset/scripts folder and it is accessible in menu File>Scripts. I can record an action to launch this script, but it runs only if it's the first played step : - This record doesn't work and return a "The object <ScriptName> is not currently available" when getting to my script : RecordedActionSet - play another recorder action set - save document - Corius_MultiPDF-Exporter (recorded with "insert Menu Item") if I select the step calling my script and play it, then the script is launched without issue. If i change the steps order in this recorded action set and place the call to my script in first, the whole record set runs smoothly. But as soon as their is previous steps, the error object not currently available occurs.
If I just remove the call to my script from the recorded action set, and play the set, then running my script from File>Script, my script runs smoothly. (meaning the previous steps have no impact on my script integrity or ability to performs its own actions).