Re: Moving the mouse pointer by script

2016-02-03 Thread BNig
script etc. movement is not super smooth but it moves. DragSpeed controls speed. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Moving-the-mouse-pointer-by-script-tp4700669p4700697.html Sent from t

Re: Moving the mouse pointer by script

2016-02-03 Thread Mike Bonner
nope, can't find it. If you have a handle on LCB you could try using com.livecode.foreign in lcb to set up a mousedown and mouseup. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Moving the mouse pointer by script

2016-02-03 Thread Mike Bonner
If I can find the code, somewhere around here I have an external that sends clicks. For my use I had it send a down and up, was using it as part of a remote control system. (so that I could run my computer, from my android device) If I can locate the code, it shouldn't be too hard to separate the

Re: Moving the mouse pointer by script

2016-02-03 Thread Scott Rossi
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 o

Re: Moving the mouse pointer by script

2016-02-03 Thread Roland Huettmann
Yes, that was the answer. Somehow I overlooked it. As a little starter for those who need it here is a little script. Without the wait command, the mouse movement is not visible. on mouseUp get the topleft of this stack add 10 to item 1 of it add 30 to item 2 of it put 1 into x p

Re: Moving the mouse pointer by script

2016-02-03 Thread Klaus major-k
Hi Roland, > Am 03.02.2016 um 15:55 schrieb Roland Huettmann : > > 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 o

Moving the mouse pointer by script

2016-02-03 Thread Roland Huettmann
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 vis