Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invisible dir in Finder but not kIsInvisible



On 08-05-28, at 03:43, Jean-Daniel Dupas wrote:

…but for /dev, I'm not able to create an FSRef (FSPathMakeRef("/ dev", ...) returns -35), so I don't know how to handle this.


This AppleScript gets it right:


visible of (info for POSIX file "/dev")


so somebody knows.

Or maybe this applescript returns false when an error occurs. It returns true for "/net".

I can't explain that anomaly right now so I've asked on the AppleScript users list to see what anyone thinks.


visible of (info for POSIX file "/dev")
--> false
visible of (info for POSIX file "/net")
--> true
(POSIX file "/dev") as alias
--> error
(POSIX file "/net") as alias
--> "net:"



Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Invisible dir in Finder but not kIsInvisible (From: Olivier Tristan <email@hidden>)
 >Re: Invisible dir in Finder but not kIsInvisible (From: Jesper Papmehl-Dufay <email@hidden>)
 >Re: Invisible dir in Finder but not kIsInvisible (From: "Olivier Tristan" <email@hidden>)
 >Re: Invisible dir in Finder but not kIsInvisible (From: Uli Kusterer <email@hidden>)
 >Re: Invisible dir in Finder but not kIsInvisible (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Invisible dir in Finder but not kIsInvisible (From: Philip Aker <email@hidden>)
 >Re: Invisible dir in Finder but not kIsInvisible (From: Jean-Daniel Dupas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.