“Hot” keys in the macOS operating system help many users to simplify work not only with the system as a whole, but also when working with the Safari browser, text editors, the Trash, Finder and other programs. We recently talked about the Cheat Sheet utility, which allows you to determine the keyboard shortcuts used in a particular application on your computer.
♥ ON TOPIC: Safari no longer supports unsafe extensions on macOS: workarounds.
But what if a particular application does not have the appropriate hotkeys for a particular function? In this tutorial, we’ll show you how to create your own keyboard shortcuts for any program on macOS.
For an illustrative example, here is a standard image editing application. View… In the editorial office, we have to very often use this program to prepare pictures.
Unfortunately in View there are no hotkeys by default for frequently used functions Export and Resize.
Function Export helps to save images in the desired format, and Resize – resize them accordingly.
To perform these actions, you have to open the menu File and Instruments and already there, select the desired option. This is not very convenient.
♥ ON TOPIC: Mac for Dummies: 30 Useful macOS Tips for Newbies.
How to create custom keyboard shortcuts for any program on macOS
In order to add a new keyboard shortcut, you need to do a few simple steps.
1. Open the context menu of the application and find the option for which you want to assign a keyboard shortcut. In our example, this is the menu File and option Export……
2. Open System settings, Go along the path: Keyboard → Keyboard shortcut…
In the window that appears, select Program shortcuts and click on “+”…
3. In the menu that opens, select the required program (in our case View). Then enter the name of the command for which you want to assign a keyboard shortcut (it should be written exactly the same as in the program itself, for example, in View options Export and Customize size are indicated with ellipsis “…” (that’s why), so we indicate – Export… and Customize size …).
The last step is to assign a keyboard shortcut to an action in the program. In our example, we assign the combination ⌘Cmd + D for the team Export… and ⌘Cmd + E – for option Customize size….
If you did everything correctly, from now on the shortcut keys you have set will be displayed in the context menu of the program.
Using this method, you can also remap the standard keyboard shortcuts.