Re: file list with Finder
Re: file list with Finder
- Subject: Re: file list with Finder
- From: Michelle Steiner <email@hidden>
- Date: Fri, 11 Oct 2002 22:19:04 -0700
On Friday, October 11, 2002, at 09:49 PM, Gakuji Ohtori wrote:
Is this a spec or a bug of Finder? I want the second script to return
{}.
This might provide some insight.
set thefolder to choose folder
tell application "Finder"
class of (entire contents of thefolder)
end tell
With files in the folder:
--> {document file, document file}
With no files in the folder:
--> {}
--Michelle
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.