Re: Doing a boolean on a list [Correction]
Re: Doing a boolean on a list [Correction]
- Subject: Re: Doing a boolean on a list [Correction]
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 21 Dec 2001 16:18:04 -0500
- Organization: [very little]
>
> Date: Fri, 21 Dec 2001 02:49:25 -0700
>
> Subject: Doing a boolean on a list
>
> From: Gnarlodious <email@hidden>
>
> To: "AppleScript (Gnarlodious)" <email@hidden>
>
>
>
> How to?
>
>
>
> set x to the entries in dropped [opt-L]
>
> whose types are in {"ttro", "TEXT"} and [opt-L]
>
> creator is "ttxt" to a depth of -1 as alias
>
>
If "dropped" is a list this won't work because "the entries in" only
>
works on containers.
>
>
Other than that, get rid of the "and". It's not part of Akua's syntax.
>
The "creator is" should be changed to "whose creator is in" and the
>
object for that parameter is a list, just like the one for file type.
Oops. The correct syntax is "whose creators are in".
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[12/21/01 4:17:59 PM]