Jump to content

Recommended Posts

Posted

Hi,

I want to check if user is on-line but I don't want to use CheckIP or any other command which tries to establish connection. Is that possible ?

Thank you

Tuk

Posted

Hi,

maybe Ping() ???

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

I agree with th.meger

Direct from the help...

$var = Ping("www.AutoItScript.com",250)
If $var Then; also possible:  If @error = 0 Then ...
    Msgbox(0,"Status","Online, roundtrip was:" & $var)
Else
    Msgbox(0,"Status","An error occured with number: " & @error)
EndIf

Read the help file and experiment :lmao:

Posted (edited)

Thanks a lot.

This is probably what I need.

One question: If I just want to know if the user who runs the project is connected to the internet, then I can put any url like CNN or yahoo, am I right ?

Thank you

Tuk

Edited by Tukata
Posted (edited)

Hi,

yes I think so. Try it with google or ibm ...

I haven't looked into Ping() but maybe the only prob could be, that it is related to the settings in IE. So if you are using different proxy settings in IE and Firefox, BANG. :lmao:

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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
×
×
  • Create New...