Re: Get HFS Path of POSIX Path?
Re: Get HFS Path of POSIX Path?
- Subject: Re: Get HFS Path of POSIX Path?
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 24 Sep 2004 08:29:51 -0700
Title: Re: Get HFS Path of POSIX Path?
On 9/24/04 8:00 AM, "Johnny AppleScript" <email@hidden> wrote:
Thanks Paul,
I knew there was a way of manipulating the POSIX class, but my SA dictionary. Only shows this:
Class POSIX file: A file object specified with a POSIX (slash)-style pathname.
Properties:
POSIX path 'file' [r/o] -- the POSIX (slash)-style path of any file or alias object
I simply could not coerce that underlined object in my brain to get the 'POSIX file' method you reminded me of below.
Is there something wrong with my dictionary, or am I just not reading the first line (Class POSIX file:) properly? Note that it is in black text (i.e., it does not appear in green as my app keywords do), which I took to just be a header line, not a command.
It's class - it doesn't need to be repeated below. The entries listed below a class name are the properties of the class, when they're listed under "Properties:" subheading as here. (There are no elements of this class.) The somewhat confusing thing about this class is its 'POSIX path' property which implies that you need to state
POSIX path of POSIX file "/Folder/File"
whereas in fact we use it this way:
POSIX path of alias "Disk:Folder:File"
I guess the former actually works since it will compile to the latter, but it's a very strange circular presentation.
--
Paul Berkowitz
_______________________________________________
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