Hi Guys,
What is the syntax for links to network folders using afp. I would like staff to send links to files / jobs over email.
I’m currently trying :
afp:///
Although is mounted on the my desktop, this doesn’t work.
I’ve also tried :
afp://Server//
This also doesn’t work.
Looking at the “get info” for the share on the desktop, it looks like that is a Mac Address in the link info. Tried this also but to no avail. Ie: afp://[fe:00:95:34:34]/
Server is MacOS X 10.4 Server.
The end goal is to have a script that will copy a link into an email from a selection that post sending the receiver can link on to automatically open the target folder on the desktop. (Assuming the share is already mounted).
Just roughly
set trgtfldr to the (selection as alias)
set netlink to ("afp://" & trgtfldr) as string
tell application "Mail"
set newMessage to make new outgoing message with properties {subject:"network link", content:netlink}
-- Add in code for recipient, etc, etc
send newMessage
end tell