AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Macro for game

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Newbie_01
Guest





PostPosted: Tue Jan 05, 2010 4:27 am    Post subject: Macro for game Reply with quote

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]
Back to top
Sergio



Joined: 16 Mar 2008
Posts: 160
Location: Brooklyn

PostPosted: Tue Jan 05, 2010 7:07 am    Post subject: Reply with quote

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

_________________
Back to top
View user's profile Send private message
Niebie_01
Guest





PostPosted: Tue Jan 05, 2010 1:43 pm    Post subject: tnx Reply with quote

tnx i'll try pls do visit this thread maybe i'll have some more question if you dont mind
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group