my_switch=0
loop
{
if my_switch1=1
{
PixelSearch,x,y,320,140,480,260,0x5a82ef
if x > -1
{
send {f11}
sleep 2000
}
}
else
{}
if my_switch2=2
{
{
send {f6 2}
sleep 32000
}
}
else
{}
}
up::
my_switch1 := 1
return
down::
my_switch1 := 0
my_switch2 := 0
return
^right::
my_switch2 := 2
return
請問要如何加上settimer 才會讓延遲不會互相影響 各自執行並延遲