Skip to main content
Add Automator and mention the crappy shortcut handling in macOS via Keyboard shortcuts
Source Link
Dan Dascalescu
  • 311
  • 1
  • 4
  • 13

How can I switch among application windows using Cmd/Opt + 1/2/3... etc, like on Unity or KDE?

Why? This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an IDE, but also have other apps open, so Alt+Tabbing to the desired window would take more time.

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Windows as well.

I tried using the native Automator and Keyboard shortcuts in System settings, but the shortcut is only picked up in some applications (e.g. Automator, Webstorm), but most applications seem to consume it before it reaches the system.

To create the shortcut with Automator:

  1. ⌘+Space and launch Automator
  2. Choose "Quick action"
  3. Set the "Workflow receives current" to no "input"
  4. In the panel on the left, filter for the Run Shell Script Action and double click it
  5. In the Run shell script text area, replace cat with the command to run your application, e.g. open -a "Google Chrome".
  6. File -> Save and name your shortcut, e.g. Chrome launch/switch to

Assign the keyboard shortcut

  1. ⌘+Space and type keyboard shortcuts to access it in System Settings
  2. Click Services -> General and you'll see your newly created shortcut
  3. Double click none and press your hotkey combo, e.g. ⌘+1
  4. Click Done

I'm looking for a more reliable solution than the system's Keyboard shortcuts.

How can I switch among application windows using Cmd/Opt + 1/2/3... etc, like on Unity or KDE?

Why? This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an IDE, but also have other apps open, so Alt+Tabbing to the desired window would take more time.

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Windows as well.

How can I switch among application windows using Cmd/Opt + 1/2/3... etc, like on Unity or KDE?

Why? This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an IDE, but also have other apps open, so Alt+Tabbing to the desired window would take more time.

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Windows as well.

I tried using the native Automator and Keyboard shortcuts in System settings, but the shortcut is only picked up in some applications (e.g. Automator, Webstorm), but most applications seem to consume it before it reaches the system.

To create the shortcut with Automator:

  1. ⌘+Space and launch Automator
  2. Choose "Quick action"
  3. Set the "Workflow receives current" to no "input"
  4. In the panel on the left, filter for the Run Shell Script Action and double click it
  5. In the Run shell script text area, replace cat with the command to run your application, e.g. open -a "Google Chrome".
  6. File -> Save and name your shortcut, e.g. Chrome launch/switch to

Assign the keyboard shortcut

  1. ⌘+Space and type keyboard shortcuts to access it in System Settings
  2. Click Services -> General and you'll see your newly created shortcut
  3. Double click none and press your hotkey combo, e.g. ⌘+1
  4. Click Done

I'm looking for a more reliable solution than the system's Keyboard shortcuts.

Trim
Source Link
Dan Dascalescu
  • 311
  • 1
  • 4
  • 13

How can I switch among application windows using Cmd/Opt + 1/2/3... etc, like on Unity or KDE?

Reasoning

Why? This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an IDE, but also have other apps open, so Alt+Tabbing to the desired window would take more time.1

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Windows as well.

How can I switch among application windows using Cmd/Opt + 1/2/3... etc, like on Unity or KDE?

Reasoning

This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an IDE, but also have other apps open, so Alt+Tabbing to the desired window would take more time.1

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Windows as well.

How can I switch among application windows using Cmd/Opt + 1/2/3... etc, like on Unity or KDE?

Why? This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an IDE, but also have other apps open, so Alt+Tabbing to the desired window would take more time.

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Windows as well.

Source Link
Dan Dascalescu
  • 311
  • 1
  • 4
  • 13

How can I switch among apps with Cmd/whatever + number keys, as on Unix desktop environments?

How can I switch among application windows using Cmd/Opt + 1/2/3... etc, like on Unity or KDE?

Reasoning

This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an IDE, but also have other apps open, so Alt+Tabbing to the desired window would take more time.1

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Windows as well.