Подскажите почему ошибка? Логины по кругу не вводит...
VHOD:
WAITMS(1000)
$time = $_time_t + 15
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "TEL.bmp", -1, 100)
$time = 0
WAIT(1)
LCLICK($_return1-1, $_return2+30)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
BEEP(1000,2000)
WAITMS(500)
HINTPOPUP("НЕ ЗАГРУЗИЛАСЬ СТРАНИЦА ВХОДА")
END_IF
//======????????? ??????? ? ???????============
IF($count < TFCOUNT("LogPass.txt"))
INC($count,1)
ELSE
// ????? ????? ???????? ????????? ?? ?????????? ??????? ????? ?????????
$count = 1 // ???????? ? ??????
END_IF
$str = TFREAD ("LogPass.txt", $count)
$log = STRCUT2 ($str, 1, STRPOS ($str, ":")-1)
$pass = STRCUT2 ($str, STRPOS ($str, ":")+1, STRLEN ($str))
LOGWRITE ("?????: ", $log, " ??????: ", $pass)
WAITMS(500)
//=============================================
TOCLIP($log)
WAITMS(50)
KEYDOWN (#CTRL) // Ctrl+V
WAITMS (50)
KEYPRESS(#V)
KEYUP (#CTRL)
WAITMS(100)
KEYPRESS(#TAB)
WAITMS(100)
TOCLIP($pass)
WAITMS(50)
KEYDOWN (#CTRL) // Ctrl+V
WAITMS (50)
KEYPRESS(#V)
KEYUP (#CTRL)
WAITMS(500)
KEYPRESS(#ENTER)
//--------
RESTART: //МЕТКА
$time = $_time_t + 20
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "jh.bmp", -1, 100)
$time = 0
WAITMS(100)
RCLICK($_return1+10, $_return2+10)
WAITMS(300)
LCLICK($_return1+86, $_return2+20)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "RESTART.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1+3, $_return2+3)
WAIT(5)
GOTO(RESTART) // ПЕРЕХОДИМ К МЕТКИ
ELSE
BEEP(1000,1000) //
HINTPOPUP("НЕ ОСУЩЕСТВЛЕН ВХОД")
HALT //СТОП
END_IF
END_IF
//--------------------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "zkr.bmp", -1, 100)
$time = 0
WAITMS(1000)
LCLICK($_return1+3, $_return2+3)
WAITMS(500)
ELSE
WAITMS(500)
END_IF
END_CYC
IF($time ! 0)
END_IF
//-----------------
KSH: // МЕТКА WAIT(5) GOTO(RESTART) // ПЕРЕХОДИМ К МЕТКИ
$time = $_time_t + 80 //ТУТ ПОСТАВИТЬ 120 ПОСЛЕ ОТЛАДКИ
WHILE($time > $_time_t)
GETSCREEN
COLORMODE(7)
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "ksh.bmp", -1, 80)
$time = 0
WAITMS(2000)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "RESTART.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1+3, $_return2+3)
WAIT(5)
GOTO(KSH) // ПЕРЕХОДИМ К МЕТКИ-СНОВА ИЩЕМ КШ
ELSE
BEEP(1000,1000) //
HINTPOPUP("НЕ НАШЛИ КШ")
HALT //СТОП
END_IF
END_IF
//--------------------------------
$time = $_time_t + 60
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "arsenal.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
WAIT(5)
GOTO(VHOD) // если не находим арсенал перезаходим
ELSE
WAITMS(50)
END_IF
END_IF
//--------------------------------
$time = $_time_t + 15
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "da.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
WAITMS(3000)
//--------------------------------
RAZMESTIT:
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
COLORMODE(5)
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "razmestit.bmp", -1, 90)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
GETSCREEN
COLORMODE(5)
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "razmestit.bmp", -1, 90)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
BEEP(1000,1000) //
HINTPOPUP("НЕ НАШЛИ КНОПКУ РАЗМЕСТИТЬ")
END_IF
END_IF
//--------------------------------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "poisk.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(800)
LCLICK($_return1-154, $_return2+1) // АРСЕНАЛ
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
//--------------------------------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "da.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
//--------------------------------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
COLORMODE(5)
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "razmestit.bmp", -1, 90)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
GETSCREEN
COLORMODE(5)
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "razmestit.bmp", -1, 90)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
BEEP(1000,1000) //
HINTPOPUP("НЕ НАШЛИ КНОПКУ РАЗМЕСТИТЬ")
END_IF
END_IF
//--------------------------------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "ms.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
//--------------------------------чистим страницу
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "vrag.bmp", -1, 100)
$time = 0
MOVE($_return1, $_return2)
WAITMS(100)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
SOUND("sirenhilo.wav")
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "plag.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
//-------------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "chistka.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
WAITMS(1000)
//-----------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "out.bmp", -1, 100)
$time = 0
LCLICK($_return1+6, $_return2+6)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
WAITMS(5000)
GOTO(VHOD)
HINTPOPUP("C ЭТИМ ВСЕ-СЛЕДУЮЩИЙ")
END_IF
//--------------------------------
$time = $_time_t + 10
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "udz.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1+2, $_return2+2)
WAITMS(500)
LCLICK($_return1+4, $_return2+38)
WAITMS(500)
LCLICK($_return1+6, $_return2+74)
WAITMS(500)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
WAIT(1)
//-------------
$time = $_time_t + 60
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "plag.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
//-------------
$time = $_time_t + 60
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "chistka.bmp", -1, 100)
$time = 0
WAITMS(100)
LCLICK($_return1, $_return2)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
WAITMS(1000)
//-----------
$time = $_time_t + 60
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (700,0, $_xmax,$_ymax, "out.bmp", -1, 100)
$time = 0
LCLICK($_return1+6, $_return2+6)
ELSE
WAITMS(50)
END_IF
END_CYC
IF($time ! 0)
END_IF
//-----------