I would prefer to use Send("!s") instead of a mouseclick to make the script independent of the X,Y co-ords, but, for the File Download dialog, these just don't work for the Save button.

AutoIt is great. It makes a lot of things simple that other tools make a meal out of, so I don't mind paying my dues, I already know the payback is worth it. So, where's the smart place to go to find more of these quirks? As great as this forum is, if there is anything on this topic it's buried in noise.

Share this post

Link to post

Share on other sites

codalith 0

codalith 0

>You can use the InetGet or the InetRead function in .au3 to download files from websites, and save it to your hard drive, eliminating the need to open up and automate a web browser to download a file.

How do you use these when the site login sets http cookies?

(edit to fix lousy formatting)

Edited October 31, 2010 by codalith

Share this post

Link to post

Share on other sites

Tvern 5

Tvern 5

One way is use an embedded IE control. This works well if you want to use IE in the background anyways. I think it works because AutoIt becomes the parent process for IE, and as such id seen as logged in.

Another way is to drop IE and use the WinHttp UDF by trancexx. It's faster, uses less bandwidth amd cpu, but because it has no graphical interface of it's own it can be a bit harder to create the script.

I would prefer to use Send("!s") instead of a mouseclick to make the script independent of the X,Y co-ords, but, for the File Download dialog, these just don't work for the Save button.

AutoIt is great. It makes a lot of things simple that other tools make a meal out of, so I don't mind paying my dues, I already know the payback is worth it. So, where's the smart place to go to find more of these quirks? As great as this forum is, if there is anything on this topic it's buried in noise.

Hi,

Did you solve this problem? I am having the same problems with my script...