youtube image
From YouTube: Excel shortcut customization APIs

Description

In this 13-minute Developer-focused demo, Abid Rahman shows how to use keyboard shortcuts to invoke actions in your add-ins with these 3 new APIs in KeyboardShortcuts 1.1 in Public Preview, that will assist with keyboard shortcuts management! Assign custom keyboard shortcuts per user, per platform. The shortcuts reviewed in this demo are replaceShortcuts, getShortcuts, and areShortcutsInUse. Quickly view and enable shortcuts for a specific user to avoid shortcut combinations already in use. This PnP Community demo is taken from the Office Add-ins community call – January 2022, recorded on January 12, 2022.

Demo Presenter: Abid Rahman, Program Manager (Microsoft)

Supporting documents:
• Sample Repo - Use keyboard shortcuts for Office add-in actions | https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/excel-keyboard-shortcuts
• Documentation - Add custom keyboard shortcuts to your Office Add-ins | https://docs.microsoft.com/office/dev/add-ins/design/keyboard-shortcuts
• Documentation - Keyboard Shortcuts 1.1 requirement sets | https://docs.microsoft.com/office/dev/add-ins/reference/requirement-sets/keyboard-shortcuts-requirement-sets
• Documentation - Avoid key combinations in use by other add-ins | https://docs.microsoft.com/office/dev/add-ins/design/keyboard-shortcuts#avoid-key-combinations-in-use-by-other-add-ins
• Documentation - Enable custom keyboard shortcuts for specific users (preview) | https://docs.microsoft.com/office/dev/add-ins/design/keyboard-shortcuts#enable-custom-keyboard-shortcuts-for-specific-users-preview
• Feedback Repo – Issues – OfficeDev/Office-js | https://github.com/OfficeDev/office-js/issues

Stay connected:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp/videos