easily copy a files location to clipboard by falko
11 02 2008Some of you asked how to easily copy the location of a selected file in finder to the clipboard. This is a feature of PathFinder but can be setup very easy with Finder + Automator in Leopard (may even work on Tiger).
You simply concatenate three simple items in Automator. First you get the currently selected file from the finder. As you probably don’t want the file location in Apple HFS style (with colons) you have to convert the output. I use the a shell command with sed ( sed ‘s/:/\//g’ )on that and finally put the output to the clipboard. Simply save this workflow as Finder Plug-In in Automator and you have a new context menu entry in Finder to copy the location to your clipboard.
If you messed up your Plugins for Finder you can find them in you home directory under /Users/<username>/Library/Workflows/Applications/Finder/
Simply delete the workflows you don’t need anymore.
[Update:] here’s an archive of the automator workflow. You can unzip it and open in in Automator or copy to the location I mentioned above.
Technorati Tags: Automator, Clipboard, Finder, Leopard










Thanks for making life just that bit easier!
Thank you for the hint! Useful…