Jump to content
Sign in to follow this  
Astormooke

whats wrong with this?

Recommended Posts

Astormooke

$hello = InetGet("www.google.com")

TrayTip("SIZE : ",InetGetSize("www.google.com"),5000)

FileWrite("C:\hello.html",$hello)

Share this post


Link to post
Share on other sites
Josbe

$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.

Share this post


Link to post
Share on other sites
herewasplato

$hello = InetGet("www.google.com")

InetGet will return a 1 or a 0

so $hello should be a 1 or a 0

TrayTip("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]

Share this post


Link to post
Share on other sites
Astormooke

$hello = InetGet("www.google.com")

InetGet will return a 1 or a 0

so $hello should be a 1 or a 0

TrayTip("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 by vintorecavaj

Share this post


Link to post
Share on other sites
herewasplato

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]

Share this post


Link to post
Share on other sites
Astormooke

Then, Check InetGet() output.

k will do thank you....

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  

×