all i basically want to do is run them at the same time
like with 1 hotkey
in the current scripts i use multiple hotkeys
even if it cannot be combined can someone help me run the scripts with the same toggle hotkey
thanks in advance(if u help)
Script 1:
Code: Select all
#MaxThreadsPerHotkey 3
NumpadHome::
#MaxThreadsPerHotkey 1
if keep_winz_running = y
{
keep_winz_running = n
return
}
; Otherwise:
keep_winz_running = y
Loop,
{
MouseClick, right
Sleep, 20 ;This means the script will wait 1.5 secs
if keep_winz_running = n ; The user signaled the loop to stop.
break ; break out of the loop
}
Script 2:
Code: Select all
NumpadUp::
KeyDown := !KeyDown
If KeyDown
SendInput {s down}
Else
SendInput {s up}
If KeyDown
SendInput {d down}
Else
SendInput {d up}
return
Script 3:
Code: Select all
#maxthreadsperhotkey 2 ;*1
NumpadPgUp:: ;2
{
toggle:=!toggle ;*3
while, toggle ;*4
{
send, {space down}
sleep, 50
send, {space up} ;*5
sleep, 1800 ;*6
}
}
return ;*7
i am not the maker of these scripts i have just edited them to my needs