i have a spot in a macro where i would like it to wait until the left mouse button is pressed...then run the next stage of the macro(looped) until the left button is released.
is there a way to do this? its the wait until mouse is pressed part im not able to do.
also is there an option to move the mouse to a position relative to its last position? (not relative to window)... say like 30 pixels down from its last place
thanks in advance for any help!
(after asking the mouse relative question i think i figured out how to do it....by using the "get cursor position" and "let" functions)
wait for for ldown?
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Use the WaitKeyDown function. The left mouse button is virtual key code 1:
//Wait for lclick ...
WaitKeyDown>VK1
//Wait for lclick ...
WaitKeyDown>VK1
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?