Hi,
I want to start another hotkey with my first hotkey but it just writes 2 instead of starting the second usehook, se example below
Example:
#UseHook
return
1::
send, 1
sleep, 92
send, abc
sleep, 105
send, 2 <---- i want this send 2 to start the usehook below how do i do that?
return
#UseHook off
#UseHook
return
2::
send, 2
sleep, 92
send, dfg
return
#UseHook off
I want to start an other usehook with my first usehook
Re: I want to start an other usehook with my first usehook
Thx taht works but it didnt solve my real problem.
The thing i wanna be able to do is to push 1 again and restart the usehook 1 again before usehook 2 is finnished. the real usehook 2 is a minute or so long and now i cant push the 1 button again until that is finnished.
The thing i wanna be able to do is to push 1 again and restart the usehook 1 again before usehook 2 is finnished. the real usehook 2 is a minute or so long and now i cant push the 1 button again until that is finnished.
Re: I want to start an other usehook with my first usehook
Code: Select all
#MaxThreadsPerHotkey 2
$1::
two := False
Send 1
Sleep, 92
Send abc
Sleep, 105
Gosub, $2
two := False
Return
$2::
two := True
Loop, 5 {
Send 2
Sleep, 92 * two
Send % two ? "dfg" : ""
} Until !two
Return
Who is online
Users browsing this forum: No registered users and 57 guests