• 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: david <email@hidden>
  • Date: Sat, 12 Oct 2002 03:29:11 -0400

On Saturday, October 12, 2002, at 03:00 AM, Gakuji Ohtori wrote:

On 2002.10.12, at 01:49 PM, Gakuji Ohtori wrote:

One workaround is to use "as list" such as

set theFolder to choose folder
tell application "Finder"
files in (entire contents of theFolder as list)
end tell

Sorry, I just found out that this workaround still causes an error when theFolder contains one or more items. Any workarounds?

for the record this does work:

set theFolder to choose folder
tell application "Finder"
get entire contents of theFolder
end tell

(you may run out of memory - i did a few times with 640MB ram :)

David in Maine USA
_______________________________________________
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: 
 >Re: file list with Finder (From: Gakuji Ohtori <email@hidden>)

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