Open Terminal from Finder Window

– Create an automator application with the following AppleScript and save it somewhere.

on run
  tell application “Finder”
      set frontWin to folder of front window as string
      set frontWinPath to (get POSIX path of frontWin)
      tell application “Terminal”
        do script with command “cd “” & frontWinPath & “””
      end tell
    on error error_message
      display dialog error_message buttons¬
      {“OK”} default button 1
    end try
  end tell
end run

– Right-click the finder toolbar and customize it by dragging the automator application onto the toolbar.
– Change the automator application icon by running “Get Info” on as well as the automator application, and dragging the large Terminal icon onto the icon for the automator application. It should change in the Finder.
– Open a Finder window, navigate to a folder, click the button.
Make this

And you’ll get this
Then you’ll get this
By | 2011-10-28T00:25:00+00:00 October 28th, 2011|Uncategorized|1 Comment

One Comment

  1. Anonymous October 28, 2011 at 4:36 pm - Reply

    ..or, install Go2Shell from the AppStore. It’s free.

Leave A Comment

+ 72 = 79