• 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
Re: file list with Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >file list with Finder (From: Gakuji Ohtori <email@hidden>)

  • Prev by Date: file list with Finder
  • Next by Date: Re: file list with Finder
  • Previous by thread: file list with Finder
  • Next by thread: Re: file list with Finder
  • Index(es):
    • Date
    • Thread