• 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: Ignoring responses from "do shell script"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignoring responses from "do shell script"


  • Subject: Re: Ignoring responses from "do shell script"
  • From: Martin Orpen <email@hidden>
  • Date: Wed, 10 Mar 2004 22:25:12 +0000

on 10/3/04 12:15 am, Graff at email@hidden wrote:

> Hmm it worked fine here. There is a built-in delay of 15 seconds that
> I placed in the script so that every ping has a chance to return but
> beyond that the script should take almost no time to run. I tried a
> list of about 20 good and bad addresses and still ended up with the
> script taking only about 15 seconds to run.

Yes, apologies Ken, the *parallel ping* does work (unlike my trying to test
it after midnight).

Oddly, I've come across a little problem with generating the list of IPs:

set ipBlock to {}
repeat with i from x to y
set theIP to IPbase & "." & i
set ipBlock to ipBlock & theIP
end repeat

This works fine when x and y generate up to 82 items. Go over that number
and script fails.

ISTR something about this in the "Definitive Guide" - something about a
reference to the list? - but I've left my copy at the studio :-(

Anybody got any suggestions?

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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.


  • Follow-Ups:
    • Re: Ignoring responses from "do shell script"
      • From: Emmanuel <email@hidden>
References: 
 >Re: Ignoring responses from "do shell script" (From: Graff <email@hidden>)

  • Prev by Date: Re: Basic: scripting OS X System Profiler
  • Next by Date: Re: Getting the Folder name when using drag-&-drop Scripts
  • Previous by thread: Re: Ignoring responses from "do shell script"
  • Next by thread: Re: Ignoring responses from "do shell script"
  • Index(es):
    • Date
    • Thread