Hi all, I'm new to autohotkey and been spending awhile to figure a script and trying to get it working but I failed... I'm looking for some kind assistance..
I want a script to auto hit 1 then 2 then 3 with 20ms delay between each intervals when holding down SHIFT+Z (Hotkey) and release to stop.
One issue to worry about is that the SHIFT key has got it's function in game (D3) and I don't want it to be overwritten.. do I need to add some command to ignore modifier presses and also to prevent the overwriting issues?
Sorry if I didn't make things clear or explain it well and thanks alot for your time.
pls help with key spam... im new
Started by
nz1222
, Jul 17 2012 05:14 AM
5 replies to this topic
#1
nz1222
Posted 17 July 2012 - 05:14 AM
#2
Posted 17 July 2012 - 06:14 AM
Hey nz1222
You can also use something like the The Toggle: from the The definitive autofire thread!
And just fill
But Ofc. you can also modify something like the The Hold-Down: or the The Self-Sender: if you like...
Hope it helps
You can also use something like the The Toggle: from the The definitive autofire thread!
And just fill
send, 1 sleep, 20 send, 2 sleep, 20 send, 3 sleep, 20insted of
Click
Send a
sleep 100 This way you just hit the hotkey to start and then again to stop But Ofc. you can also modify something like the The Hold-Down: or the The Self-Sender: if you like...
Hope it helps
#3
nz1222
Posted 17 July 2012 - 06:41 AM
Thanks for the reply blackholyman.. Im trying some script (copied from some other thread)..
+z::
While GetKeyState("+z", "P") { ; must hold space
Random, time, 100, 200
Send, 123
Sleep, %time%
}
KeyWait, Space
Return
It works just fine as intended but the original SHIFT key function (Force Stand Still) in game got overwritten and my char isnt forced to stand still anymore when I hold down "SHIFT+Z" and left click (stand still to cast spell)..
How could I fix this?
Thanks again
+z::
While GetKeyState("+z", "P") { ; must hold space
Random, time, 100, 200
Send, 123
Sleep, %time%
}
KeyWait, Space
Return
It works just fine as intended but the original SHIFT key function (Force Stand Still) in game got overwritten and my char isnt forced to stand still anymore when I hold down "SHIFT+Z" and left click (stand still to cast spell)..
How could I fix this?
Thanks again
#4
Guests
Posted 17 July 2012 - 06:45 AM
It should be
+z::
While GetKeyState("z", "P") {
Random, time, 100, 200
Send, 123
Sleep, %time%
}
KeyWait, Space
Return
How could i fix the probelm on the above post?
+z::
While GetKeyState("z", "P") {
Random, time, 100, 200
Send, 123
Sleep, %time%
}
KeyWait, Space
Return
How could i fix the probelm on the above post?
#5
Posted 17 July 2012 - 07:07 AM
Hmm you can trie something like this
The
Also there is no need for the
Hope it helps
~+z:: and se if that helpsThe
~ prefix, When the hotkey fires, its key's native function will not be blocked (hidden from the system).Also there is no need for the
KeyWait, Space line in your script as you don't seem to use the spacebarHope it helps
#6
nz1222
Posted 17 July 2012 - 08:16 AM
wow it works now by putting ~ in front.
Thanks alot blackholyman
Thanks alot blackholyman




