• 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
Ping with AS under OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ping with AS under OS X?


  • Subject: Ping with AS under OS X?
  • From: "T.J. Mahaffey" <email@hidden>
  • Date: Mon, 20 May 2002 11:36:26 -0500

Hi, folks.
I'm trying to perform a ping and get a string result, via AS. (I'd like
to be able to check for failure and develop other actions based on
failure or success of the ping.)

The following isn't working:

tell application "Terminal"
do shell script "ping 172.19.230.200" with administrator privileges
end tell

I've tried a few other variations, but most have "command not found"
error in common.

I've also tried the System osax, but with similar results.

Help is appreciated.

T.J. Mahaffey
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: how to set RGB color
  • Next by Date: Re: Unixy question
  • Previous by thread: Re: Linked lists (was osascript - path to me)
  • Next by thread: Re: Ping with AS under OS X?
  • Index(es):
    • Date
    • Thread