Add a Keyboard Shortcut #792
johnlindquist
announced in
Docs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
// Shortcut Metadata
Use the
// Shortcutmetadata to add a global keyboard shortcut to any script// Shortcode Metadata
A shortcode allows you quickly run a script without needing to search for it.
To trigger a
// Shortcode, type the string of characters from the main menu, then hitspacebar. In this example, you would typeoithenspacebarto run this script:Quick Submit from Hint
A common pattern from Terminal is to quickly submit a script from a hint. Using a bracket around a single character will submit that character when pressed.
Quick Submit from Choice
If you need to provide a little more information to the user, use a choice instead of a hint. This allows you to provide a full value that will be submitted instead of just the single letter.
Beta Was this translation helpful? Give feedback.
All reactions