Macro Scheduler 15

IEWaitFileDownload

IEWaitFileDownload>Filename,Result

 

Waits for a file download operation for the given file to complete. This code is automatically output by WebRecorder when a file download takes place.

 

See also: IE Functions

 

Example

 

IEOnDownload>1,C:\Documents and Settings\Marcus\My Documents,ie_res

IECreate>0,IE[0]

IENavigate>%IE[0]%,www.somewhere.com/somefile.exe,ie_res

Let>downloaded_filename=C:\Documents and Settings\My Documents\somefile.exe

Let>downloaded_filesize=10582752

IEWaitFileDownload>somefile.exe,ie_res