Apple - Always open the finder in new tab

Currently this is possible on macOS Sierra with the new "prefer tabs" feature.

To enable it, go to System Preferences > Dock > Prefer tabs when opening documents and select Always.

What are the downsides to this? Opening a folder will force open it in a new tab. That means that if you have a Finder window open in another space, the folder will be opened in the background with hardly any visual feedback. This may prevent you from knowing if a folder actually has opened and forces you to manually go to the Finder window to see the contents of what you opened. Additionally, this option enables the feature is all apps, not just in the Finder.


As noted by another answer: you can't have all new Finder calls open as tabs in one Finder window. Cool idea though.

And, as noted by another answer: you can control the behaviour of Cmd-Click actions in Finder so they open new tabs instead of new windows by going to the Finder preferences (Cmd+) and making sureOpen folders in tabs instead of new windows` is selected in the General tab on the Preferences pane:

Finder preferences for tabs instead of windows

The reason I want this is so that I have only one Finder window with multiple tabs. If apps keeps on opening new window you may miss the opened folder.

The above preference settings for Finder won't stop apps from opening new windows. You can, however, use Finder's Window > Merge All Windows menu item to pull all open Finder windows in to the current, front-most, Finder window as tabs. This will address your straggler concerns, though in an inelegant manner I'm afraid.

You could use this Alfred workflow to trigger the Merge from Alfred. Or, if you're a LaunchBar user like me, here's a little AppleScript that'll do it:

on gui_scripting_status()
  tell application "System Events"
    set ui_enabled to UI elements enabled
  end tell
  if ui_enabled is false then
    tell application "System Preferences"
      activate
      set current pane to pane id "com.apple.preference.universalaccess"
      display dialog "The GUI scripting architecture of Mac OS X is currently disabled." & return & return & "To activate GUI Scripting select the checkbox \"Enable access for assistive devices\" in the Universal Access preference pane." with icon 1 buttons {"Okay"} default button 1
    end tell
  end if
  return ui_enabled
end gui_scripting_status

on click_menu(app_name, menu_name, menu_item)
  try
    tell application app_name
      activate
    end tell
    tell application "System Events"
      click menu item menu_item of menu menu_name of menu bar 1 of process app_name
    end tell
    return true
  on error error_message
    return false
  end try
end click_menu

if gui_scripting_status() then
  click_menu("Finder", "Window", "Merge All Windows")
end if

It's based off of this handy code blob. It'll work for other programs too like Safari. You need to enable access for assistive devices on your Mac for that script to work.


This is currently not possible. Opening a destination in Finder from outside Finder (such as a Reveal in Finder or selecting a folder from a Dock stack) will create a new Finder window.

Tags:

Finder