02-13-2012, 01:44 PM
ldarrambide Wrote:Trying them.
Macro 1644&1645 launches IE when used with Firefox, don't want that
Maybe depends on page or some IE settings.
Try this.
Macro Macro1644
int w=wait(2 WV win("Mozilla Firefox" "Mozilla*WindowClass" "" 0x804))
Acc a1.Find(w "DOCUMENT" "" "" 0x3010 2)
str s
a1.WebPageProp(0 0 s)
;out s
int i
HtmlDoc d
d.SetOptions(2)
d.InitFromText(s)
ARRAY(MSHTML.IHTMLElement) a
d.GetHtmlElements(a "img")
for i 0 a.len
,MSHTML.IHTMLElement e=a[i]
,s=e.getAttribute("src" 0)
,out s