Hi there
Is there a way to retrieve the server path name of the selected item within finder with applescript?
I've tried the properties URL and POSIX path but they just point to the local file system instead of the server path for example: smb://server/folder1/folder2/filename
code so far:
tell application "Finder"
set selectedItem to the selection as alias
URL of selectedItem --ouput: file://localhost/Volumes/server/folder1/folder2/filename
POSIX path of selectedItem --output: /Volumes/server/folder1/folder2/filename
end tell
thanks for the help