YoseMite Posted November 22, 2005 Share Posted November 22, 2005 Hi, I want to make a application that save the web source to a *.txt file. I use the function _INetGetSource and FileWrite. But how can I work this two functions together? #include <INet.au3> ConsoleWrite(_INetGetSource('www.autoitscript.com')) $file = FileOpen("C:\test.txt", 1) ; Check if file opened for writing OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf FileWrite($file, ConsoleWrite(_INetGetSource('www.autoitscript.com'))) FileClose($file) I have already view the helpfile for this function, but I can't find something.. Thanks, YoseMite Link to comment Share on other sites More sharing options...
herewasplato Posted November 22, 2005 Share Posted November 22, 2005 INetGet('http://www.autoitscript.com','C:\temp\test.txt') [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now