Here is what I have so far:
Code: Select all
x := 600
y := 850
a := 850
b := 850
^j:: {
Loop {
{
SetTimer, Clicker, 300000
Clicker:
mouseclick, left, %x%, %y%, 1, 0
mouseclick, left, %a%, %b%, 1000, 0
return
}
return
}
return
Code: Select all
x := 600
y := 850
a := 850
b := 850
^j:: {
Loop {
{
SetTimer, Clicker, 300000
Clicker:
mouseclick, left, %x%, %y%, 1, 0
mouseclick, left, %a%, %b%, 1000, 0
return
}
return
}
return
Code: Select all
x := 600
y := 850
a := 850
b := 850
^j:: ;toggles Clicker on/off
If Clicker := !Clicker
SetTimer, Clicker, 300000
Else
SetTimer, Clicker, Off
return
Clicker:
mouseclick, left, %x%, %y%, 1, 0
mouseclick, left, %a%, %b%, 1000, 0
return
^End::ExitApp ;exit the script
Fixed it for you. You didn't give clicker a value!Rohwedder wrote:Hallo,
try:Code: Select all
x := 600 y := 850 a := 850 b := 850 ^j:: ;toggles Clicker on/off If Clicker := !Clicker SetTimer, Clicker, 300000 Else SetTimer, Clicker, Off return Clicker: mouseclick, left, %x%, %y%, 1, 0 mouseclick, left, %a%, %b%, 1000, 0 return ^End::ExitApp ;exit the script
Code: Select all
x := 600
y := 850
a := 850
b := 850
Click := 0
^j:: ;toggles Clicker on/off
If Click := !Click
SetTimer, Clicker, 300000
Else
SetTimer, Clicker, Off
return
Clicker:
mouseclick, left, %x%, %y%, 1, 0
mouseclick, left, %a%, %b%, 1000, 0
return
^End::ExitApp ;exit the script
Users browsing this forum: Giresharu, Google [Bot], haomingchen1998 and 265 guests