In a major effort to reduce reliance on paper, I am trying to automate the retrieval of pdf documents from various web sites. After spending about 20 hours learning AutoIT, mostly with help from the forums, I am ready for more specific help.
I have a function which opens an IE browser, attaches a url pointing to a pdf, then saves the pdf to disk. The function works sometimes:
CODEFunc OpenPdfSave($URL , $FileName)
;
; Given the URL and filename, open a pdf and save it.
;
$oIEpdf =