Hi all,
I'm working on a full-screen installation.. it's basically an (interactive) sign in a retail store, so it needs to be turnkey, i.e. start up automatically when the computer boots up in the morning, and remain in full-screen mode permanently thereafter. The system is Windows XP Pro SP2.
I'm using code like this, doing "Export application", and putting an alias to the application in the Startup folder.
Code:static public void main(String args[]) {
PApplet.main(new String[] { "--present", "--display=1", "--present-stop-color=#000000", "Censor" });
}
It works really well, except that a few hours later I'll come back and the program will be minimized to the task bar. It's still working when I restore it.
I think what's happening is some other process on the computer is coming to the foreground briefly; and Processing's present mode seems to permanently minimize itself whenver it loses focus. I'm not sure what this other process is, maybe it's a virus scan or a wireless networking notification or something of that nature. Whatever it is it's gone by the time I come back.
Can anyone think of a way to prevent Processing from doing this? i.e. not to ever give up the focus, or not to minimize and instead to keep running full-screen even when another app takes the focus for a bit? Or failing that, a way to restore the app periodically in the event that it has minimized itself?
Thanks for any advice,
Dan Michaelson
linkedbyair.net