I've written an Applescript which when supplied with a Windows network link, will convert it to the correct smb:// equivelent for the server in our office, mount the network drive, and open the requested folder in Finder.
I have this built in an application which just takes a pasted network path. Ideally I need this to trigger on clicking a link in a Mail.app email message... so that it can check if the link is in the correct format, and if so run the script: attempt to mount the drive and load the folder in Finder.
How would I go about doing this?