Sunday, April 14, 2024
HomeIOS DevelopmentKeyboard shortcuts for Export Unmodified Authentic in Images for Mac – Ole...

Keyboard shortcuts for Export Unmodified Authentic in Images for Mac – Ole Begemann


  1. The Images app on macOS doesn’t present a keyboard shortcut for the Export Unmodified Authentic command.
  2. macOS permits you to add your individual app-specific keyboard shortcuts through System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts. It’s worthwhile to enter the precise spelling of the menu merchandise you wish to invoke.
  3. Images renames the command relying on what’s chosen: Export Unmodified Authentic For 1 Picture“ turns into ”… Authentics For two Videos” turns into “… For 3 Gadgets” (for blended alternatives), and so forth. Argh!
  4. The System Settings UI for assigning keyboard shortcuts is extraordinarily tedious to make use of if you wish to add a couple of or two shortcuts.

Screenshot of the File > Export submenu of the Photos app on macOS. The selected menu command is called 'Export Unmodified Originals For 16 Items'
Dynamically renaming menu instructions is cute, nevertheless it turns into an issue whenever you wish to assign keyboard shortcuts.

Resolution: shell script

Right here’s a Bash script that assigns Ctrl + Choose + Cmd + E to Export Unmodified Originals for as much as 20 chosen gadgets:


# Assigns a keyboard shortcut to the Export Unmodified Originals
# menu command in on macOS.

# @ = Command
# ^ = Management
# ~ = Possibility
# $ = Shift

# Set shortcut for 1 chosen merchandise
echo "Setting shortcut for 1 merchandise"
defaults write NSUserKeyEquivalents -dict-add "Export Unmodified Authentic For 1 Picture" "$shortcut"
defaults write NSUserKeyEquivalents -dict-add "Export Unmodified Authentic For 1 Video" "$shortcut"

# Set shortcut for 2-20 chosen gadgets
objects=(Images Movies Gadgets)
for i in {2..20}
  echo "Setting shortcut for $i gadgets"
  for object in "${objects[@]}"
    defaults write NSUserKeyEquivalents -dict-add "Export Unmodified Originals For $i $object" "$shortcut"

# Use this command to confirm the outcome:
# defaults learn NSUserKeyEquivalents

The script is additionally obtainable on GitHub.


  1. Stop
  2. Run the script. Be at liberty to alter the important thing combo or depend increased than 20.
  3. Open

Notice: There’s a bug in on macOS 13.2 (and a minimum of some earlier variations). Customized keyboard shortcuts don’t work till you’ve opened the menu of the respective command a minimum of as soon as. So you could manually open the File > Export as soon as earlier than the shortcut will work. (For Apple of us: FB11967573.)



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments