Skip to main content
Known Participant
June 30, 2024
Question

close Illustrator app in an action

  • June 30, 2024
  • 2 replies
  • 342 views

Hello,

I would like to include the close of Illustrator at the end of an action. But I get in German the message:

"Das Objekt Beenden ist zurzeit nicht verfügbar" (close command not available)

 

Is it possible at all? And how could I find a solution here?

(it's also ok to close manually, of course, but as there is this option, I would like to use it)

 

thank you

This topic has been closed for replies.

2 replies

Community Expert
July 3, 2024

@Asterixx Another alternative approach after it closes the file, open a new document, and then stop recording the action and then delete it.
For example:

  1. While creating your action, go ahead and close it
  2. Choose "create a new document"
  3. Locate the action, and stop recording
  4. Select 'New' Action and delete that action.

    This ensures the action runs smoothly after closing, completing the process effectively. 

    *Also you could prepare a new document in advance, so when it closes, there's no need to create one again. Either approach is effective.
AsterixxAuthor
Known Participant
July 1, 2024

I found out how to close the app by vba script, but you can't combine a script with an action, correct? At least I don't find the script option in the actions menu?

AsterixxAuthor
Known Participant
July 3, 2024

ok I found out: when you put a close of the document before the close of the app in the action, it does not work. if you save in the action and then close directly the app, then it works. Ok!