OpenFin Workspace API
    Preparing search index...

    Function setShortcut

    • Sets the Notification Center keyboard shortcut at runtime with user-level priority.

      This is the programmatic equivalent of changing the shortcut in the NC Advanced Settings panel. The shortcut takes effect immediately and persists across restarts.

      import { setShortcut } from 'openfin-notifications';

      await setShortcut('CmdOrCtrl+Shift+N');

      Parameters

      • shortcut: string

      Returns Promise<void>