• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quick way to check network connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Quick way to check network connection (From: email@hidden)

  • Prev by Date: Re: Filemaker very slow setting fields
  • Next by Date: Re: Best way to test for OS version
  • Previous by thread: Quick way to check network connection
  • Next by thread: What is "Using Terms From..."
  • Index(es):
    • Date
    • Thread