TOTAL
Joined: 26 Sep 2007 Posts: 42
|
Posted: Sat Mar 29, 2008 3:15 am Post subject: CapsLock press-and-leave |
|
|
| Code: | ~F2::
MouseClick, left, 105, 558
MouseGetPos, xpos, ypos
MouseClick, left, 18, 206
SEND, {ENTER}
MouseMove, xpos, ypos, 0
return |
works well, but you have to hold F2
What about Pressing CapsLock [light on}, the subroutine operates in a loop untill you press CL again to release it [Light off]? |
|