Re: as alias bug?
Re: as alias bug?
- Subject: Re: as alias bug?
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 28 May 2008 14:14:41 -0400
I'm not sure, but I suspect it's related to the fact that /dev is just
an ordinary folder, albeit with visible set to false, whilw /net is
the mount point of an automagical filesystem.
On 5/28/08, Philip Aker <email@hidden> wrote:
> On 08-05-28, at 09:17, Mark J. Reed wrote:
>
>> On Wed, May 28, 2008 at 12:01 PM, Philip Aker <email@hidden>
>> wrote:
>>> I have no directory "/net" on my machine.
>
>> You sure about that? Have you looked from the shell? I got one on
>> mine...
>
> Mark, Joe, Deivy, Luther,
>
> I see I do -- I was actually 'cd /';ls -la' but just plain failed to
> see it.
>
> But here's the real problem. As shown on the Carbon list by at least
> three members, FSRefMakePath() fails for "/dev" (the OP is trying to
> determine visibility). So I decided to see what AppleScript could do.
> Fine for /dev but then someone asked why it reports true for /net:
>
> 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:"
>
> How is it /dev is invisible and reports false but net is invisible and
> reports true?
>
>
>
> 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.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
--
Sent from Gmail for mobile | mobile.google.com
Mark J. Reed <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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden