• 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
Filters with "entire contents of"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filters with "entire contents of"


  • Subject: Filters with "entire contents of"
  • From: Michelle Steiner <email@hidden>
  • Date: Sat, 16 Oct 2004 11:30:35 -0700

Why don't the first three variations work? (using Script Editor 2.0, AS 1.9.3, Panther 10.3.5)

-- Michelle

set f to choose folder
tell application "Finder"
   (entire contents of f) whose label index is not 0
end tell

-->  "Can't get entire contents of alias
\"Dora:Users:michelle:Desktop:speech class:\" whose label index  0.
Access not allowed."

Changing the line to
   get (entire contents of f) whose label index is not 0

--> "Can't get entire contents of alias
\"Dora:Users:michelle:Desktop:speech class:\" whose label index  0.
Access not allowed."

Changing it to
   (get entire contents of f) whose label index is not 0

--> "Can't get {list of entire contents of the folder}  whose label
index  0."

But changing it to the following yields the correct result:
(every item of entire contents of f) whose label index is not 0

--
My body is not a democracy: you don't get a vote.

_______________________________________________
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


  • Follow-Ups:
    • Re: Filters with "entire contents of"
      • From: Axel Luttgens <email@hidden>
    • Re: Filters with "entire contents of"
      • From: Martin Orpen <email@hidden>
  • Prev by Date: SV: Acrobat "print pages" advanced settings
  • Next by Date: Re: Filters with "entire contents of"
  • Previous by thread: [OT] Mac CAD software
  • Next by thread: Re: Filters with "entire contents of"
  • Index(es):
    • Date
    • Thread