toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved

Ask gaming related questions
Nantu
Posts: 22
Joined: 30 Jun 2017, 11:15

toggle <<<<"right click down+spam diff key">>>>> with same hotkey

31 Oct 2018, 07:59

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 ? :dance:
Nantu
Posts: 22
Joined: 30 Jun 2017, 11:15

Re: toggle <<<<"right click down+spam diff key">>>>> with same hotkey

31 Oct 2018, 12:30

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
Nantu
Posts: 22
Joined: 30 Jun 2017, 11:15

Re: toggle <<<<"right click down+spam diff key">>>>> with same hotkey

03 Nov 2018, 13:33

ok got it to work in a hacky way:

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 :headwall:

Return to “Gaming”

Who is online

Users browsing this forum: Google [Bot] and 13 guests