• 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: Ping Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ping Script


  • Subject: Re: Ping Script
  • From: 2551phil <email@hidden>
  • Date: Tue, 26 Mar 2013 09:56:32 +0700

On 26 Mar 2013, at 09:32, 2551phil <2551phil@gmail.com> wrote:

Sorry, logical error. That won't work.


Define some property with the value "0". Put an if test at the beginning of the repeat loop that says if the value is 1 then exit (don't do the rest of the loop), if the value is 0 do the rest of the loop. After the ping test, make sure you set that property to 1 when the ping is successful (and exit) or sets it to 0 ( and repeat) if it's not. 


Best

Phil
http://applehelpwriter.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Ping Script
  • Next by Date: Re: Ping Script
  • Previous by thread: Re: Ping Script
  • Next by thread: The variable speak hour is not defined
  • Index(es):
    • Date
    • Thread