Skip to main content
Quick Commands is initialized automatically by Library.new() and opens with F2 by default.
Every button, input, slider, and selection created by the library registers a Quick Command. The command ID is stable when you provide InternalInfo.UniqueCommandId; otherwise the library generates a random ID.

Open the palette

The palette accepts a command followed by optional space-separated arguments:
Keyboard input is ignored while a Roblox text box is focused.

Matching

Quick Commands searches each command’s:
  • display title
  • command ID
  • aliases
Matches are ranked: Within the same priority, command titles are ordered alphabetically.

Aliases

Aliases can be declared in any of three places:
The resolution order is config.Aliases, then Info.Aliases, then InternalInfo.Aliases. A complete example:
You can then use:

Buttons

Normal buttons ignore extra arguments:
Toggle buttons accept explicit state values:
Without a recognized state argument, the toggle flips.

Sliders

Numeric sliders accept one number:
Boolean sliders accept:
With no argument, a boolean slider flips and a numeric slider reapplies its current value.

Inputs

Standard inputs join all arguments into one text string:
Toggle inputs use an optional state prefix:
Explicit state prefixes are on, true, 1, off, and false.

Selections

Selection commands match an option using its Value or display title. The matcher checks longer multi-word prefixes first.
Arguments remaining after the selected option are forwarded:
For a single-select selection, invoking the command with no arguments advances to the next configured option. For a multi-select selection, multiple options can be supplied as separate arguments or as a comma-separated list. The command replaces the selection with those values, then forwards any remaining arguments to the callback. The selection callback receives the selected value for single-select or the full selected-value array for multi-select.
For the command hide above, g,w,v is parsed as the MultiSelect value and true is forwarded as the remaining callback argument. QuickCommands.lua does not need to know which arguments are options; the Selection component parses its registered options and keeps the Quick Commands layer generic.

Autocomplete

When the best match begins with the typed query, the palette shows a ghosted completion. Press Tab to insert the matched name or alias followed by a space. Press Enter to execute the top result and close the palette.

Export the command list

app:ExportQuickCommandsList() returns every registered command as an array and prints the same entries to the console. When writefile is available, the list is also written under commandIds/.