Re: Parameters for "path to" Command
Re: Parameters for "path to" Command
- Subject: Re: Parameters for "path to" Command
- From: Reinhold Penner <email@hidden>
- Date: Tue, 23 Jul 2002 15:20:38 -1000
Kai,
On Tuesday, July 23, 2002, at 03:58 PM, Kai Edwards wrote:
on Mon, 22 Jul 2002 10:25:59 -1000, Reinhold Penner <email@hidden>
wrote:
Of course, this still won't tell you the four-character codes for the
more obscure ones (or the ones we haven't gotten around to defining);
for that, you need to read Folders.h.
is there any chance we can get a "container of path to me" (e.g.,
"cp2m") without asking the Finder for it? AFAIC, path to me always
requires cumbersome additional string processing, since in 99.99% of
cases, what I really want to know is the path to the enclosing folder.
Reinhold,
I hesitate to suggest this, since your experience in AppleScript
matters is
quite apparent - but won't this produce what you want on your system?...
------------
":" as alias
------------
--> "HD1:" (my root)
Are you sure that expression ever returned the enclosing container of
path to me? If it did, then it's either still broken or it got "fixed"
so it no longer does.
-Reinhold
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.