Re: do shell script "sort" not working
Re: do shell script "sort" not working
- Subject: Re: do shell script "sort" not working
- From: Martin Orpen <email@hidden>
- Date: Thu, 10 Nov 2005 22:56:53 +0000
- Thread-topic: do shell script "sort" not working
on 10/11/05 22:05, Bruce Robertson at email@hidden wrote:
> Doesn't work for me. (10.4.3). "The fariable foo is undefined"
>
> Shouldn't procArray() return something?
>
> Even if I try to make it return something, still no result.
We might need to ask somebody who knows more about objective-C than me?
I've saved the script using the applescript:// protocol here:
<http://tinyurl.com/88ano>
This works on my laptop but, just like you, I can't call the *distinct*
method on another Mac that I've got at home that is also using 10.4.3 :-(
My laptop has been used for different developer versions of Tiger, so it
might be that I've got stuff working on here that isn't part of the standard
OS?
But, for the life of me, I cannot remember where I got the idea about using
*distinct*. ISTR it was in a desperate attempt to achieve a solution that
was faster than something that our friend "has" had suggested while
ridiculing one of my scripts :-(
FYI, this is what I get when I run the same script in Script Debugger and
Script Editor:
{
57,
"
",
"aaaa
aabb
aabc
aaca
aacb
aacc
abaa
abab
abac
abcb
acaa
acab
acac
acba
acbb
acbc
acca
accb
accc
baaa
baab
baac
baba
babc
baca
bacb
bbaa
bbab
bbac
bbba
bbbc
bbcc
bcba
bcbb
bcbc
bccb
bccc
caab
caba
cabb
cabc
caca
cacb
cacc
cbab
cbbb
cbbc
cbca
cbcb
cbcc
ccaa
ccab
ccac
ccbb
ccbc
ccca
cccb"
}
--
Martin Orpen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden