Jump to content
Sign in to follow this  
Who

"Save As Txt" in IE ?

Recommended Posts

Who

In IE, there is an option to save the whole web page as TXT format, I have tried the Internet Explorer Automation UDF library and it has it but may I do this action silently and automatically with AutoIT ? Thanks :)

Share this post


Link to post
Share on other sites
Gif

In IE, there is an option to save the whole web page as TXT format, I have tried the Internet Explorer Automation UDF library and it has it but may I do this action silently and automatically with AutoIT ? Thanks :)

I think this:

#include <INet.au3>
$IE = _INetGetSource('www.google.com')
FileWrite(@DesktopDir &"\file.txt", $IE)
exitoÝ÷ Úâ*.víÁ©í¶¬¢êÜy»­Â­¶©j¬,jëh×6#include <IE.au3>
$IE = _IECreate('http://www.google.com', 0, 0, 1, -1)
$src = _IEBodyReadText($IE)
FileWrite(@DesktopDir &"\file1.txt", $src)
exit

Share this post


Link to post
Share on other sites
Who

Yeah, that's just what I need. Thank you for helping such a n00b like me :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.