Re: List filtering
Re: List filtering
- Subject: Re: List filtering
- From: Alex Zavatone <email@hidden>
- Date: Wed, 01 Sep 2010 23:06:07 -0500
This is more of an experiment on my part. Supposedly, "whose" is part of the list filtering supported commands.
Thanks anyway. Sometimes Applescript is so tempting, but sooo obtuse. I'm just trying to see if I can get my head deeper into some of AppleScript's weirdness.
On Sep 1, 2010, at 11:00 PM, Mark J. Reed wrote:
> AFAIK, nope, you can't do that. The "whose"/"where" filtering is not
> a general feature of the language; it's special and only shows up in
> some places.
>
> Your best bet is probably a loop.
>
> You could always call out to the shell:
>
> set myFileList to text items of myFiles
> set text item delimiters to linefeed
> set myPNGs to paragraphs of (do shell script "grep '\\.png$' <<<" &
> quoted form of (myFileList as text))
>
> But even I think that's silly in this case. :)
_______________________________________________
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