Re: List Folders bug?
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