AutoHotkey Community

It is currently May 26th, 2012, 4:35 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: March 28th, 2009, 12:07 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
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 :twisted:

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 28th, 2009, 12:34 am 
Offline

Joined: February 7th, 2009, 11:28 pm
Posts: 384
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 28th, 2009, 12:49 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
That's great. I can definitely work with your example.
Thx.

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, notsoobvious, SKAN, tterB, Yahoo [Bot] and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group