Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pulling JPEG files from Outlook
#2
Gets source URLs of jpg images in current email in Outlook 2003.

Macro Macro2019
Code:
Copy      Help
int w=win("Inbox - Microsoft Outlook" "rctrl_renwnd32")
HtmlDoc d.InitFromInternetExplorer(w)
ARRAY(MSHTML.IHTMLElement) a
d.GetHtmlElements(a "IMG")
int i
for i 0 a.len
,str s=a[i].getAttribute("src" 0)
,sel s 3
,,case ["*.jpg","*.jpeg"]
,,out s
,


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)