Astormooke Posted July 2, 2007 Posted July 2, 2007 $hello = InetGet("www.google.com") TrayTip("SIZE : ",InetGetSize("www.google.com"),5000) FileWrite("C:\hello.html",$hello)
Josbe Posted July 2, 2007 Posted July 2, 2007 $hello = InetGet("www.google.com")TrayTip("SIZE : ",InetGetSize("www.google.com"),5000)FileWrite("C:\hello.html",$hello)And which is your objective/goal?At least, I see that code could be work. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
herewasplato Posted July 2, 2007 Posted July 2, 2007 $hello = InetGet("www.google.com")InetGet will return a 1 or a 0so $hello should be a 1 or a 0TrayTip("SIZE : ",InetGetSize("www.google.com"),5000)If your specify a file...like the one shown in the help file example for InetGetSize...then it will work(but you will need a sleep or some delay to let you see the TrayTip once the script ends, the TrayTip will end.)FileWrite("C:\hello.html",$hello)Does your file contain a 1 or a 0?-MSP- [size="1"][font="Arial"].[u].[/u][/font][/size]
Astormooke Posted July 2, 2007 Author Posted July 2, 2007 (edited) $hello = InetGet("www.google.com")InetGet will return a 1 or a 0so $hello should be a 1 or a 0TrayTip("SIZE : ",InetGetSize("www.google.com"),5000)If your specify a file...like the one shown in the help file example for InetGetSize...then it will work(but you will need a sleep or some delay to let you see the TrayTip once the script ends, the TrayTip will end.)FileWrite("C:\hello.html",$hello)Does your file contain a 1 or a 0?-MSP- The file contains absolutly nothing it runs and tells me that the size is zero... but he file is empty. Edited July 2, 2007 by vintorecavaj
Josbe Posted July 2, 2007 Posted July 2, 2007 The file contains absolutly nothing it runs and tells me that the size is zero... but he file is empty.Then, Check InetGet() output. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
herewasplato Posted July 2, 2007 Posted July 2, 2007 The file contains absolutly nothing it runs and tells me that the size is zero... but he file is empty.It works for me - the file contains a 0. Try this:MsgBox(0, "", InetGet("www.google.com")) [size="1"][font="Arial"].[u].[/u][/font][/size]
Astormooke Posted July 2, 2007 Author Posted July 2, 2007 Then, Check InetGet() output.k will do thank you....
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