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
Matching
Quick Commands searches each command’s:- display title
- command ID
- aliases
Within the same priority, command titles are ordered alphabetically.
Aliases
Aliases can be declared in any of three places:config.Aliases, then Info.Aliases, then InternalInfo.Aliases.
A complete example:
Buttons
Normal buttons ignore extra arguments:Sliders
Numeric sliders accept one number:Inputs
Standard inputs join all arguments into one text string:on, true, 1, off, and false.
Selections
Selection commands match an option using itsValue or display title. The matcher checks longer multi-word prefixes first.
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/.