

I wanted to use ^⌘T but it would not work, so I settled for: ^⌘\ Additionally, the assigned keyboard shortcut cannot be one that is already in use by Finder.Note: After assigning it a keyboard shortcut, you may have to trigger the new service one time with the mouse from the Finder > Services menu for it to work subsequently using the assigned keyboard shortcut.It should show under the General section of the aforementioned path. Open Terminal Here with the settings as shown in the image below.

#Open terminal from folder mac code
Ĭreate an Automator Service adding a Run AppleScript action, then replace the default code with the example AppleScript code shown below. One way to open a Terminal window at the location of the current Finder window, using a keyboard shortcut, is to use AppleScript in an Automator Service ( Quick Action in macOS Mojave), then assign it a keyboard shortcut in: System Preferences > Keyboard > Shortcuts > Services >. Well the built in service isn't available because an individual Folder isn't selected and what's selected in the Sidebar doesn't count. This may be fine for one's particular usage, but if not, then here is an alternative.įor example, say you have a Finder window open to your Downloads folder, which is selected in the Sidebar, and you want to open a Terminal window there. So if you have a Finder window open but no additional folder selected, it is not available. In System Preferences > Keyboard > Shortcuts > Services under Files and Folders there is a New Terminal at Folder shortcut which you can assign a keyboard shortcut to however, it only appears on the Finder > Services menu, or the right-click context menu, when a Folder is selected.
