Add a Keyboard Shortcut
// Shortcut Metadata
Use the // Shortcut
metadata 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 hit spacebar
. In this example, you would type oi
then spacebar
to 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.