Skip to main content
maciejkrol
Participant
March 2, 2014
Answered

How to disable save prompt of modified project when opening another from command line.

  • March 2, 2014
  • 1 reply
  • 1034 views

Hi,

I am opening several AE projects one by one from command line. However, I don't want AE to ask mi if I would like to save previously opened project when opening next one. Just don't save it and open the next one.

Currently I am using this syntax:

<path to FX exe> -project <path to the file with my project>

Is there any parameter that would surpress this warning or other way to do this? Thanks a lot!

This topic has been closed for replies.
Correct answer françois leroy

Hi!

You have to close your project before opening a new one.

To do so, use: app.project.close(closeOptions), with CloseOptions.DO_NOT_SAVE_CHANGES if you don't wish to save, or CloseOptions.SAVE_CHANGES if you do.

Cheers,

François

1 reply

françois leroy
françois leroyCorrect answer
Inspiring
March 3, 2014

Hi!

You have to close your project before opening a new one.

To do so, use: app.project.close(closeOptions), with CloseOptions.DO_NOT_SAVE_CHANGES if you don't wish to save, or CloseOptions.SAVE_CHANGES if you do.

Cheers,

François

maciejkrol
Participant
March 4, 2014

Thank you so much!

BTW. Do you know if there is any Scripting guide for AE CC?

françois leroy
Inspiring
March 5, 2014

You're welcome.

And I don't think there is a AE CC scripting guide (yet?)

You can look at this thread, see if there is any news:

http://forums.adobe.com/message/6136177

Cheers,

François