Filters with "entire contents of"
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