| View previous topic :: View next topic |
| Author |
Message |
workingclay Guest
|
Posted: Tue Feb 09, 2010 4:34 pm Post subject: how to make any key a hotkey |
|
|
This is probably something super simple that I'm missing, but how can I activate a hotkey by pressing any key or clicking any mouse button.
the idea:
(wildcard)::Send#p
#p::msgbox,you hit a key
Thanks |
|
| Back to top |
|
 |
aaffe
Joined: 17 May 2007 Posts: 1002 Location: Germany - Deutschland
|
Posted: Tue Feb 09, 2010 5:08 pm Post subject: |
|
|
| Code: | Input,XX,L1
MsgBox You pressed %XX% |
|
|
| Back to top |
|
 |
workingclay Guest
|
Posted: Tue Feb 09, 2010 7:16 pm Post subject: |
|
|
| Thanks for the help. That works for keyboard input but how about mouse clicks? |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Feb 09, 2010 8:02 pm Post subject: |
|
|
| Code: | ~Lbutton::
~Rbutton::
~Mbutton::
msgbox
return |
|
|
| Back to top |
|
 |
|