Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Need Help Saving A Webpage (Internet Explorer)

$
0
0

Hello,

 

I got AutoIt to call up a web page and used

 

Send("{ALT}")
Send("f")
Send("a")

 

to call up the "Save Webpage" dialog box, but for the life of me I can't access the box. In addition to the direct approach, I tried these lines:

 

WinActivate("Save Webpage", "")
Send("Testfile")
Send("{ENTER}")

 

and:

 

WinActivate("[CLASS:Save Webpage]", "")
Send("Testfile")
Send("{ENTER}")

 

Neither of them worked to save "Testfile.htm" [the test name for the Webpage I'm trying to save] from the open dialog box.

 

How do I script it so that AutoIt saves the Webpage? Are there some commands that can access the dialog box, or should I use a different approach entirely?

 

As the lines above indicate, I just want to save the webpage raw - nothing fancy :)

 

 

Thanks.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>