Copy link to clipboard
Copied
Hello,
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).
Copy link to clipboard
Copied
complement of information :
I'm on win10, using illustrator 25.1
Copy link to clipboard
Copied
Hello,
I had the same issue. I can't explain it. Everything seemed to be correct, when I tried to play an action separately, the script worked fine but once arrived at the following action, the related script didn't work and I got the same Msgbox "Obeject "script_name" is currently not available".
This how I "solve" it:
1- I deactivate the "Play action" (toggle item on.off ) in all actions
2-If I want to play all the actions one by one from the beginning till the end: I check "step by step" in the "playback options". Then, I click on the parent "Set", and play.
3-I I want to play certain actions, I select them by "Shift+click" and then play them.
Copy link to clipboard
Copied
I had this issue and the only way I was able to get it to work was using "Button mode" found in the action options at the bottom (Hamburger menu icon). Hope this helps.
I dont know if this also did something but i included other action's steps into the action calling the script instead of calling the action itself.