Browse the docs

Hide app

Hides an app, or every open app except the ones you keep.

Hide app

Keyboard Maestro: HideSpecificApp

Details #

Hides the app, the same as choosing Hide from its menu (⌘H). Its windows go out of sight and the app keeps running. Activate app brings it back.

Name the app with app (a bundle id or a name) or bundleId. To hide many, set all to true. That hides every regular app except Finder and Switchboard. Add apps to except to keep them visible too.

If the app is not running, the step does nothing and says "wasn't running". The output lists the apps that were hidden.

Parameters #

ParameterTypeRequiredValuesWhat it does
allyes / noHide every regular app, except Finder and Switchboard.
apptextThe app to hide, by bundle id or name. Required unless all is on.
bundleIdtextAnother spelling of app.
exceptlist of textWith all, a list of apps to leave visible. An app given together with all is also left visible.

Every step also accepts label, onFailure, timeout and dryRunSafe.

Examples #

Hide everything except Notes
Do
  1. Hide all apps except Notes
  2. Activate ‹app›
Open in Switchboard to try it

Gotchas #

  • Hidden apps are still running and still use memory. Use Quit app to stop them.

  • The step fails with "needs an app" if there is no app, bundleId or all.

See also #

Quit app, Activate app, Move or resize window