Re: posix path conversion
Re: posix path conversion
- Subject: Re: posix path conversion
- From: John Delacour <email@hidden>
- Date: Sat, 15 Feb 2003 00:00:59 +0100
- Mac-eudora-version: 6.0a6
At 4:17 pm -0500 14/02/03, Paul Skinner wrote:
I seem to vaugely recall a command for converting posix paths to
applescript paths. Am I mis-remembering?
I could convert it myself, but I really think I'm missing something.
I have a path like so...
file://localhost/Applications/Address Book.app/
this is the url of a file as returned by the finder.
I'd like to convert it to an alias, path, file ref, etc.
That's a URL, not a POSIX path. The POSIX path would be:
"/Applications/Address Book.app/"
POSIX file result
I'm not aware of any way of converting a URL to a Mac pathname with
normal AppleScript tools.
JD
_______________________________________________
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.