posix path conversion
posix path conversion
- Subject: posix path conversion
- From: Paul Skinner <email@hidden>
- Date: Fri, 14 Feb 2003 16:17:08 -0500
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.
passing the posix style URL back through 'Posix file' is the closest I
can find. It returns...
set f to "file://localhost/Applications/Address Book.app/"
POSIX path of f
-->"/file/::localhost:Applications:Address Book.app:"
Whack! I assume the 'posix path' command is a wrapper for some command
line translation tool. It tries to reverse the translation and gets
pooched.
Any clues?
--
Paul Skinner
_______________________________________________
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.