Automator script to copy file path, change parts and save to clipboard

  • Thread starter Thread starter Dan W
  • Start date Start date
D

Dan W

Hi I was hoping somebody could help.

I have an automator script to copy the path of a file in OS X to the clipboard which produces the following:

/Volumes/Data/Creative Services/

I need to share this link with other users, who are normally on a pc I need to send the beginning of the link as follows.

W:/Creative Services/

I send a lot of links and was hoping that there is a way for automator to copy the initial link /Volumes/Data/Creative Services/

and replace /Volumes/Data with W: automatically before saving to the clipboard.

For reference this is the simple script I currently use.

Screen Shot 2016-06-01 at 10.45.08.png
 
Hello and welcome.

I don't have a lot of experience with AppleScript/Automator. The folks over at MacScripter should be able to help you out.

C
 
Back
Top