Then why don't you write a wrapper .scr file? AFAIK .scr files are simple windows executables named like that.
| [reply] |
While .SCR files are indeed just .EXE files with a funny name, they must not implement a normal Windows event loop. Instead, they must use certain Windows APIs to just handle certain screensaver-related messages, and the real event loop is inside Windows. Screen savers act more like .DLLs filled with callbacks, than executable applications which form a whole event loop.
Unfortunately, this also implies certain limitations when using other Windows constructs, and may make it hard to embed a Perl interpreter. I'm not saying it can't be done, I am saying that I expect there would be some interesting learning required to make it work 95% of the time...
-- [ e d @ h a l l e y . c c ]
| [reply] |
Get the Tk::LockDisplay module.
I'm not really a human, but I play one on earth.
flash japh
| [reply] |