Re: posix path conversion
Re: posix path conversion
- Subject: Re: posix path conversion
- From: David Hood <email@hidden>
- Date: Sat, 15 Feb 2003 13:24:08 +1300
On Saturday, February 15, 2003, at 12:18 PM, John Delacour wrote:
Further to my last message, here's one way to do it. There's probably
an even simpler way in the shell.
This is the best I've been able to do:
set ur to "file://localhost/Applications/Address Book.app"
tell application "Finder" to set whereAmI to name of startup disk
set Macpath to whereAmI & (do shell script " echo " & ur & " |
tr '/' ':' | sed s/file:::localhost//")
return Macpath
Regards,
David Hood
_______________________________________________
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.