Skip to content

Instantly share code, notes, and snippets.

@HudsonSchumaker
Created March 23, 2024 16:01
Show Gist options
  • Select an option

  • Save HudsonSchumaker/9158915d486f3f10e483a944406bb94b to your computer and use it in GitHub Desktop.

Select an option

Save HudsonSchumaker/9158915d486f3f10e483a944406bb94b to your computer and use it in GitHub Desktop.
macOS open finder with shortcut
1.Open Automator (you can find it using Spotlight search).
2.Click on "New Document" and then choose "Quick Action".
3.In the workflow area, choose "No input" from the "Workflow receives" dropdown, and "any application" from the "in" dropdown.
4.In the Actions library on the left, find "Run AppleScript" and drag it to the workflow area.
5.Replace the default AppleScript code with the following:
tell application "Finder"
activate
make new Finder window
end tell
6.Save the workflow with a name like "Open Finder".
Now, you can assign a keyboard shortcut to this service:
1.Go to System Preferences > Keyboard > Shortcuts.
2.Select "Services" from the left panel.
3.Scroll down to find the "Open Finder" service you just created (it should be under the "General" section).
4.Click on the "add shortcut" button and press Command + K. (example)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment