[ad_1]
You possibly can add a customized key command to nearly something that has a menu merchandise.
It does not matter the place the merchandise is within the hierarchy, until there are two objects with the identical identify [which is rare.] You possibly can add instructions globally, to all apps which include that menu merchandise, or simply particularly to a single app – whichever you favor.
All the time be sure to’re not utilizing a reproduction command already used for an additional perform, and do not attempt to use this as a one-stop answer to ‘repair’ Mac shortcuts to any you had been used to in Home windows… that by no means ends nicely 😉
Illustrations all on Mojave. I’ll add variants for Ventura after I can get entry for a day. Ventura is visually completely different, however the strategies are the identical.
Let’s use Export Bookmarks… from Safari as our fundamental instance, because it does not have already got a key command.
In System Choice > Keyboard > Shortcuts > App Shortcuts, click on the + button. If you have already got an entry for Safari, if you choose that previous to clicking + then it’s going to pre-populate the menu for you. You then add your menu title, precisely as written, transfer to the final field & press your chosen shortcut. It is going to be added to the menu as quickly as you click on Add.
Notice that some macOS variations demand you utilize an ellipsis … if the menu merchandise has one, some don’t. It is at all times smarter so as to add one anyway. You possibly can generate an ellipsis on an English keyboard utilizing Decide ⌥ ; [opt/semicolon].
Notice that an ellipsis is just not the identical as three stops/intervals.
To switch any key command, use the above technique & merely add your most popular new command, it’s going to immediately be swapped on your new set off.
You can not truly take away a key command that exists by default, however you can change it with a ‘rubbish’ command you’ll by no means want for the rest.
In Safari I by no means use the Studying listing, however used to motion it unintentionally. Not any extra…
F19 solely exists on prolonged keyboards, however including all of the modifiers plus any secret is unlikely to generate any clashes, nor be hit unintentionally.
Modifier keys
You should use any and all modifiers in any mixture, Cmd ⌘ Decide ⌥ Ctrl ⌃ Shift ⇧ . You can not use Shift alone, however you should utilize it together with any or the entire others.
macOS doesn’t differentiate between left and proper variations of those keys [there is no AltGr like in Windows.]
When you do have a menu merchandise that seems twice within the menus, every with a unique function, you then do must direct your key command to the right one, utilizing this syntaxmenu->submenu->merchandise
This may truly occur in reminiscent of Mail, the place your Mailbox names seem on the backside of many alternative hierarchies, relying on perform. On this case, you’d use reminiscent ofMessage->Transfer to->Inbox->AccountName
Are you able to add only one single letter as a set off?
Sure…and no.
This one is difficult and has modified over time. It additionally wants your set off to be ignored when you find yourself in textual content areas, which limits performance considerably.
When you have an prolonged keyboard, then the keys in your numpad can be used as single triggers. Utilizing our Export Bookmarks… instance – right here it’s with simply the only character 1 from the numpad used as our set off.
Numpad keys are completely different from these above qwerty. The Mac is aware of which is which & handles then as separate entities – nonetheless you can not inform by trying on the menu or preferences which is which. You simply must know that is what you set it to.
In case you are on any macOS earlier than Ventura, you can even add a single key command by coming into it as
Fn letter/quantity
It will then simply register as that single key. For example, Fn A offers simply A as right here…
All issues thought of, although, I would not advocate utilizing single keys as triggers – there’s simply an excessive amount of room for error.
For our odd exception – the Preview Signature that does not have a menu identify to motion – let me refer you to user3439894‘s wonderful reply on Preview – add Signature by key command. Discover Menu identify That is fairly complicated, and much an excessive amount of so as to add right here, however it does work very nicely.
Stuff you can’t add key instructions to
Contextual menus – these on proper click on.
If there isn’t any corresponding merchandise in an precise menu, this can’t be performed.
‘Sensible’ menu objects – those who do exist within the common menu, however change relying on context. The one choice for this could be so as to add the identical command to each single attainable variation of that menu’s wording. As generally that would come with the file or merchandise at the moment chosen, take into account this someplace on a scale of ‘unlikely’ to ‘unattainable’, relying on complexity.
There are strategies by which the skilled hacker can change menu objects by manually modifying the related .plist file for an app, however I take into account {that a} bridge too far for this specific QA.
If you wish to examine for your self, Safari’s .plist file is at ~/Library/Preferences/com.apple.Safari.plist
. It solely shows non-default key instructions.
<dict>
<key>Export Bookmarks…</key>
<string>@~$e</string>
</dict>
If anybody finds any outliers, odd circumstances, or issues that seem to plain ‘not work as supposed’, please submit a brand new query & hyperlink again to this one for reference.
[ad_2]