| View previous topic :: View next topic |
| Author |
Message |
TotalBalance
Joined: 22 Jan 2007 Posts: 205 Location: CO, USA
|
Posted: Fri Mar 27, 2009 11:07 pm Post subject: Help. Specific multi-letter hotkey combo to launch function. |
|
|
I'm writing a little April Fools script that, once they've hade enough, will exit and remove itself with a specific hotkey combo:: Win-EUR. It's a Ryder's Cup golf thing
In other words the WIN key + letters "EUR", in that order.
Is this possible? Getting the order right is what's most important.
Thx. in advance, _________________ Lars |
|
| Back to top |
|
 |
pajenn
Joined: 07 Feb 2009 Posts: 384
|
Posted: Fri Mar 27, 2009 11:34 pm Post subject: |
|
|
Look up the input key. The example below requires you to press WIN+E simultaneously, followed by UR within the next two seconds.
| Code: | #e::
Input, EU_key, T2 L2, {esc}, ur
if EU_key = ur
MsgBox April Fools!!
return |
Warning: #e is normally reserved for launching Windows Explorer. There are probably more elegant ways of doing this anyway that do not require simultaneity of win+e... _________________ Hardware: 1.8 GHz laptop with 4 GB ram, Windows XP/SP3
Software: Prevx, Privatefirewall, KeyScrambler. |
|
| Back to top |
|
 |
TotalBalance
Joined: 22 Jan 2007 Posts: 205 Location: CO, USA
|
Posted: Fri Mar 27, 2009 11:49 pm Post subject: |
|
|
That's great. I can definitely work with your example.
Thx. _________________ Lars |
|
| Back to top |
|
 |
|