Код
--lua
local path = [["C:\Users\Второй Пользователь\Desktop\UoPiloT\LA\G.bmp"]]
::metka::
if color(1171, 1024) == 7925487 then
--if 1171, 1024 7925487
send ("{Spacebar}")
-- send {Spacebar}
wait (100)
-- wait 100
end
--end_if
local A, a = findimage (578, 281, 1469, 888, {path}, 2, 80, 1, 5)
--set #a findimage (578, 281 1469, 888 (LA\G.bmp) %a 2 80 1 5)
log ( A a )
--//log #a
if A then
--if #a > 0
send ("G")
-- send G
wait (200)
-- wait 200
end
--end_if
goto metka