IF(TFCOUNT("LogPass.txt") > $count)
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))
LCLICK(208,332) // êëèê ïî ïîëþ ëîãèíà
WAITMS (100)
TOCLIP($log) // ñêîïèðîâàòü â áóôåð
WAITMS (100)
KEYDOWN (#CTRL) // âñòàâèòü
WAITMS (100)
KEYDOWN (#V)
WAITMS (100)
KEYUP (#V)
KEYUP (#CTRL)
WAITMS (100)
LCLICK(226,389) // êëèê ïî ïîëþ ïàðîëÿ
WAITMS (100)
TOCLIP($pass)
WAITMS (100)
KEYDOWN (#CTRL)
WAITMS (100)
KEYDOWN (#V)
WAITMS (100)
KEYUP (#V)
KEYUP (#CTRL)
WAITMS (100)
LCLICK(224,463) // êëèê ïî "Âõîä"
WAITMS(5000)
LCLICK(340,14) // êëèê ñàéò
WAITMS (4000)
LCLICK(980,203) // êëèê âîéòè
WAITMS (4000)
LCLICK(219,425) // êëèê âîéòè ñòèì
WAITMS (4000)
$time = $_time_t + 100
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "1.bmp", -1, 100)
LCLICK($_return1, $_return2)
WAITMS(1000)
$check = 0
WHILE($check = 0)
$time = $_time_t + 100
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "2.bmp", -1, 100)
LCLICK($_return1, $_return2)
WAITMS(1000)
$check = 0
WHILE($check = 0)
IF(TFCOUNT("Code.txt") > $count)
INC($count,1)
ELSE
$count = 1
END_IF
$str = TFREAD ("Code.txt", $count)
$log = STRCUT2 ($str, 1, STRPOS ($str, ":")-1)
LCLICK(626,475) // ???? ?? ???? ??????
WAITMS (50)
TOCLIP($log) // ??????????? ? ?????
WAITMS (50)
KEYDOWN (#CTRL) // ????????
WAITMS (50)
KEYDOWN (#V)
WAITMS (50)
KEYUP (#V)
KEYUP (#CTRL)
WAITMS (500)
LCLICK(630,506) // êëèê ñàéò
WAITMS (1000)
$time = $_time_t + 100
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "4.bmp", -1, 100)
LCLICK($_return1, $_return2)
WAITMS(1000)
$check = 0
WHILE($check = 0)
LCLICK(170,14) // êëèê ñàéò
WAITMS (2000)
$time = $_time_t + 100
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "5.bmp", -1, 100)
LCLICK($_return1, $_return2)
WAITMS(1000)
$check = 0
WHILE($check = 0)
$time = $_time_t + 100
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "6.bmp", -1, 100)
LCLICK($_return1, $_return2)
WAITMS(1000)
$check = 0
WHILE($check = 0)
$time = $_time_t + 100
WHILE($time > $_time_t)
GETSCREEN
IF_PICTURE_IN (0,0, $_xmax,$_ymax, "7.bmp", -1, 100)
LCLICK($_return1, $_return2)
WAITMS(1000)
$check = 0
WHILE($check = 0)
Вот код, почему-то не берет новую строчку, после завершения и нового старта. Как быть?