-
Simple autoit question regarding wow: spam 1 key macro?
How does a very simple autoit macro look like to press spam one button every 0.5sec over and over again?
-
★ Elder ★
-
Post Thanks / Like - 1 Thanks
Sephiroth (1 members gave Thanks to sed- for this useful post)
-
Originally Posted by
sed-
yeah I have found very similar ones and most of them give me an error when loading. Or do not work ingame. I have no experience with programming but I assume every macro needs to be set specifically for (in this case) world of warcraft, to function, am I right?
for example:
HotKeySet("1","pause")
Func pause()
$Paused = NOT $Paused
While $Paused
sleep(100)
WEnd
EndFunc
does nothing
the other one I use is
$r = Random(240000, 300000) ; Assigning random sleep value of $r to 4-5 minutes
While 1
$wow = WinGetHandle("World of Warcraft") ; Setting up control for WoW
ControlSend($wow, "", "", "{8}") ; Jumping
Sleep($r) ; Waiting 4-5 minutes until next jump
WEnd
but I did not made it. This works fine. How do I rewrite this into a spaming one?
Last edited by crunk001; 10-03-2015 at 06:41 AM.
-
Post Thanks / Like - 1 Thanks
Sephiroth (1 members gave Thanks to crunk001 for this useful post)
-
Active Member
This works fine. How do I rewrite this into a spaming one?
While 1
$wow = WinGetHandle("World of Warcraft") ;
ControlSend($wow, "", "", "{8}") ;
Sleep(100) ;
WEnd
Just change the sleep to something low. 1000 = 1s
-
Post Thanks / Like - 1 Thanks
crunk001 (1 members gave Thanks to Creepwalker for this useful post)
-
You can just use _keySpam, a program written by my old friend, DrakeFish. http://www.ownedcore.com/forums/worl...er-v1-2-a.html (_keySpam: Timed Keys Sender v1.2) It was released a long time ago but still works perfectly.
Last edited by Confucius; 10-06-2015 at 08:02 PM.
Reason: Updated version
-
Post Thanks / Like - 1 Thanks
Sephiroth (1 members gave Thanks to Confucius for this useful post)