#ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
{
; The following script is run when the user presses the '1' key
; and will loop until the 1 key is no longer pressed, sending
; 1 over and over every delay miliseconds. To use a different
; key, replace all three 1s with the key you want repeated.
delay:=95
$1::
Loop
{
if not GetKeyState("1", "P")
break
Send 1
Sleep delay
}
Could u make that into a Toggle instead of hold down spam.
Need help with Switching to Toggle. Topic is solved
Re: Need help with Switching to Toggle.
If you didnt see it https://autohotkey.com/boards/viewtopic ... 18&t=51729jpnzpr0digy wrote:#ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
{
; The following script is run when the user presses the '1' key
; and will loop until the 1 key is no longer pressed, sending
; 1 over and over every delay miliseconds. To use a different
; key, replace all three 1s with the key you want repeated.
delay:=95
$1::
Loop
{
if not GetKeyState("1", "P")
break
Send 1
Sleep delay
}
Could u make that into a Toggle instead of hold down spam.
Who is online
Users browsing this forum: vikasgandhi and 72 guests