 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
omgoakley
Joined: 20 Nov 2009 Posts: 1
|
Posted: Fri Nov 20, 2009 3:35 pm Post subject: Macro for game |
|
|
Hi, I'm new to autohotkey but am impressed with how much time it can save me at work and in-game.
ATM i'm trying to work a script I think Might be right? i've only skimmed over the help sections and am going to delve deeper into them when I get back home but this is what I have so far
| Code: | +F2:
IfWinActive, Forsaken Ragnarok Online - forsaken-ro.net,
{
Loop 15
{
Send, {F2}
sleep 10
}
}
return |
the Idea is to press the F2 button 15 Times using I think would be the shit and f2 button? I figured it would work after run script but no such luck so either its right and i'm doing something wrong with the script or the other way round.
thank for any help in advance.
[Title edited. Please write descriptive titles for your topics. ~jaco0646] |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Fri Nov 20, 2009 3:40 pm Post subject: |
|
|
hotkeys need to have :: not just :
please use code tags in the forum, like this:
| Code: |
[code]
;your AHK code goes here
[/code]
|
Also, You probably need to put $ before +F2, so that when the script presses F2, it won't re-trigger your hotkey.
You might also want a keywait to wait for you to let go of the Shift key _________________
(Common Answers) |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|