“Get Path” Services plugin for Lion 4

Automator

This is a bit geeky, but maybe some of you have found need of this as well. Sometimes I want to copy the path of a folder or file in the Finder in the Mac OS (in this case Lion). For example, I might want to describe where you should install this file I am providing for you. Once you download it you should install it in the following directory:

/Users/<YourUserName>/Library/Services/

This little file (an Automator Services AppleScript) goes into the Services directory. When you highlight a folder or file and control-click (two-finger click on track pad or right click on some mice) a contextual menu will pop up. Simply select “Get Path” and it will copy the path of that folder or file to your clipboard.

Let me know if this is useful or if there are questions about how to install and use it.

File: Get Path Workflow document.

 

 

Leave a Reply

4 thoughts on ““Get Path” Services plugin for Lion

  • Joey

    Effortless install, and even more important, it works perfectly! I had a similar Service on my Snow Leopard system but lost it when my machine was upgraded (I only backed up “Documents”). Yours works much better than the one I had previously. Thanks for sharing this little gem!

  • Peter D

    Hi and thanks. A problem (at least on Mountain Lion) is if more than one file selected a proper list is not created.

    /Users/me/somewhere/theFile1.txtMacintosh HD/Users/me/somewhere/theFile2.txt

    Instead it should be
    /Users/me/somewhere/theFile1.txt
    /Users/me/somewhere/theFile2.txt