I'm trying to get the network file page e.g. smb://server.local/tech/file.pdf
You can see this information on a files "Get info" window but I can't see a way of getting this with the command line (or even Applescript).
Edit: I currently have this:
on open filePath
set filePath to POSIX path of filePath
set the clipboard to filePath as text
end open
But it only copied the mounted path and not the smb:// path.
Automator will do this.
- Ask For Servers
- Copy to Clipboard
Download it here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With