Sign in to follow this  
Followers 0
Who

"Save As Txt" in IE ?

3 posts in this topic

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



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

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  
Followers 0