• 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: List Folders bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List Folders bug?


  • Subject: Re: List Folders bug?
  • From: kai <email@hidden>
  • Date: Thu, 16 Mar 2006 15:15:00 +0000


On 16 Mar 2006, at 11:28, Bill Cheeseman wrote:

When I run this script:

   list folder (path to startup disk) without invisibles

I get this result:

{"Applications", "Developer", "Library", "mach", "mach.sym", "System",
"Users"}


But "mach" and "mach.sym" are invisible, as far as I can see when I look at
the window.


Do others see this too?

Similar situation here, Bill. Gotta be a bug (File! File!). The confusion is reflected in the results from 'info for':


----------------

set d to (path to startup disk as Unicode text)
set l to {}
repeat with f in list folder d without invisibles
set l's end to {name, visible} of (info for (d & f as alias) without size)
end repeat
l


----------------

Finder seems to get it right, though:

----------------

tell application "Finder" to name of startup disk's items

----------------

---
kai


_______________________________________________ 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
References: 
 >List Folders bug? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Timing of folder action scripts
  • Next by Date: RE: InDesign XiNet Picture Wrangler GUI Scripting (Alex Kaczun)
  • Previous by thread: Re: List Folders bug?
  • Next by thread: Re: List Folders bug?
  • Index(es):
    • Date
    • Thread