нормально заработало,когда scanpicture взял со справки
SUB(NIC)
lclick(959,678)
waitms(3000)
KEYPRESS(#enter)
waitms(6000)
END_SUB
GETSCREEN
WAITMS(700)
scanpicture($ARR_SCAN, 419,591, 1310,661, "o.bmp",0,100)
$ARR_NUM = 0
WHILE ($ARR_NUM < ARRSIZE($ARR_SCAN))
$X = $ARR_SCAN [$ARR_NUM]
INC($ARR_NUM,1)
$Y = $ARR_SCAN [$ARR_NUM]
INC($ARR_NUM,1)
lclick($x,$y)
LOGWRITE ("X: ", $X, " Y: ", $Y)
waitms(2500)
NIC()
END_CYC
UNDEFINE($ARR_SCAN)