AutoHotkey Community

It is currently May 27th, 2012, 1:03 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Macro for game
PostPosted: January 5th, 2010, 5:27 am 
can u help me
the script i want to do is
for games

if i press a "f5" key it will send 123q
if i press a "f6" key it will send 126q
if i press a "f7" key it will send 132q

something like that? can any one help me please

[Title edited. Please write descriptive titles for your topics. ~jaco0646]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 5th, 2010, 8:07 am 
Offline

Joined: March 16th, 2008, 6:48 pm
Posts: 161
Location: Brooklyn
Yes. It's actually very easy. Anything after the semicolon ( ; ) is a comment and is not read by AutoHotKey. It is there for your understanding

Quote:
F5:: ; - - - Remaps the F5 Key
Send, 123q ; - - - Sends the keystrokes 123q
return ; - - - Stops the hotkey from running further commands

F6::
Send, 126q
return

F7::
Send, 132q
return

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: tnx
PostPosted: January 5th, 2010, 2:43 pm 
tnx i'll try pls do visit this thread maybe i'll have some more question if you dont mind


Report this post
Top
  
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: Leef_me, WillTroll, Yahoo [Bot] and 30 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