Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for mouse movement - any
#7
Maybe the lef clicks the Run button.
But why to add 2 lef or mac in WaitForKeyOrMouse? If want to modify it, clone it and modify, then call from your macro.
Macro Macro333
Code:
Copy      Help
rep 100
,wait 0 CU IDC_HAND
,2
,lef
,WaitForKeyOrMouseClone
or if don't want to use WaitForKeyOrMouse, can create your wait function:
Macro Macro333
Code:
Copy      Help
rep 100
,wait 0 CU IDC_HAND
,2
,lef
,sub.WaitForMouseMove


#sub WaitForMouseMove
POINT p1 p2; xm p1
rep
,0.05
,xm p2
,if(p2.x!=p1.x or p2.y!=p1.y) break


Messages In This Thread
RE: Wait for mouse movement - any - by Kevin - 12-21-2019, 04:32 AM
RE: Wait for mouse movement - any - by Gintaras - 12-23-2019, 06:19 PM
RE: Wait for mouse movement - any - by Gintaras - 12-23-2019, 09:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)