app.quit() in startup folder

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
mads
Posts: 33
Joined: October 15th, 2004, 6:38 am
Location: Denmark
Contact:

I knowhow to start after effects with windows scheduled tasks tho run a script from the startup folder
.
but I dont know how to quit after effects when my startup scripts is finished
if I use:
app.quit()
in a start folder script After effects chrashes And i get a error dialog i have to munually click

any suggestions ??
-mads
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

Did you try adding app.quit() to the end of your script?

Dan
Stan
Posts: 3
Joined: January 12th, 2011, 2:31 am

I have tried the same thing, and I've found that if I use such a script in the startup folder, AE doesn't quit.

But if i run it through the editor or open it in AE, my script does the things I want it to do, which ends with AE quitting.

Any suggestions on how to make it work?
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

I just put this script in my Startup folder and it worked as expected. Does it work for you?

Code: Select all

{
	app.quit();
}
Stan
Posts: 3
Joined: January 12th, 2011, 2:31 am

I've tried it, and it didn't work on my Mac.
But then I tried it on a PC and it worked!

I did another try on AE CS4, and it worked perfectly on my Mac...

I'm normaly working on AE CS5, so maybe it's a CS5 problem, but only on Mac?
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

I've just tried it on CS5 too and can confirm it doesn't work for me on CS5 Mac either. Looks like a bug.

Paul
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Please file a bug at http://adobe.com/go/wish/

The more people that report the problem the more likely it is that it will be fixed.

-Lloyd
Stan
Posts: 3
Joined: January 12th, 2011, 2:31 am

Bug reported!
Post Reply