

#Open terminal location in finder for mac os x
(* Open Terminal Here A toolbar script for Mac OS X 10.3 Written by Marc Liyanage See for more information about toolbar scripts. It does have the "issue" that if you drag an app to it, it will open in the ".app" directory, but that's the expected behavior. I dragged in to my toolbar and it works great. This one works more smoothly for both drag and drop and a click. Here's a modified version of Marc Liyanage's Open Terminal Here that does use the perl script.

This saves duplication of effort and long drag and drop operations. Set frontWinPath to (get POSIX path of frontWin)ĭo script with command "cd \"" & frontWinPath & "\""Įnd runSave the script as an application and drop it in the Finder toolbar (or in the Scripts folder or use one of the available utilities to assign it a keyboard shortcut) and then each window has a handy link to the terminal which will open a new window navigated to that folder. Set frontWin to folder of front window as string Well, I finally got around to creating an Applescript that does it for me, here it is: on run So then I would have to open the terminal and navigate to that same location (or drag the folder while holding command-option onto the Terminal icon in the dock). I often want to do something in OS X and find that I need root when I have navigated to a specific location in the Finder.
