ImageSearch

Gad21

Новичок
Автор темы
5
0
Нужна помощь с скриптом. Кто сможет, отпишите в лс.
 

Gad21

Новичок
Автор темы
5
0
^1::
SoundBeep, 200, 200
while(true)
{

if(mode == "1920x1080")
{
ImageSearch, FoundX, FoundY, 940, 952, 977, 983, *80 *TransBlack .png
if(!ErrorLevel)
{
key := true
}

ImageSearch, FoundX, FoundY, 940, 953, 978, 987, *80 *TransBlack .png
if(!ErrorLevel)
{
key := true
}

if(key) {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *130 *TransBlack .png
if(!ErrorLevel)
{
send,
sleep, 300
}
else {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *130 *TransBlack .png
if(!ErrorLevel)
{
send,
sleep, 300
}
else {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *130 *TransBlack .png
if(!ErrorLevel)
{
send,
sleep, 300
}
else {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *90 *TransBlack .png
if(!ErrorLevel)
{
send,
sleep, 200
}
else {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *90 *TransBlack .png
if(!ErrorLevel)
{
send,
sleep, 200
}
else {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *90 *TransBlack .png
if(!ErrorLevel)
{
send,
sleep, 200
}
else {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *90 *TransBlack .png
if(!ErrorLevel)
{
send,
sleep, 200
}
else {
ImageSearch, FoundX, FoundY, 938, 870, 1000, 897, *90 *TransBlack png
if(!ErrorLevel)
{
send
sleep, 200
}
}
}
}
}
}
}
}
key := false
}
}
}
return

~^0::ExitApp