Moving the mouse pointer by script
Scott Rossi
scott at tactilemedia.com
Wed Feb 3 16:03:22 EST 2016
As Klaus said, screenMouseLoc is what you need.
In my case, I'd like to know how not only how to move the mouse, but to
drag an object via script as well. Obviously one can set the loc of the
object, but is there way to trick LiveCode into thinking the mouse is down
so that the standard actions of dragging and resizing can be accomplished
as well without having to do those actions by separate script?
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 2/3/16, 6:55 AM, "use-livecode on behalf of Roland Huettmann"
<use-livecode-bounces at lists.runrev.com on behalf of
roland.huettmann at gmail.com> wrote:
>Looking up lots of sites and messages, I could not find a way moving
>(dragging) the mouse pointer using a script.
>
>Or am I just blind?
>
>This is for an animation sequence... instead of the user dragging an
>object, the object is dragged using the mouse without user interaction -
>so
>the pointer is visually moving on the screen from A to B. The mouse
>pointer
>is just moving to some location doing some action and the user watching
>it.
>It should give a lesson to the user.
>
>A video can be made, but that is not what we intend to do. It should be
>real.
>
>Any suggestions?
>
>Roland
>
>I AM VERY HAPPY WITH 7.1. IT IS STABLE SO FAR: AND THAT IS MOST IMPORTANT
>TO ME.
>MANY THANKS TO THE DEDICATED ENDLESSLY WORKING TEAM IN GOOD OLD SCOTLAND.
>CHEERS TO ALL OF THEM.
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list