06-02-2006, 02:32 PM
Hi all again.
That's the macro I mad and it works, but sometimes it doesn't work because the "target" changes his coordnates.
rep 50
Acc a=acc("" "LINK" " Internet Explorer" "Internet Explorer_Server" "" 0x1100 208 556)
str name=a.Name
_s=name; _s.setfile("D:\Documents and Settings\Administrator\My Documents\test.txt" -1 -1 1)
HtmlClick("BUTTON" "Apagar" "" " Internet Explorer" 0 4 0x21)
wait 5
My question is, how can I use IF and ELSE in case object not found? Something like: In case object not found look at this coordinates?
Thanks a lot
Massa
That's the macro I mad and it works, but sometimes it doesn't work because the "target" changes his coordnates.
rep 50
Acc a=acc("" "LINK" " Internet Explorer" "Internet Explorer_Server" "" 0x1100 208 556)
str name=a.Name
_s=name; _s.setfile("D:\Documents and Settings\Administrator\My Documents\test.txt" -1 -1 1)
HtmlClick("BUTTON" "Apagar" "" " Internet Explorer" 0 4 0x21)
wait 5
My question is, how can I use IF and ELSE in case object not found? Something like: In case object not found look at this coordinates?
Thanks a lot
Massa