Is there any Alternative of IEDoDownload?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
ali_basharat
Newbie
Posts: 6
Joined: Mon Oct 29, 2018 4:04 pm

Is there any Alternative of IEDoDownload?

Post by ali_basharat » Wed Nov 14, 2018 8:59 am

I need to download a file from a webpage. I have used "IEDoDownload" function of Macro Scheduler but when this function executes it downloads the file but the next statement never executes.

For Example, I have the following code:

Code: Select all

IEDoDownload>fileURL
IEQuit>ie
When

Code: Select all

IEDoDownload>fileURL
statement executes, it downloads and saves the file successfully but the next statement

Code: Select all

IEQuit>ie
never executes.

Is there any alternative to download and save file without using statements like (Press>ALT, Send>s, Release>ALT)? Basically, I don't want to use Press, Send functions because they need interface to run.

User avatar
Marcus Tettmar
Site Admin
Posts: 7080
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Is there any Alternative of IEDoDownload?

Post by Marcus Tettmar » Wed Nov 14, 2018 10:15 am

The IEDoDownload function was designed for when you click on something on a page and it initiates a file download, and it needs the URL of the page as you see it in IE. You appear to be navigating direct to the file itself, but the IE window will show something else - like where it was already, so the issue may be that you have the file url on the IEDoDownload line, and I think it will then fail to find the right IE window. What you could try is navigate to a known page first.

Also I note that when I navigate directly to a file I get a different kind of download manager. But if I navigate to a known page first I don't. Not sure why that is, could just be a setting my end.

This works for me:

Code: Select all

IECreate>ie_ref
IENavigate>ie_ref,https://www.google.com,ie_res
Wait>1
IENavigate>ie_ref,http://www.clipmagic.com/software/clipmagic4_setup.exe,ie_res
//this needs part of the URL *showing* in the IE window, not the file/url above.
IEDoDownload>google.com
IEQuit>ie_ref,ie_res
That's our trial of ClipMagic and is public so you can try it as is.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

andegraaf
Newbie
Posts: 1
Joined: Tue Nov 20, 2018 10:18 pm

Re: Is there any Alternative of IEDoDownload?

Post by andegraaf » Tue Nov 20, 2018 10:34 pm

I was having the same issue. IEDoDownload just hangs and won't continue. I managed to resolve it by turning off the "Notify me when my Downloads are Complete" in the download options.

Capture.PNG
Capture.PNG (6.22 KiB) Viewed 603 times

Is there a way to use IEDoDownload without turning off that feature?

Thanks,

DAYIII
Newbie
Posts: 4
Joined: Tue May 09, 2017 2:54 am
Location: Atlanta, GA and Orem, UT

Re: Is there any Alternative of IEDoDownload?

Post by DAYIII » Fri Sep 06, 2019 10:08 pm

Thank you andegraaf! Turning off "Notify....." solved my problem.

User avatar
Grovkillen
Automation Wizard
Posts: 353
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden
Contact:

Re: Is there any Alternative of IEDoDownload?

Post by Grovkillen » Sat Sep 07, 2019 6:42 am

That flag is probably going in the registry so you could look at it and disable it via script.
Let>ME=%Script%

Running: MS14.5.4

Post Reply