• 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: Exiting a script ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exiting a script ?


  • Subject: Re: Exiting a script ?
  • From: Gnarlodious <email@hidden>
  • Date: Sat, 22 Jan 2005 19:59:41 -0700

Entity Graham Anderson spoke thus:

> do shell script "ifconfig | grep 'broadcast' | awk '{print $6}'"

Does not work for me. I'm afraid the only way to determine if you are online
is to ping:

(do shell script "ping -c1 google.com") contains "1 packets received"

This will work regardless of intervening routers.

-- 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: 
 >Exiting a script ? (From: Graham Anderson <email@hidden>)

  • Prev by Date: RE:Exiting a script ? Figured it Out I think
  • Next by Date: Folder Action Script question
  • Previous by thread: Re: Exiting a script ?
  • Next by thread: RE:Exiting a script ? Figured it Out I think
  • Index(es):
    • Date
    • Thread