| View previous topic :: View next topic |
| Author |
Message |
Newbie_01 Guest
|
Posted: Tue Jan 05, 2010 4:27 am Post subject: Macro for game |
|
|
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
|
Posted: Tue Jan 05, 2010 7:07 am Post subject: |
|
|
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 |
|
 |
Niebie_01 Guest
|
Posted: Tue Jan 05, 2010 1:43 pm Post subject: tnx |
|
|
| tnx i'll try pls do visit this thread maybe i'll have some more question if you dont mind |
|
| Back to top |
|
 |
|