brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Use as Quick Action puts your own shortcut in the Finder's Control-click menu

Finder
~/tips/tip-macos-shortcuts-quick-action-finder

Shortcuts app > double-click the shortcut > Details > Use as Quick Action

Puts one of your shortcuts in the Finder's Quick Actions menu for selected files.

The Finder’s Quick Actions menu is where I want my file chores to live: select some files, Control-click, done. Your own shortcuts can go there too, and it takes one checkbox plus one switch in System Settings.

First tell the shortcut it may act as a Quick Action, then allow it in the Finder:

Shortcuts app > double-click the shortcut > Details > Use as Quick Action
System Settings > Privacy & Security > Extensions > Finder > turn on the shortcut

When you tick Use as Quick Action, Shortcuts adds an input action at the top of the shortcut that says what it accepts. After the switch in Extensions, Control-click a file in the Finder and choose Quick Actions, and your shortcut is in that list. It also shows up in the Quick Actions part of the Preview pane in a Finder window.

Example: a shortcut that resizes the selected photos and saves them as smaller copies before you mail them. Select twenty pictures in the Finder, Control-click, pick the shortcut, and the selection goes in as the input. That’s the kind of job I’d never open an app for.

The caveat is the input. If the shortcut doesn’t appear for a file, its allowed input may not include that kind of item. Apple points you to the input settings and says Files or Folders may need to be allowed. And if it’s missing everywhere, check the Finder switch under Extensions first; ticking the box in Shortcuts alone isn’t enough.

Further reading: Apple: Run a shortcut from another app on Mac, Apple: Limit the input for a shortcut on Mac

More Finder tips Option-Command-Y Quick Actions in the Finder preview pane rotate images and make PDFs Shift-Command-P show or hide the Preview pane Command-Up Arrow open the enclosing folder click the Trash in the Dock All Finder tips (37) All topics

Link