We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Auto Quit (Read 679 times)
Auto Quit
May 1st, 2007, 9:40pm
 
Hi,

I would like to have an exported application auto-quit at 4PM. I plan to use an if statement on the hour function, so that bit is simple but is there a way of getting the app to close itself?

Many thanks,

Chris
Re: Auto Quit
Reply #1 - May 1st, 2007, 11:39pm
 
exit();
Re: Auto Quit
Reply #2 - May 2nd, 2007, 1:39am
 
Thanks JohnG.  

I had tried this in the PDE and it just paused the processing leaving the window open I should have imagined to try it as an exported application.
Page Index Toggle Pages: 1