Posts: 35
Threads: 16
Joined: Apr 2018
Hi good day,
Sometimes my image will not exist so, how can I jump the "Error (RT) in MacroX: object not found. ?" and continue to other line?
Someting like:
On Error Goto jump1
scan "image:hB9DFBA6F" w3 0 1|2|16 50
x
x
x
jump1
x
Posts: 1,337
Threads: 61
Joined: Jul 2006
something like this should work
scan "image:hB9DFBA6F" w3 0 1|2|16 50
err
,goto jump1
;; action here if found
out "found"
;x
;x
;jump1
;; action here if not found
out "not found"
;x
Posts: 35
Threads: 16
Joined: Apr 2018
Thank you very much