How can you create a keyboard shortcut to bring up the Finder, as if you had clicked on the Finder on the Dock?
- Launch Automator (in Utilities)
- Menu: File -> New Window
- Choose: Quick Action*
- Worflow receives: no input
- In Utilities on left, double click: Run Shell Script
- Shell: /bin/zsh
- Enter for the shell command: open -a Finder
- Save the service with whatever name you want
- In System Preferences, click on Keyboard
- Click on Shortcuts at the top and then on Services at the left
- On the right part of the window, scroll down to General
- Find the service that you just saved, make sure it is checked, and set a unique hotkey for it
- Quit the System Preferences
Enjoy your new hotkey to bring up the Finder.
* In versions of macOS before macOS Mojave, the option was called Service.
- Open Automator and choose the service template.
- Change the input type from selected text to no input.
- Add a Launch Application action and drop Finder on the pop-up button from /System/Library/CoreServices/. (The dialog for choosing an application does not allow selecting Finder.)
- Save the service and give it a shortcut in System Preferences > Keyboard > Shortcuts > Services.
The service only opens a new window if there is no existing Finder window. To open a new window every time, add a Get Specified Finder Items action, drop the folder you want to open on the list, and then add a Reveal Finder Items action.
Further reading if you're interested in doing more with Automator: http://www.macosxautomation.com/automator/
It's actually easy. Just press option ⌥+command ⌘+spacebar. That will open a new Smart Finder window. You then can navigate from there. It works on a system level no matter what application you're running.
No need for scripts or complicated setups.
In the future please search for the topic before creating a post :)