Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

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

New Here ,
Mar 02, 2014 Mar 02, 2014

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!

TOPICS
Scripting
896
Translate
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

correct answers 1 Correct answer

Enthusiast , Mar 02, 2014 Mar 02, 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

Translate
Enthusiast ,
Mar 02, 2014 Mar 02, 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

Translate
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 ,
Mar 04, 2014 Mar 04, 2014

Thank you so much!

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

Translate
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
Enthusiast ,
Mar 04, 2014 Mar 04, 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

Translate
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 ,
Mar 06, 2014 Mar 06, 2014
LATEST

Thanks again

Translate
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