Mouse move

Dar Scott dsc at swcp.com
Tue Jan 25 16:36:48 EST 2005


On Jan 25, 2005, at 1:57 PM, Paul Salyers wrote:

> is there an command to have:
>
> if mouseMove > 5 then

I'm guessing at what you want...

Look at the screenMouseLoc property.

It is a pair of numbers.

Script like this:  Get the x and y coordinates of the mouse location.  
Periodically get it again and see if either of the new x or y is 
greater than some amount from the original value.

Best wishes on your screen saver.

Dar

**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming Services and Software
**********************************************



More information about the use-livecode mailing list