Code: Select all
SetTimer, Label0, 200
Label0:
SetTimer, Label777, 2000
Goto Label1
Label1:
Click Left 1455, 243,
Click Left 1505, 123,
Label777:
SendInput, {F5}
return
but if I will go like this:
SetTimer, Label0, 200
Label0:
SetTimer, Label777, 2000
Goto Label1
Label1:
MouseGetPos, 937, 319,
PixelGetColor, color, 937, 319, alt
Var11 = %color%
if (var11 = 0x0000FF )
{
sleep, 500
Click Left 1455, 243,
sleep, 500
Goto, Label1
}
else
{
MouseGetPos, 866, 814,
PixelGetColor, color, 866, 814, alt
Var6 = %color%
if (var6 = 0x703B00 )
{
Click Left 893, 804,
sleep, 500
Goto, Label1
}
else
{
MouseGetPos, 1082, 448,
PixelGetColor, color, 1082, 448, alt
Var16 = %color%
if ( var16 = 0xFFFFFF )
{
Click Left 1453, 242,
sleep, 500
Click Left 1453, 242,
sleep, 500
Goto, Label1
}
else
{
MouseGetPos, 1491, 325,
PixelGetColor, color, 1491, 325, alt
Var1 = %color%
if ( var1 = 0x703C00 )
{
Click Left 1491, 325,
sleep, 500
}
else
{
Goto, Label1
}
}
}
}
Label777:
SendInput, {F5}
return
it doesnt work. How can I release this and whats the feature?