Repositioning mouse cursor

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Josh
Posts: 46
Joined: Sat Jan 12, 2008 6:42 am

Repositioning mouse cursor

Post by Josh » Wed Jun 25, 2008 6:54 am

Hi all,

I can't find the solution in any documentation nor online, but I want to recenter the cursor periodically (i.e., after each trial of an experiment I'm scripting). Any suggestions would be appreciated. I can't assign screenLoc to mouseLoc as both are functions.

Josh

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Jun 25, 2008 7:52 am

Hi Josh,

set the screenMouseloc to x,y

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Josh
Posts: 46
Joined: Sat Jan 12, 2008 6:42 am

Always helpful

Post by Josh » Thu Jun 26, 2008 7:23 am

Thanks Mark!

Post Reply