outaTiME

Add a ‘Go to Parent Folder’ button to the toolbar

Posted in development, macos by outaTiME on March 27, 2007

One detail that I’m actually missing from Windows is a Finder toolbar button to jump one folder up in the hierarchy, ie to the parent folder. So I came up with the following ugly but still functionally work-around. First create an AppleScript app with just this line of code:

tell application "Finder" to set target of window 1 to the container ¬
of target of window 1

Then save it as an application, and quit Script Editor. Now show the contents of the application package you just created by control-clicking on the folder and then choosing Show Package Contents from the pop-up menu. Open the Contents folder and edit the info.plist file in your editor of choice. Adding the following will make the program faceless, so that it does not appear in the Dock when launched:

<key>NSUIElement</key>
<string>1</string>

Finally create a nice i…

(Via MacOSXHints.com.)

Leave a Reply