Do you want the global loc. Also how often do you want it. You could send
yourself a message every 1/2 a second like.

on wheresMyMouse
        global tQuit
        if not tQuit then send wheresMyMouse to me in 1/2 seconds
        put the mouseScreenLoc
end wheresMyMouse

the tQuit is so it doesn't run away. Just set that to true when you want to
stop the handler.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Gaskin
> Sent: Saturday, 3 February 2001 12:37 AM
> To: [EMAIL PROTECTED]
> Subject: universal mouseMove?
>
>
> The mouseMove message is exactly what I'm looking for as a solution to
> something I'm working on, but with one drawback for my needs:  it is only
> sent when the mouse moves inside of a MetaCard window; once outside, the
> message is no longer sent.
>
> Any know a native MetaTalk way to trap mouse movement anywhere on the
> screen, even outside of MC windows, so long as MC is in front?
>
> --
>  Richard Gaskin
>  Fourth World Media Corporation
>  Multimedia Design and Development for Mac, Windows, UNIX, and the Web
>  _____________________________________________________________________
>  [EMAIL PROTECTED]                 http://www.FourthWorld.com
>  Tel: 323-225-3717           ICQ#60248349            Fax: 323-225-0716
>
>
>
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to