AutoHotkey Community

It is currently May 27th, 2012, 2:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: February 9th, 2010, 5:34 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2010, 6:08 pm 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Code:
Input,XX,L1
MsgBox You pressed %XX%


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2010, 8:16 pm 
Thanks for the help. That works for keyboard input but how about mouse clicks?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2010, 9:02 pm 
Code:
~Lbutton::
~Rbutton::
~Mbutton::
msgbox
return


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Alpha Bravo, Google [Bot], LazyMan, rbrtryn and 26 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