Re: List Folders bug?
Re: List Folders bug?
- Subject: Re: List Folders bug?
- From: Daniel Jalkut <email@hidden>
- Date: Thu, 16 Mar 2006 11:17:12 -0500
The bug here is that the indicated items are not really "invisible" -
they're just being omitted by the Finder.
If you have dev tools installed try this:
cd /
/Developer/Tools/GetFileInfo mach
attributes: avbstclinmedz
Observe the lower case v, meaning "not invisible."
Now try on another item like "Temporary Items" and observe the upper
case V.
So it appears that AppleScript is obeying the actual state of the
items and the Finder is just kindly omitting them to keep you from
being annoyed by them :)
Daniel
On Mar 16, 2006, at 6:28 AM, 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?
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40red-sweater.com
This email sent to email@hidden
_______________________________________________
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