Вот написал исправте что не так.
$check = 0
LOGSHOW (1, 100,100)
WHILE($check = 0)
$check = 0
WHILE($check = 0)
getscreen
IF_PICTURE_IN (0,0, $_xmax, $_ymax, "img1.bmp" ,8512998, 100)
TOCLIP ("Ñëîâî1")
WAITMS(50)
KEYDOWN (#CTRL) // Ctrl+V
WAITMS (50)
KEYDOWN (#V)
WAITMS (50)
KEYUP (#V)
KEYUP (#CTRL)
WAITMS (100)
KEYPRESS(#ENTER) // Enter
WAITMS (100)
LOGWRITE ("Ñëîâî1")
ELSE
getscreen
IF_PICTURE_IN (0,0, $_xmax, $_ymax, "img2.bmp" ,8512998, 100)
TOCLIP ("Ñëîâî2")
WAITMS(50)
KEYDOWN (#CTRL) // Ctrl+V
WAITMS (50)
KEYDOWN (#V)
WAITMS (50)
KEYUP (#V)
KEYUP (#CTRL)
WAITMS (100)
KEYPRESS(#ENTER) // Enter
WAITMS (100)
LOGWRITE ("Ñëîâî2")
ELSE
getscreen
IF_PICTURE_IN (0,0, $_xmax, $_ymax, "img3.bmp" ,8512998, 100)
TOCLIP ("Ñëîâî3")
WAITMS(50)
KEYDOWN (#CTRL) // Ctrl+V
WAITMS (50)
KEYDOWN (#V)
WAITMS (50)
KEYUP (#V)
KEYUP (#CTRL)
WAITMS (100)
KEYPRESS(#ENTER) // Enter
WAITMS (100)
LOGWRITE ("Ñëîâî3")
ELSE
getscreen
IF_PICTURE_IN (0,0, $_xmax, $_ymax, "img4.bmp" ,8512998, 100)
TOCLIP ("Ñëîâî4")
WAITMS(50)
KEYDOWN (#CTRL) // Ctrl+V
WAITMS (50)
KEYDOWN (#V)
WAITMS (50)
KEYUP (#V)
KEYUP (#CTRL)
WAITMS (100)
KEYPRESS(#ENTER) // Enter
WAITMS (100)
LOGWRITE ("Ñëîâî4")
ELSE
$check = 1
END_IF
END_CYC