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.
IndexProgramming Questions & HelpIntegration › How to get processing to automatically run a sketc
Page Index Toggle Pages: 1
How to get processing to automatically run a sketc (Read 670 times)
How to get processing to automatically run a sketc
Feb 4th, 2010, 5:21pm
 
I know that I can put Processing into my Windows startup folder and then on a fresh boot it will launch Processing.

How can I then get processing to automatically run the default sketch that opens (the last one that was being edited).?

The other option is to export it as an application and run that but I have found the exported application of my sketch to freeze at random times while the sketch version runs fine.
Re: How to get processing to automatically run a sketc
Reply #1 - Feb 4th, 2010, 6:45pm
 
Probably best to address the random freezing issue if possible.  Does your java console show anything during those freezes?

If there are slight pauses every few seconds, you might be seeing the effect of Java's garbage collector.  If that's the case, it may help to decouple your timing and rendering logic.
Page Index Toggle Pages: 1