{"version":"2.1.333","anchor":"button-hotkeys-in-the-embedded-ui-script-now-accept-ascii-pu","canonical_anchor":"button-hotkeys-in-the-embedded-ui-script-now-accept-ascii-pu","heading":"Plugin dialog buttons can use punctuation keys as shortcuts","tier":"use","area":"Plugin API","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/button-hotkeys-in-the-embedded-ui-script-now-accept-ascii-pu","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Plugin dialog buttons can use punctuation keys as shortcuts\n\nA button hotkey in plugin dialogs can now be one ASCII punctuation mark such as \/ or ?, as well as a digit or lowercase letter\n\n**What**\n\nPlugins can show their own dialogs with buttons. Each button can have a hotkey, a single key that presses the button. A hotkey used to be limited to one digit (0 to 9) or one lowercase letter (a to z). It can now also be one ASCII punctuation mark, such as `\/`, `?`, `.`, `[` or `-`. The error message for an invalid hotkey now lists all three options.\n\n**Why**\n\nPlugin authors can bind familiar keys such as `\/` or `?` to buttons. Previously those keys were rejected.\n\n- Area: Plugin API\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}