bug in running installed jsx script as part of recorded actions

New Here ,
Jan 14, 2021 Jan 14, 2021

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).

TOPICS
Bug, Scripting

Views

51

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2021 Jan 14, 2021

Copy link to clipboard

Copied

LATEST

complement of information :
I'm on win10, using illustrator 25.1

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines