Re: Ignoring responses from "do shell script"
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.