Подскажыте почему скрипт работает но условия IF_PIXEL_IN (ни 1 ни 2) не выполняется??
менял цвета не изменилось
GETSCREEN
DBLCLICK(803,867)
OPEN:
WHILE(1) //GOTO
GETSCREEN
IF_PIXEL_IN(129,532,167,556,16777215)
LCLICK($_return1, $_return2) //ÎÒÊÐÛÒÜ ÏÐÎÃÐÀÌÌÓ
ELSE //ÅÑËÈ
GOTO(OPEN) //ÈÄÒÈ Ê
WAITMS(1000)
END_IF
GETSCREEN
DBLCLICK(803,867)
$WAIT(3)
GETSCREEN
DBLCLICK(1526,994) //ÂÛÄÅËÈÒÜ
GETSCREEN
KEYDOWN (#CTRL) //ÊÎÏÈÐÎÂÀÒÜ
WAITMS (100)
KEYDOWN (#C)
WAITMS (100)
KEYUP (#C)
KEYUP (#CTRL)
GETSCREEN
LCLICK(1647,1002) //ÎÏÓÑÒÈÒÜ ÂÍÈÇ
$WAIT(1)
GETSCREEN
IF_PIXEL_IN(398,290,435,300,12434877)
LCLICK($_return1, $_return2) //ÊËÈÊ Â ÏÐÎÃÐÀÌÌÅ
WAITMS(1000)
END_IF
GETSCREEN
KEYDOWN (#CTRL) //ÂÑÒÀÂÈÒÜ
WAITMS (100)
KEYDOWN (#V)
WAITMS (100)
KEYUP (#V)
KEYUP (#CTRL)
GETSCREEN
DBLCLICK(803,867)
$WAIT(2)
GETSCREEN
DBLCLICK(1694,996) //ÂÛÄÅËÈÒÜ 1
GETSCREEN
KEYDOWN (#CTRL) //ÊÎÏÈÐÎÂÀÒÜ 1
WAITMS (50)
KEYDOWN (#C)
WAITMS (50)
KEYUP (#C)
KEYUP (#CTRL)
$WAIT(1)
LCLICK(1900,1003) //ÎÏÓÑÒÈÒÜ ÂÍÈÇ
GETSCREEN
IF_PIXEL_IN(398,351,575,367,16777215)
LCLICK($_return1, $_return2) //ÊËÈÊ Â ÏÐÎÃÐÀÌÌÅ
WAITMS(1000)
END_IF
GETSCREEN
KEYDOWN (#CTRL) //ÂÑÒÀÂÈÒÜ 1
WAITMS (50)
KEYDOWN (#V)
WAITMS (50)
KEYUP (#V)
KEYUP (#CTRL)
GETSCREEN
KEYPRESS(#TAB) //ÍÀÆÀÒÜ ÒÀÂ
GETSCREEN
KEYDOWN (#CTRL) //ÂÑÒÀÂÈÒÜ 1
WAITMS (50)
KEYDOWN (#V)
WAITMS (50)
KEYUP (#V)
KEYUP (#CTRL)
GETSCREEN
DBLCLICK(803,867)
$WAIT(2)
HALT