I am trying to do something in a game that requires me to press and hold on to ctrl and click continuously. I am new to this so I came up with this script.
label>start
press ctrl
Wait>1.00
lclick
Goto>start
label>end
When I tested it, for some reason instead of staying in the same place and clicking, the mouse keeps flying around even tho I put in no mouse move commands. Another problem is that i can't use shift+esc to stop the macro because ctrl shift and esc will make task manager pop out.
help...
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
You probably need to SetFocus>WindowName* before you do your mouse activities. And you need to move your Start after pressing the Control Key.
Note there will be no way to get out of this macro unless you do Shift-Esc to break the macro.
Results could look something like this:
Note there will be no way to get out of this macro unless you do Shift-Esc to break the macro.
Results could look something like this:
SetFocus>WindowName*
Press CTRL
Label>Start
Wait>1.00
Lclick
Goto>Start
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!