Dynamic actions with app.doScript() method
Hi all,
With reference to Silly-V's post (Creating a dynamic action to use with app.doScript() method. ) on the same subject, I'm having an issue where Illustrator does not recognise the dynamically created action as compatible, when trying to load it to the Actions panel.
All the other steps are working fine. The .aia file is being created by the script, the hex code for the dynamic path is being generated via a function written into the script.
I've attached two versions of the Action file:
AI_direct_export.aia - the action as exported from AI before any editing or scripting;
Dynamic_script_created.aia - the dynamically created action
which to my eye there are no visible differences apart from Parameter 11 which is the Hex generated new file path.
I've also attached my script file - PNG_Design.jsx
I've only gone so far as playing the action in AI as I was building the script step-by-step from Silly-V instructions.
I'd be grateful for any advice or help on this. These boards have been really valuable for me over the past year so thanks for the help you've unknowingly passed on. Thanks to williamadowling for pointing me in this direction and Silly-V for the original idea.
Files are here if required: Firefox Send