i want to create the effect of spamming a key in addition to toggle right click down (and toggle up) with the same hotkey.
How do i go about it ?
toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved
Re: toggle <<<<"right click down+spam diff key">>>>> with same hotkey
1:: ; 1
#MaxThreadsPerHotkey 1
if KeepWinZRunning ;
{
KeepWinZRunning := false ;
return ;
}
; Otherwise:
KeepWinZRunning := true
Loop
{
click right
sleep 50
send A
if not KeepWinZRunning ;
break ;
}
KeepWinZRunning := false ;
return
i can do right click+'A' spam with this code , but i want to do hold down right click+'A' spam
#MaxThreadsPerHotkey 1
if KeepWinZRunning ;
{
KeepWinZRunning := false ;
return ;
}
; Otherwise:
KeepWinZRunning := true
Loop
{
click right
sleep 50
send A
if not KeepWinZRunning ;
break ;
}
KeepWinZRunning := false ;
return
i can do right click+'A' spam with this code , but i want to do hold down right click+'A' spam
Re: toggle <<<<"right click down+spam diff key">>>>> with same hotkey
ok got it to work in a hacky way:
now if someone can help me put it in toggle ,please
Code: Select all
1::
Send {p down}
sleep 100
loop
{
send a
sleep 100
}
KeyWait p
Return
p up::Send {p down}
F8::exitapp
now if someone can help me put it in toggle ,please
Who is online
Users browsing this forum: No registered users and 14 guests