Macro Scheduler 15

IEDoDownload

IEDoDownload>url

 

When a file download is initiated in Internet Explorer the download notification bar appears at the bottom of the browser. IEDoDownload "clicks" on the Save button to automatically cause the file download to save to disk and then waits for it to complete. This works with IE9 and above which uses the new download notification bar. It avoids the need for the custom download manager which is needed for older versions of IE.

 

See also: IE Functions

 

Example

 

IECreate>IE[0]

IENavigate>%IE[0]%,www.clipmagic.com,ie_res

IEWaitDocumentComplete>%IE[0]%,ie_res

 

//clicks on the download button

IEClickTag>%IE[0]%,{""},{""},{"IMG"},{"INDEX"},{"6"},ie_res

 

//action the download

IEDoDownload>clipmagic.com

 

GetNewestFile>C:\Users\User\Downloads\*.*,DownloadedFile

MessageModal>Got: %DownloadedFile%