Re: Quick way to check network connection
Re: Quick way to check network connection
- Subject: Re: Quick way to check network connection
- From: Gnarlodious <email@hidden>
- Date: Mon, 19 Dec 2005 22:39:16 -0700
- Thread-topic: Quick way to check network connection
Title: Re: Quick way to check network connection
Entity email@hidden spoke thus:
Is there a quick way in OS Tiger to check that the computer is connected to a network...
I usually do something like this:
if (do shell script "ping -c1 216.239.37.99") contains "1 packets received" then say "Greetings " & (do shell script "whoami") & ", internet is available" using "Zarvox"
Might be helpful to wrap it in a timeout so ping doesn’t stagger.
-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden