Page 1 of 1

app.quit() in startup folder

Posted: June 22nd, 2005, 8:00 am
by mads
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

Posted: July 6th, 2005, 10:48 pm
by Dan Ebberts
Did you try adding app.quit() to the end of your script?

Dan

Re: app.quit() in startup folder

Posted: January 13th, 2011, 1:25 am
by Stan
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?

Re: app.quit() in startup folder

Posted: January 13th, 2011, 4:25 am
by Paul Tuersley
I just put this script in my Startup folder and it worked as expected. Does it work for you?

Code: Select all

{
	app.quit();
}

Re: app.quit() in startup folder

Posted: January 14th, 2011, 3:22 am
by Stan
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?

Re: app.quit() in startup folder

Posted: January 15th, 2011, 5:38 am
by Paul Tuersley
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

Re: app.quit() in startup folder

Posted: January 17th, 2011, 2:31 pm
by lloydalvarez
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

Re: app.quit() in startup folder

Posted: January 18th, 2011, 2:27 am
by Stan
Bug reported!