Making Screensavers with Revolution
mike at cyber-ny.com
Mon Nov 24 17:28:50 EST 2003
I tried the mousemove method:
But it does not work on the Windows OS for a screensaver application (.scr).
The screensaver will launch from Windows but immediately quits as if you
moved the mouse... Even if the mouse is completely stationary.
It is my understanding that Windows handles all of the functions of a
screensaver made in the .scr format but your application has to have a
function that waits for the Windows message sent to it to know when to quit.
I need to know what that message name is or how it is implemented. I did
some searching around but haven't found anything yet...
> From: "Jim Lambert" <jiml at netrin.com>
> Reply-To: How to use Revolution <use-revolution at lists.runrev.com>
> Date: Mon, 24 Nov 2003 14:09:44 -0800
> To: <use-revolution at lists.runrev.com>
> Subject: RE: Making Screensavers with Revolution
> <I am making a screensaver for Windows OS by changing the ".exe" extension
> my Rev Standalone to ".scr". It works great and displays as expected>
> <but it does not quit after a mouse movement or key command. Does anyone
> know the
> function or call sent out by Windows to the .scr to trigger the screensaver
> to quit?>
> Isn't it the responsibilty of your app to quit if a key is pressed or the
> mouse moves, rather than the OS'?
> Maye you just need:
> on mousemove
> end mousemove
> on keydown whichKey
> -- and maybe a pass in here someplace
> end keydown
> jim lambert
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/03
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode