Re: file list with Finder
Re: file list with Finder
- Subject: Re: file list with Finder
- From: "Marc K. Myers" <email@hidden>
- Date: Sat, 12 Oct 2002 18:13:19 -0400
Date: Sat, 12 Oct 2002 11:49:10 +0100
To: Applescript-Users <email@hidden>
From: John Delacour <email@hidden>
Subject: Re: file list with Finder
At 12:28 am -0700 12/10/02, Paul Berkowitz wrote:
1) It's very common in many apps that certain properties have to
first be
evaluated before you can get a property of the property.
YES. And there are two fail-safe methods of ensuring this:-
set varFolder to choose folder
tell app "Finder"
files in (get entire contents of varFolder)
end
JJJJJJ
set varFolder to choose folder
tell app "Finder"
entire contents of varFolder -- optional get
files in result
end
Both of these return empty sets because the list resulting from "entire
contents" isn't a Finder container object and therefore can't contain
Finder objects.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[10/12/02 6:12:41 PM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.