Re: Ignoring responses from "do shell script"
Re: Ignoring responses from "do shell script"
- Subject: Re: Ignoring responses from "do shell script"
- From: Emmanuel <email@hidden>
- Date: Thu, 11 Mar 2004 00:03:52 +0100
At 10:25 PM +0000 10/03/04, Martin Orpen wrote:
>
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.
I'm not sure if you mean, the AppleScript fails or the ping. Anyway I think others have made clear that it's always better to write "set end of ipBlock to theIP" than "set ... to ... & ..."
My bet for the repeats of this comment is 4.
Emmanuel
_______________________________________________
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.