KEYDOWN(#1)
$time = $_ms + 10000
GETSCREEN
WHILE($time > $_ms)
GETSCREEN
IF_PIXEL_IN(746,394,880,425,3355443)
LCLICK($_return1,$_return2)
END_IF
WAITMS (50)
END_CYC
KEYUP(#1)
WAITMS(20)
LCLICK(20,10)
WAITMS(50)
А можно и так
KEYDOWN(#1)
$a=0
GETSCREEN
WHILE($a=0)
GETSCREEN
IF_PIXEL_IN(746,394,880,425,3355443)
LCLICK($_return1,$_return2)
END_IF
WAITMS (50)
END_CYC
KEYUP(#1)
WAITMS(20)
LCLICK(20,10)
WAITMS(50)