• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Whose-Filtering a Text List???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Whose-Filtering a Text List???


  • Subject: Whose-Filtering a Text List???
  • From: Jim Deacutis <email@hidden>
  • Date: Wed, 10 Oct 2001 03:30:44 -0400

I'm having trouble with the syntax of a "whose" filter.

What am I doing wrong??
And what does the error message mean??

!!!!!!!!!!!!!!!!! Thank you in advance !!!!!!!!!!!!!

The script segment is below:

set redoList to "OL"
set FileList to {} as list

--doThese, doThose can each be true or false, independently
if doThese then
set FileList to FileList & {"Chs.", "OLs."} as list
end if
if doThose then
set FileList to FileList & {"Ch.", "OL."} as list
end if

set redoListTest to character 1 in redoList
set reducedFileList to (every item in FileList whose first character
does not contain redoListTest) as list

--results in an error here
--> Can't get {"Chs.", "OLs.", "Ch.", "OL."} whose not 32.


  • Follow-Ups:
    • Re: Whose-Filtering a Text List???
      • From: Jim Deacutis <email@hidden>
  • Prev by Date: Deleting hidden files
  • Next by Date: Re: Whose-Filtering a Text List???
  • Previous by thread: Re: Deleting hidden files
  • Next by thread: Re: Whose-Filtering a Text List???
  • Index(es):
    • Date
    • Thread