Wilson Mar bio photo

Wilson Mar

Hello!

Calendar YouTube Github

LinkedIn

Stay focused and do things faster with Keyboard Shortcuts, HotKeys, and StreamDeck buttons

US (English)   Norsk (Norwegian)   Español (Spanish)   Français (French)   Deutsch (German)   Italiano   Português   Estonian   اَلْعَرَبِيَّةُ (Egypt Arabic)   Napali   中文 (简体) Chinese (Simplified)   日本語 Japanese   한국어 Korean

Overview

This topic is about how you, a Mac user, can stay focused so you can do things faster with less effort by configuring your keyboard to automate common actions.

Those who do stuff without taking their eyes off the screen ARE more productive than those who constantly look away to reach for the mouse.

You’ll feel less stress when you can get things done like a pro. Eventually, people will be watching how you use your keyboard and NOT use your mouse. It’s not fair, but they will evaluate your overall “value” by how much you use your keyboard.

Those who figured out ways to save time demonstrate that they are “resourceful” and thus be able to help others save time. So they are seen as more “valuable” to the organization.

TL;DR Summary

So develop the habit of pros by making a habit of following these tips:

  1. Know the names and icons for “Modifier Keys” on Apple keyboards.
  2. Learn to touch-type.
  3. Avoid reaching for the mouse.
  4. Use the basic Keyboard Shortcuts for macOS.
  5. Customize defaults for speed (like the pros)
  6. Use more Hotkey app
  7. Get a Stream Deck for one-touch automated action

PROTIP: Optimize for keys we use most, and avoid common mistakes with keys we accidentally press.

Swap Command and Control?

PROTIP: Some who are used to Windows and need to go back and forth prefer to switch the Mac’s control and command keys in order to get to all such keys using thumbs. This would also allow you to press two keys at once by pressing between the keys, thus able to perform most combinations using your hands.

  1. Click the entry for “Control (^) Key:” and select “⌘ Command”.
  2. Click the entry for “Command (⌘) Key:” and select “^ Control”.
  3. Click OK.
  4. Press control+Q or click the red x to dismiss the System Preferences dialog.

Special (Modifier) Key Names and Symbols

REMEMBER: “Special” keys on a Mac’s keyboard are represented by both symbols and names:

Basic Keyboard Shortcuts

PROTIP: Save time (and look like a pro) by using the most common keyboard shortcuts for macOS:

The most common shortcuts I use all day long:

  • ⌘+Tab to switch among programs open.

Within a browser such as Safari or Chrome:

  • ⌘+~ (backtick) to switch among open windows.
  • ⌘+W to close a tab when I’m done with it.
  • ⌘+Shift+B to hide/unhide the Bookmarks bar.

Touch Typing Aids

PROTIP: Although most keyboards have a bump on “F” and “H” (“Home”) keys, I and some others put tiny drops from a glue gun on strategic keys so I can orient my finger to reach strange keys in the dark without looking:

  • 2, 5, 8, 0
  • }
  • control
  • .

PROTIP: I find (RGB) keyboards that light up keys in different colors distracting when I don’t want to look at the keyboard at all.

Avoid reaching for the mouse

This may be a generalization. But many top coders like the vi text editor because it doesn’t demand use of difficult-to-reach keys or mouse which require users to take their eyes off the screen. DevSecOps coders have no choice because some operating systems provide only vi (such as during Kubernetes exams).

VSCode (Visual Studio Code) is what most people use now. It has a keyboard shortcut for everything.

  1. Within VSCode, press command + shift + P to open the Command Palette. It lists the most recently used commands you can select by cursor then Return key. Or type the first few letters of a command to narrow the list:
  2. Type “keyboard shortcuts” to select “Help: Keyboard shortcuts reference” to open a web page with a PDF cheat sheet listing keyboard shortcuts:

    https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

  3. Alternately, type “keyboard shortcuts” to select “Preferences: Open Keyboard Shortcuts” to open a new file listing all keyboard keybindings (aka shortcuts).

    PROTIP: Experiment with each one on a throwaway file.

    VIDEO:

  • ⌘+B to hide/unhide the left Explorer pane. Instead, use …
  • ⌘+P for the Quick Open dialog, which provides a search box:
    • Go to File… (Ctrl+P on Windows/Linux)
    • @ symbol to go to a symbol in the current file
    • : symbol to go to a line number in the current file
    • symbol to go to a word in the current file

    • @# symbol to go to a word in a file
    • @file symbol to go to a file

  • ⌘+~ (backtick) to toggle the Terminal pane at the bottom. I usually have it closed and …
  • ⌘+Tab to switch to a Terminal program with a full set of lines and history.

    Scrolling:
  • ⌘+up or down arrow to get to the very top or bottom.
  • ⌘+shift+up or down arrow to move the current line up or down.

  • ⌘+\ splits the editor window (but 1Password hijacks this key)

Automator shortcut to mute

It’s annoying and rude to impose the clicky-clack of your keyboard. In video recordings, it’s disruptive to hear background conversations and other noise.

  1. Apple’s default way to mute the microphone is to click the Apple icon, open Settings, Sound, click the Input volume slider.

    Keep this open as we continue the steps below.

    That’s a lot of clicks when quick action is needed during a Zoom call.

    Zoom and Microsoft Teams provide a mute button, but it’s also too slow to find.

  2. The $4.99 MicDrop.app which provides a mute button icon on the Apple Menu Bar at the top of screens. For those who don’t want to fiddle with a mouse to find it or hide their menu menu when Zoom is in full-screen mode, it can be invoked by a customizable keyboard shortcut to mute and unmute the microphone.

    micdrop.webp

    For those loath to install a 3rd-party app in fear of getting potentially infected by it, this article describes how to create a keyboard shortcut to mute the microphone using a script run by a utility that comes with macOS: Automator.app. Coding Automator scripts is a useful skill to learn.

    The above approach of installing an app avoids the disadvantage of opening up a potential vector for hackers when ANY and ALL AppleScript scripts are allowed to run on your computer.

    key-script-allow-632x544.png

    Apple really needs to provide a way to allow only specific scripts to run.

    Anyway, below are those ways.

  3. </a>Click on the “Get Shortcut” blue icon to install Apple’s Mute/Unmute Mic shortcut using the Shortcuts.app that comes with macOS.

Alternatively, you can create your own shortcut script using the instructions below.

  1. Press command + spacebar to open the Spotlight search box.
  2. Type “automator.app” and press Enter to select it among options. Automator’s Finder window opens.
  3. Ignore the Finder dialog that Automator.app opens to. (The folder is within your iCloud.)
  4. Press Command + Shift + \ for the Automator app menu at the top of the scren.
  5. Press Command + N to click on the Quick Action cog icon for the Quick Action wizard.
  6. For “Worflow receive current”, click “Automatic” for the drop-down menu. Select “no input”.
  7. For “Variables”, click inside the search box type “Run” to select “Run Applescript”.
  8. Click inside the script window opened and delete all the default text.
  9. Highlight this code, copy and paste into the script window:

    on getMicrophoneVolume()
      input volume of (get volume settings)
    end getMicrophoneVolume
    on disableMicrophone()
      set volume input volume 0
      display notification "Microphone OFF" with title "Sound input" subtitle "Disabled" sound name "Submarine"
      say "Microphone Off"
    end disableMicrophone
    on enableMicrophone()
      set volume input volume 100
      display notification "Microphone ON" with title "Sound input" subtitle "Enabled" sound name "Ping"
      say "Microphone ON"
    end enableMicrophone
    if getMicrophoneVolume() is greater than 0 then
      disableMicrophone()
    else
      enableMicrophone()
    end if
    

    https://www.youtube.com/watch?v=ys5uM2wO_T8

  10. Click the arrow button under the script to run the script for the first time.
  11. Click “OK” to allow the pop-up “Automator.app” would like to access the microphone.
  12. Say something. The “Input level” in the Settings Sound dialog should not respond to your speaking.

  13. Confirm that the Input volume is now 0 (zero) on the Settings Sound dialog.
  14. Run again and the Input volume should be 100.
  15. See if that is too loud. Adjust the number in the script.
  16. Press command+S to save the script as a file named “mic-toggle”.
  17. Press command+Q to quit Automator.

  18. Enable Automator to control your computer. VIDEO:

    Add keyboard shortcut

  19. In Apple System Preferences, click Keyboard on the left menu, then “Keyboard Shortcuts…”.
  20. Click “Services” on the left menu.
  21. Click “General” on the right menu to expand it.
  22. Click to check “mic-toggle” if it’s not already checked.

    TODO: Shows fn+command+shift+F12 or shift+option+command+M or command+Shift+M for MicDrop.app

  23. Click “Done”.

Remap Modifier Keys

You can change them using this dialog:

mac-modifier-control-399x224-27632

Caps Lock to Escape

BLAH: The Esc (Escape) key is too far North on the keyboard and forces some to look down on the keyboard. And the Caps Lock key is too close to keys, causing problems with accidental password entry and lockouts.

BLAH: It’s annoying when all of a sudden everything I type is in caps. That happens because I accidentally had my hand too far to the left when I intended to press the A key.

Anyway I’ve gotten used to typing all caps by holding down the shift key with my left or right hand.

PROTIP: Make the caps lock key work like the Esc key:

  1. To open System Preferences, click the Apple icon at the upper-right corner to select it

    keyboard-sys-pref-292x309

    or get that dialog directly from anywhere by pressing (at the same time) control + command + comma. A reminder of that is to the right of “System Preferences” menu item.

  2. Type K to reveal a list (without clicking the search box).
  3. Cursor down to highlight Keyboard.
  4. Press return (Enter) to open it.

  5. Click “Modifier Keys” at the lower-right corner.
  6. Click the entry for “Caps Lock ⇪ Key:” and select ⎋ Escape.

    NOTE: If you have more than one keyboard, repeat for each keyboard.

Add Keyboard Shortcut to Sleep

PROTIP: Putting your laptop to sleep is an important privacy procedure according to HIPAA and other regulations. Also, sleeping lets your laptop rest, which makes it last longer and consumes less electricity.

So make it easier to put your laptop to sleep.*

  1. In the screen above, notice “Sleep” has no reminder of its Keyboard Shortcut, but there is:

    Command ⌘ + Option ⌥ + Eject ⏏

  2. If there is a Terminal instance open, the machine does not go into sleep until you manually respond to this pop-up dialog:

    macos-term-process-260x218

  3. Return to the Keyboard Shortcuts following instructions above, but this time
  4. Click “Shortcuts”

    keyboard-app-shortcuts-1274x784

  5. Click “App Shortcuts” in the left menu.
  6. Hit the “+” button to add an item.
  7. Leave Application default at “All Applications”.
  8. For Main Title: type “Sleep” (the exact name of the menu command).
  9. Click in the Keyboard Shortcut: field
  10. Press Command + Option + Eject
  11. Click Add button.

Select File | New Shortcut from the menu. Shortcuts keyboard shortcut: You can also press Command N, of course. Drag and drop the Run Shell Script action to the shortcut area. Find Run Shell Script: You can find Run Shell Script under Terminal app or search for shell script. If scripting is disabled: – Select Shortcuts | Preferences… from the menu. – Go to the Advanced tab. – Enable Allow Running Scripts. Type pmset sleepnow under Run Shell Script. Now type a name for the new action over Run Shell Script in the title bar. Example: Use something like Put Mac to Sleep.

There is a difference between Sleep and Hibernate https://ladedu.com/how-to-understand-sleep-vs-hibernate-on-a-mac/

On a Terminal, the command is “pmset sleepnow”.

Magic Keyboard

A Bluetooth-connected wireless Apple Magic Keyboard solves several deficiencies of the keyboard that comes with MacBook Pro laptops:

  • Adds the control key on the right side, missing on the standard keyboard
  • Adds keys like on Windows keyboards: delete (so you don’t need to press fn+delete to backspace), Home, End, Page Up, Page Down
  • Adds function keys f13 thru f19 to map one-key input of your most frequent URLs or passwords

  • It’s quieter
  • One keyboard that works with iPads as well
  • Frees you from the screen for more ergonomic sitting positions, especially if you have an additional screen

However, every week or so you would need to charge it by plugging in a Thunderbolt cable (same one as iPhone and Magic Mouse).

Awkward fn Keys need eyes

However, on the 2017 Mac without a visible Function keys, key combinations to reveal those button are so awkard to use that it’s faster and easier to use a mouse or trackpad.

Since the fn and control keys are only on the left side of a MacBook keyboard, using them requires a Carpel-tunnel Syndrome-inducing moves of the left two fingers:

  • fn + control + F3 to highlight the Dock icons, which are by default at the bottom of the screen, but which I prefer to be at the right.

  • fn + control + F2 to highlight the Apple menu icon at the upper-left corner. Press down for its menu:

    macos-apple-menu-236x312

  • fn + control + F8 to highlight the Apple Top-right Menu.

On 2020+ keyboards (after Apple came to their senses):

  • control+F2 to highlight the Apple Top menu.

  • control+F3 to highlight the Dock at the bottom of the screen.

PROTIP: The fn key is easy to find without looking because it’s at a corner. But use a companion key on the right side of the keyboard.

Apple components from any active app

Purpose Name Mouse Hot corner Key Hide
Active apps thumbnails Mission Control
(formerly Expose)
3 finger swipe up - control + up
fn + F3
Esc
Active apps dashboard Application Windows - Upper left control + F3 Esc
- Desktop Thumb and 3 finger spread - F11 toggle
Calculator, other Accessories Dashboard 3 finger swipe right Lower left ? -
Apps icons customized Dock bar (bottom of screen) Mouse beyond bottom of screen - - Esc
Active app selection Active apps - - ⌘ + Tab
Repeat
-
Installed apps Launchpad Thumb and 3 finger pinch Upper right fn + F4 -
Files and folders Finder - - ⌘ + option + T -
Put display to sleep Start screen saver - Lower right control + Shift + Power button -
omni-search Spotlight - - command + spacebar Esc
mute Speaker volume - - fn + F11 -
Softer - - fn + F12 -
Louder - - fn + F12 -
Alerts Notification Center - - - -

[1] = PROTIP: This command does not work when the active program is in an extended screen.

Programmatic keyboard mapping

You can do the above automatically when installing this Python script.

## Karabiner Elements

Use Homebrew or Downloading Karabiner-Elements, a free utility somce OSX Sierra when Apple remapped key commands.

It’s free but note the package has many lingering issues.

VIDEO: Part 1 and Part 2 of Jesse Skelton’s tutorial.

  • https://www.youtube.com/watch?v=_47kJvS8nhk by Gary of macos.com
  • https://www.youtube.com/watch?v=8AeZkSJz28A
  • https://www.youtube.com/watch?v=lyJOYgP-Ihc

Clean borders without icons

I like to have a clean “full screen” without the distraction of all the Apple Mac icons at the top, bottom, etc.

Microsoft Windows navigation

Purpose Menu Mouse Key
New window File | New Window - ⌘ + N
New window Incongnito - ⌘ + shift + N
Cycle through windows in app Window - ⌘ + ` (at upper left corner of keyboard)
Maximize window (no menu bar) - Click green icon at the top left corner of window ⌘ + shift + F
toggle
Un-Maximize window - Cursor to top left corner. Click on green icon.
Minimize window - Click yellow ball. ⌘ + M
Close current window - Click red ball. ⌘ + shift + W
Close all windows - - ⌘ + option + W
Preferencesapp name | Preferences - ⌘ + ,
Quit app completelyapp name | Quit - ⌘ + Q

Cross machine

For a $19 one-time purchase from symless.com, the Synergy app on Mac, Windows, and Linux enables you to use a single keyboard and mouse for use on all machines, copying and pasting from a Mac to a Windows machine to a Linux machine.

It does not support iPads, which Apple’s Universal Control does supports.

Microsoft vs. Mac Keyboards

Needing to change habits learned typing is difficult and takes time. It’s literally taking physical therapy. This is perhaps the most frustrating aspect of changing from Windows to a Mac.

Here are the most problematic among Keyboard mappings using a PC keyboard on a Macintosh on Microsoft’s website:*

Microsoft Windows Apple Macintosh issue
Right-click (Alt) Holding down control during mouse click -
Ctrl + mouse click multiple items control + option + mouse click Two keys on Mac
Delete (right of cursor) fn + delete
control + D
swapped
Backspace (left of cursor) delete
control + H
Function key fn + F1 ... F12  
Windows Start orb control+F2, then enter/returnawkard
Num lock Virtual Machine > Send Key  
Home (top of doc) fn + left  
End (bottom of doc) fn + right  
Insert toggle Requires mapping

Delete and Backspace keys swapped

The Delete key on an Apple keyboard (⌫ on older keyboards) is actually the backspace key to all other operating systems. To press the equivalent of the Windows backspace that removes to the left of the cursor:

  • On a Macintosh notebook keyboard, press fn + Delete.
  • On older full-sized Macintosh keyboards, press ⌦ (called "Forward Delete") below the Help key.

The ALT key on Windows is OPTION on Mac keyboards.

To send key commands from a Mac into a Windows instance inside VMWare Fusion.

Insert key requires mapping

Sending the equivalent of Windows keyboard Insert on a Mac is problematic, especially within a virtual Windows machine.

  • On older Macintosh keyboards, press the Help key.
  • On older Macintosh notebook keyboards, press fn+M.
  • Newer Macintosh notebooks do not support fn+M. So map Alt+F1 within VMware Fusion > Preferences > Keyboard & Mouse > Key Mappings.

Full Screen Finger Gymnastics

keyboard-god-giphy

PROTIP: To evaluate Mac developers, some interviewers ask “show me how you enter and exit Full Screen”. This is because they assume that the most productive developers work with their hands always on the keyboard.

Windows has its F12 key. Apple has Mac users do the equivalent of a double Summersault with your fingers. How do you type, at the same time:

    control + command + F

PROTIP: To toggle Full Screen view using the default configuration from Apple: while keeping your left forefinger on the F “home” key, reach with your left thumb to hold down the control key. This may hurt at first (until you get used to it). Try raising your hand

Now, while keeping your right forefinger on the J “home” key, reach with your right thumb to hold down the command key on the right side of the Space Bar. Then you’re in position to press F with your left forefinger.


Voice Recognition

PROTIP: A big benefit of working from home is that I don’t have people sitting nearby. So now I can enable voice recognition to automatically type some (not all) keys.

This has been available since the OSX Yosemite version: https://support.apple.com/en-us/HT203085

See this video to give it a try:

  1. CAUTION: Enabling “Use Enhanced Dictation” (In Apple System Preferences > Dictation & Speech > Turn on Dictation) causes an approximately 800MB file to be downloaded to your Mac.

  2. Choose Accessibility. Scroll to Dictation. Scroll to see which commands.
  3. Check Enable Advanced Commands. Scroll to see which commands.
  4. Get into Automator.

Process Navigation

Press command + Tab to cycle through programs (apps) running.

Press shift plus the above reverses the cycling direction.

Stop on the icon of the app you want to make active.

Trackpad Remapping Tool

The trackpad on OSX recognizes multiple touch points (fingers) at once.

  • One finger to move the mouse cursor.
  • Two fingers to scroll up or down.
  • Three fingers to move among applications active.

BetterTouchTool (BTT) $6.50 app remaps what Apple input devices (keyboard, Magic Mouse, Touchpad, Trackpad) recognize, and also adds more gestures.

Use my installer for Mac to setup this program along with all others by running repeatable Ansible declarations.

There are several dimensions:

Fingers Motion Direction Repeats Pressure
1
2
3
4
tap
swipe
pinch in/out (zoom)
up
down
left
right
tap
TipTap
light
medium
heavy

Combos: single finger tap left, single finger tap right, single finger tap, two finger tap, two finger click, two finger swipe (up/down/left/right), three finger tap, three finger click, three finger swipe (up/down/left/right) and ‘TipTap’ left/right.

  • https://www.youtube.com/watch?v=A1xFhreDR_k
  • https://www.youtube.com/watch?v=7mr2IiJ0Y0E
  • https://www.youtube.com/watch?v=qeocxFO5yWA
  • https://www.youtube.com/watch?v=aFmB3XCva_Y

Programs can be invoked several different ways:

  • Click the magnifying glass and type the program name
  • Click on the apple menu
  • the Dock
  • or from the Applications folder on your hard drive.

To reset during open, in the Application folder, hold down all keys SHIFT OPTION COMMAND then click the app’s icon.

Keyboard Mapping

NOTE: MacOS defines most of its keybindings for editing text in:

    /System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict

PROTIP: Remap home and end key by creating folder ~/Library/KeyBindings/ and in it file DefaultKeyBinding.dict containing a property list like this:

{
    "\UF729"  = moveToBeginningOfLine:; // home
    "\UF72B"  = moveToEndOfLine:; // end
    "$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home
    "$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end
}

This change requires a reboot.

App-specific keys

Finder

Mac 10.10 Finder keys

I probably click the Finder Favorites more than anything else. So I’ve memorized the keyboard keys.

  • For the Downloads folder: Option + ⌘ + L

  • For the Desktop folder where screen captures are stored (by default): Shift + ⌘ + D

  • For the Applications folder where apps are stored: Shift + ⌘ + A

This enables me to remove default items in the Favorites list (by right-clicking on it) so I can instead list my own folders I use most often.

  • To go a level up or down in the Finder, press ⌘ + up arrow or down arrow.

  • Open parent folder and close current window: Option-Command-Up Arrow

  • To open folders and files by clicking on it and pressing ⌘ + O (instead of Enter as you would on Windows).

apple-finder-actions-menu

  • ⌘ + 1 = Icon view
  • ⌘ + 2 = List view
  • ⌘ + 3 = Column view
  • ⌘ + 4 = Cover flow view

    QUESTION: Is there a key to expand width of columns?

  • control + ⌘ + number to control Arrange sorting.

  • ⌘ + F to Search text.

Hide and Unhide Folders

Under Favorites, click on your user name (next to the house icon). If the Library folder does not appear:

sudo chflags nohidden /Library/ ~/Library/

To hide Library again:

sudo chflags hidden /Library/ ~/Library/

System Preferences keyboard shortcut

Apple’s System Preferences is a dialog I go to often. But it doesn’t have a default universal keyboard shortcut.

So let’s make one, using control+command+comma. (I use my middle finger to reach the comma).

  1. Click the Apple icon. Notice whether there is a shortcut for System Preferences. Below is what it looks like after going through the steps below.

    mac-keyboard-shortcut-233x280-13919.jpg

  2. Select System Preferences.
  3. Click the Keyboard panel.
  4. Click “Shortcuts” tab.
  5. Select “Application Shortcuts” from the list.
  6. Click the [+] plus button for the pulldown menu.
  7. Choose “All Applications”, then in the field labeled “Menu Title” enter “System Preferences…”.
  8. Click in the field labeled “Keyboard Shortcut”.
  9. Press the hotkey you want to use. For me use Control+Command+,. You should see the icons appear.
  10. Click “Add” to close out of System Preferences.
  11. Exit System Preferences by clicking the red dot.
  12. Try it: Hit the shortcut you just created.

Chrome Browser Tabs

Purpose Firefox Chrome
New blank tab ⌘ + shift + H
Home tab ⌘ + T
Open Settings / Preferences tab ⌘ + , (comma)
Close current tab ⌘ + W
Re-open tab ⌘ + shift + T
Cycle through tabs control + Tab
Bookmarks manager tab - option + ⌘ + B
History tab - option + ⌘ + H
Downloads tab - shift + ⌘ + J
Browser Console shift + ⌘ + B

See https://support.google.com/chrome/answer/165450?hl=en

Page operations within Chrome Tab

Purpose Mouse Key
History - shift + ⌘ + H
Search web - option + ⌘ + F
Find bar (to text on page) - ⌘ + F
Find next match - ⌘ + G
Find previous match - shift + ⌘ + G or
shift + Enter
Enter highlighted text to Find - ⌘ + E
Page Down - fn + down arrow
Page Up - fn + up arrow
Page top (home) - fn + left arrow
End of page - fn + right arrow
Previous page - ⌘ + [
Next page - ⌘ + ]
Refresh - ⌘ + R
Bookmark current page - ⌘ + D
JavaScript Console - option + ⌘ + J
Source HTML - option + ⌘ + U

Text string operations

Purpose Mouse Key
Cut highlighted text - ⌘ + X
Copy highlighted text to clipboard - ⌘ + C
Paste highlighted text from clipboard - ⌘ + V
Copy URL of current page to the clipboard. - option + ⌘ + C
Paste content without formatting - shift + option + ⌘ + V

Chrome iMacros

To use macros, add to Chrome browser the iMacros for Chrome.

This auto-opens http://imacros.net/browser/cr/welcome.

To use macros on Firefox, open in Firefox iMacros for Firefox. Click Add to Firefox. Click Install. Click Restart Now.

Microsoft Word for Mac 2011

Microsoft Outlook (Email and Calendar)

Among the Keyboard Shortcuts for Outlook on macOS:

Minimize or expand the ribbon = Options + COMMAND + R

Hide the reading pane or show it on the right = COMMAND + Backslash ()

Hide the reading pane or show it below = Shift+ COMMAND + Backslash ()

Text Editor Special Characters

In a text editor, press either Shift + Option + 8 or Option + 0.

For autocomplete in TextEdit, press Tab + Esc. Unfortunately, this is the same key to toggle the Mac’s text-to-speech.

For the ©Copyright symbol, press the “alt” key (or “option”) and hold it down while typing “g” on the keyboard.

Keyboard Symbols

This website and others make use of special coding to represent Apple icons and keyboard icons.

Below is modified from Joe Weaks

Icon Name Unicode Font
Power 3U+233D
Apple symbol 1 U+F8FFLucida Grande
Command (Open Apple) 2 U+2318
Control U+2303
Option (Alt, Alternative) U+2325
Shift U+21E7 Apple Symbols
Capslock U+21EA
Escape U+238B
Tab forwardU+21E5
Tab backU+21E4
Space U+2423

Return U+23CE
U+21A9
Delete back U+232B
Delete forward U+2326
Help U+003F &
U+20DD


Home U+21F1
U+2196
U+21B8

End U+21F2
U+2198
Pageup U+21DE
Pagedown U+21DF

Up arrow U+2191
U+21E1

Down arrow U+2193
U+21E3

Left arrow U+2190
U+21E0

Right arrow U+2192
U+21E2
Clear U+2327
Numberlock U+21ED Apple Symbols
Enter U+2324
EjectU+23CF

Robot typists

For making videos:

https://github.com/pofallon/sublime-phantypist
Slowly output the contents of the clipboard into the currently active tab, one character at a time. Map to CTRL-SHIFT-V for a slow paste command.

https://github.com/aholub/type
Applescript “robot” typist inserts characters into XCode or other application

https://gist.github.com/xaviershay/6656216
Creates a mapping that will type out the given text into vim.

Resources

Instead of the built-in command+Tab to switch among active programs, follow Daniel Szpisjak’s How to become a modern magician? - productivity tips for devs on macOS describes setup and use of Hammerspoon Lua language which uses a complex combination such as Shift+Control+Option to be a “Hyper” key such as the CapsLock. Karabiner+Elements

Assign Hyper+X to a specific program, and the pop-up shown by command+Tab will not come up.

Bash-it

https://github.com/Bash-it/bash-it community Bash framework of autocompletion, themes, aliases, custom functions based on https://github.com/robbyrussell/oh-my-zsh

Tmux

Tmux is a contraction of “Terminal Multiplexer”. The “multi” refers to multiple sub-windows like multiple tabs on a browser window.

Comprehensive

Tyler.io show the keys he defined using Magnet (https://magnet.crowdcafe.com/) and KeyboardMaestro (https://www.keyboardmaestro.com/main/). Tyler Hall’s code is at https://github.com/tylerhall/


Stream Deck button keyboard

Video creators especially appreciate being able to, so they can concentrate on talking, push a button and have a sequence of keys to do what they need, such as share screen 2, leave zoom, etc.

The Stream Deck has programmable buttons, with each button like a little LCD screen.

VIDEO: Unlike a regular keyboard, each button on the Stream Deck can display different images. It provides a visual button you don’t have to remember.

References:

  • https://www.wired.com/story/elgato-stream-deck-productivity-tips/
  • https://www.youtube.com/watch?v=6VyVCddCk-Q&t=95s

  1. Since 2017, there are several editions of Stream Deck. The $150 MK.2 has 6 keys. The $80 “Mini” has 4 keys. The $250 “XL” has 32 keys.

    Stream Deck Pedal provides three buttons for your feet to click.

  2. Download and install StreamDeck software from

    https://www.elgato.com/en/downloads

    PROTIP: This installs to the /Applications folder.

    Alternately, Elgato published several utilities in Homebrew on Mac:

    brew search elgato
    ==> Casks
    homebrew/cask-drivers/elgato-camera-hub
    homebrew/cask-drivers/elgato-control-center
    homebrew/cask-drivers/elgato-game-capture-hd
    homebrew/cask-drivers/elgato-stream-deck
    homebrew/cask-drivers/elgato-thunderbolt-dock
    homebrew/cask-drivers/elgato-video-capture
    homebrew/cask-drivers/elgato-wave-link
    
  3. PROTIP: If you need to differentiate the USB end of the StreamDeck cable, label it.
  4. PROTIP: If you’re using a later-model Mac, you’ll need a USB-A to USB-C adapter.
  5. Plug in your deck to a USB-2 port.

  6. Press the blue “WELCOME” button to open the Elgato webpage on your default browser.

    Preferences configuration

    NOTE: I like to have a clean “full sreen” without the distraction of all the Apple Mac icons at the top, bottom, etc. But for those times they need to be seen …

  7. Hold down fn+control+F8 or cursor all the way to the top of your whole screen and on the Apple Top Menu bar, click keyboard-streamdeck-21x20 the StreamDeck.app icon to select Configure Stream Deck, which makes the GUI appear.
  8. PROTIP: Press Command+Tab to notice that the app does not appear.

  9. Press Command+, (comma) or click the () cog icon for the app’s Preferences dialog.
  10. Select “Sleep After” for 5 minutes or whatever time you prefer.

    PROTIP: You can “Set Screensaver…” for a background image. But why?

    Profiles Backup

  11. Click the “Profile” tab to define different Profiles.
  12. DOTHIS: click the down-arrow to select “Backup All”, “Create Backup…” which goes in your Documents folder as a file such as:

    Stream Deck - 12-02-2022 - 11-59.streamDeckProfilesBackup
  13. Exit Preferences.

    Pages and Levels

  14. Click the “+” next to “Pages” (on the middle of the GUI) to add a second page. Notice a right (>) cursor now in the device.
  15. Click on that and the left cursor appears.

    PROTIP: Use the top (home) page as a menu and for buttons you’ll want to most often reach quickly during live calls, such as sound effects. Use another page of icons for websites.

  16. Click the () “Control Center” menu item to expand/contract its items.

    PROTIP: I don’t use the brightness settings button because they are buttons on my Mac keyboard Control Board for that.

    PROTIP: I don’t use the Battery button because I set my Mac to display its percentage on my Mac’s top-of-screen menu (set in System Preferences, Dock & Menu Bar, Battery).

    Pages, Websites and icons

  17. Highlight and copy the URL path of the page you want to go to (starting with “https://”).
  18. Create your own Webpage button by expanding the System menu and dragging the “Website” to drop it on the button you want to use.
  19. PROTIP: You can drag a gif (animated) image file from Finder and drop on the default icon.
  20. Type a Title such as “Gmail”.
  21. Click on the URL field and paste.
  22. Click the “+” on the upper-left of the button icon to pop-up Stream Deck’s Icon Library.
  23. Click the icon at the lower-left to open a selection of icons, plugins, music, sound effects.

    Single-button website

  24. To obtain an icon, replace “linkedin.com” with the website you want:

    https://www.linkedin.com/favicon.ico

    That’s always 20x20 pixels, so use a photo editor (such as Sketch) to expand it to 144x144 shown as 72x72.

    https://www.startpage.com/sp/search

    NOTE: Stream Deck allows you to define two states for every key (e.g. on and off).

    Hardware upgrade

    ifixit.com has a $84.99 Stream Deck Upgrade Kit takes the 64GB to 512GB with a faster Micron processor.

    Icons

  25. Among icons, I like the Icon collection “Material Icons” (from Google) because of their white on black.

    PROTIP: It’s best to use a black background to avoid annoying glare and reflections on your glasses.

  26. If you’re a Figma user, install their icon library.

    Stream Deck is the darling of gamers and streamers who use OBS Studio, Twitter, Twitch.

  27. Control OBS

    OBS Studio Ultimate Stream Deck Guide

    VIDEO: Noobs Commander OBS scripts.

  28. Among sound effects, “Cell Phone ring simple” and “Cell Phone Smart Phone Vibrate” can be a good excuse to end meetings.

    “Crowd Aww”, “Crowd Cheer Clap Scream”, “Large Crowd Medium Ovation”, “Crowd Disgusted Aww”, “Crowd cheers and whistles”.

  29. Download “rim shot” and comedy laugh track sounds.

  30. MUSIC track for use during short breaks: Among the longest: “Inspiring Uplifting Motivational” is 4:34; “Come Dine with Me” is 5:32.

    I especially like “Upbeat Corporate Success” and “Ultimate Inspiration”, which are about 120 BPM (Beats Per Minute).

    Plugin to control lights

  31. Among PLUGINS, “Philips Hue” to turn lights on and off without saying “Alexa” or “Hey Google” by connecting to Phillips, etc.

    YouTube

  32. “Zoom Plugin”

    https://lostdomain.org/stream-deck-plugin-for-zoom/

  33. Use IFTTT.com to create special web links.

    switch your phone to Do Not Disturb,

  34. PowerPoint integration

  35. Visual Studio Code Mac or XCode

  36. DevOps for StreamDeck to control GitHub Actions, GitLab, Netlify, etc.

    https://github.com/SantiMA10/devops-streamdeck

  37. PLUGIN “Time”

  38. PLUGIN “OSA Script” to put your Mac laptop to sleep with one button.

    https://vninja.net/2021/04/15/elgato-stream-deck-sleep-button/ https://www.reddit.com/r/StreamDeckSDK/comments/jsn7re/setting_up_a_1_button_sleep_mode/

    Apple’s own scripting tool, Shortcuts, is not only powerful, but it’s built right into MacOS. That can be a huge benefit on its own, but an unofficial plugin lets you activate Shortcuts right from a button on your Stream Deck.

    https://github.com/SENTINELITE/StreamDeck-Shortcuts This integration is made by GitHub user Sentinelelite and not associated with Apple, which is worth keeping in mind. However, you can find the code here. In my testing, it worked pretty well, launching the couple of existing Shortcuts I had without needing a keyboard shortcut that’s not already in use or taking up space in my status bar.

  39. PLUGIN: https://www.youtube.com/watch?v=ny9z6rgJAC4

    Mute/Unmute

    PROTIP: Most conveniently, Stream Deck buttons don’t depend on you being at a specific app.

  40. https://demitasse.co.nz/2020/04/zoom-mute-unmute-using-stream-deck/

  41. Control Notion app

    https://www.youtube.com/watch?v=nrWRzYYC1rE

  42. Use “Mixer” to mute/unmute microphone in Twitch, Mixer, Discord, etc.

  43. Nested folders.

  44. “MultiAction” invokes a sequence of actions programmed to open and position several window by one button.

  45. Instant Replay of the last 15 seconds on YouTube, if you also bought an Elgato capture card hardware.

  46. VIDEO: Control the OBS streaming app.

  47. Post to Twitter, YouTube,

References:

Foot pedels

The Kinesis Advantage keyboard has a phone plug to connect to a foot peddle to press the “Enter” key.

Ergonomic Keyboards

VIDEO: “Among fastest competitive typists, only two use Dvorick key layout”.

Although pricey at $340 from Amazon (perhaps the most expensive keyboard available), the “Advantage2” keyboard from Kinesis-ergo.com (at Bethel, Washington state) makes it easier and faster for your fingers to reach keys due to its unique contoured key wells. Its keys in the middle transfer more work to thumbs than conventional square keyboards.

keyboard-kinesis-557x455

A Ergonomics shop TheHumanSolution.com note the slant of keys enables natural (rather than bent) wrist placement that prevents repetitive motion injury causing career-ending pain in wrists and shoulders.

However, the keyboard does take some “learning time” as its keys are in a different location than on conventional keyboards. The manufacturer has a 7 day return and 3 year warranty policy.

Desiring quieter operation, I chose Cherry 45g MX Red (quiet linear-force, not “clicky”) mechanical key switches (instead of Brown keys which provide tactile feedback on each keypress). Cherry Red key switches are also used in the iKDC KD104 MX silent keyboards.

But I don’t think the Red keys arenot much quieter than other keyboards. (Razor Opto-mechanical Red or Ornata v2 membrane keyboards seem the quietest to me. They are also have short 1mm travel to activate and quickest debounce delay).

Further quiet may be achieved by lubrication or replacing key switches with rubbery Zilent keys.

(I don’t know how the keyboard responds to “rollover” of several keys almost simultaneously, which other keyboards call “anti-ghosting”).

For even faster operation, use the keyboard’s 2MB of memory on-board to store SmartSet Programming Engine macros.

Videos:

  • https://www.youtube.com/watch?v=8WwuusfB0QA Aug 20, 2016 is the most detailed
  • https://www.youtube.com/watch?v=ILItPWuirAk
  • https://www.youtube.com/watch?v=PhQlZvUzT7w Aug 3, 2016 from Kinesis

References

STAR: https://www.wired.com/story/do-everything-faster-keyboard-shortcuts-tricks-tips/

More on macOS

This is one of a series on macOS: