Skip to main content

One post tagged with "Keyboard Shortcuts"

View all tags

macOS Sequoia Blocks Option+Shift Keyboard Shortcuts (Error -9868)

· 3 min read
Doyul Kim, Ian
Software Engineer @OrderX, Real-time Trading Systems

macOS Sequoia has blocked a keyboard shortcut combination frequently used by developers, for security reasons. Shortcuts that use only the Option (⌥) and Shift (⇧) keys can no longer be registered through the RegisterEventHotkey API.

:::warning[TL;DR]

  • When registering a shortcut that uses only Option+Shift, an error -9868 occurs.
  • Although the goal is to prevent keylogging malware, it is actually normal apps that are being affected.
  • For now, you'll need to use a new combination that adds the Command or Control key.
  • Apple's own apps are not subject to this restriction.

:::