Skip to Main Content
Feature Request FR-3818
Product Area Application Builder
Status ROADMAP

4 Voters

Add a actions keyboard shortcut modifier that defaults to Cmd on MacOS and Ctrl to other OS

philipp hartenfeller Public
· Jun 4 2024

Idea Summary
On Mac, it is usual to press Cmd as a modifier key to save, copy, etc., whereas on Windows/Linux, the Ctrl key is used. The `apex.actions.addShortcut` function should account for that with a special modifier that automatically defaults to the user platform-specific.

Use Case
Implementing keyboard shortcuts to the app that feel platform native.

Preferred Solution
`apex.actions.addShortcut("PlatformCtrl+S", "save-grid");`

This is currently on the roadmap for a future release of Oracle APEX.