I have an action with a stop command where user makes a selection before completing the rest of the action. I need this to run as a batch. The action works when running as a batch, however the stop command gets bypassed and the desired effect is not achieved.

Can I create a script to open all .ai documents in a folder and play the action on each doc one by one (close document is already at the end of the action) while keeping the stop command in place and functioning?

Or is there a way to separate the action and run it as two separate actions in the script with a app.executeMenuCommand('Selection Tool'); command in between?

Any help is much appreciated. Thank you in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.