On 14 Nov 2013, at 14:46, Jason Davies wrote:
<file:///Volumes/Macintosh%20HD/Users/...>
correction (and try right clicking in it if it doesn't show as a link,
and/or selecting it then right clicking)
<file:///Volumes/Macintosh%20HD/Users/>
NOw my problem is getting the relative path (starting from the user as a
tilde) instead of the full path. Any applescripters around who can help
me? POSIX is getting the full name and google is not helping on this.
The script I'm using is this:
tell application "Finder"
set sel to the selection as text
set the clipboard to "<file://" & POSIX path of sel & ">"
end tell
--
You received this message because you are subscribed to the Google Groups "Sussex
Mac User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/smug.
For more options, visit https://groups.google.com/groups/opt_out.