Automator Workflow to convert a file path
For the creative department that I manage, we have a file server where we place comps and proofs of artwork for business owners to review. What’s slick is that Apache is running on the file server and the volume that I am referencing is within web root of a virtualhost subdomain that has been set up. This allows me to email a URL to the business owner that loads the comp or proof up instantly in their default web browser. In the past, I have used the contextual menu item PathSnagger or dragged the file from the Finder into Safari to get the file path and then manually change the begginning from…
/Volumes/GROUP/projects/56465/proofs/example_file.png
…or…
file:///Volumes/GROUP/projects/56465/proofs/example_file.png
…(respectively) to…
http://projects.example.com/56465/proofs/example_file.png
Well, I do this a lot throughout the day and finally tired of it enough to be motivated to write an Automator workflow to do the URL conversion automatically.

This allows me now to simply right-click on the file, select my workflow from the Automator contextual submenu, and then paste the converted path into an email.

About this entry
You’re currently reading “Automator Workflow to convert a file path,” an entry on BYU Mac Users Group
- Author:
- Wade Preston Shearer
- Published:
- 05.17.07 / 12:47
- Category:
- Articles
No comments
Jump to comment form | comments rss [?] | trackback uri [?]