Docs Interface
CommandPalette
A command palette inside TouchDesigner: every command your FNS tools declare and TouchDesigner's own palette components in one ranked list, opened with a hotkey and aware of what you are looking at. Manage favourites and hidden commands from its tab in Hub.
▦ Interface Hub tab
Why use it
A project with a good set of tools installed has more actions than anyone can keep on keys. FNS tools declare dozens of commands, TouchDesigner has its own dialogs and menu items, and the Palette Browser holds a long list of components. Each lives somewhere else: a toolbar button, a right-click menu, a hotkey you set months ago, a palette folder you scroll through.
CommandPalette puts them behind one key. Press Ctrl+Shift+P, type a few
letters of what you want, press Enter. The list holds every command your FNS
tools declare, TouchDesigner's built-in commands and its palette components,
and it is ranked by what you were looking at when you pressed the key: a
command about the parameter under your mouse comes before one about the whole
network.
Features
- Find any command on one keyOpens over the network you are in with every command your FNS tools declare, TouchDesigner's built-in commands and its palette components in one ranked list.
- Context-aware rankingCommands about the parameter under your mouse, the selected operator or the current network come first.
- Typo-tolerant searchInitials, typos, letters in order and British or American spellings all find a command, with strict matches ranked first.
- Search by what a command doesA word from a command's help or its tool's documentation finds it, so
copyfinds PasteFromClipboard, and the row says why it matched. - Actions first for words like copyA word that starts command titles, such as copy, open or reset, lists the commands that start with it first, then components named with it.
- Scoping prefixesA leading character narrows the list to commands, tool commands, components or one tool's commands.
- Navigate the network
/is the root,./where you came from and each..a level up; Right drills into a row and Left backs out. - Step through a command's valuesA command that takes values asks for them one at a time: a menu as pick rows, anything else as a field naming its type and default.
- Presets that run on Enter
Alt+Ssaves a command with its values as a preset row, which runs on Enter without prompting. - Place palette componentsTouchDesigner's palette components, your own folders included, land on your mouse ready to place, or drag into any pane.
- Stars and hidden commandsStar commands with
Ctrl+Dto lead their tier, and hide the ones you never use withCtrl+H. - Rank by usageCommands you run often rank higher, the lift fading over a couple of weeks unused; Rank By Usage switches it off.
- Query history
Alt+UpandAlt+Downcycle through the queries you have run before. - Commands tab in HubEvery registered command, hidden ones included, with Star and Hidden toggles shared with TDX Launcher Ultra.
- Install from the paletteA tool you can install but have not yet shows as an Install row; Enter installs it.
- Call extension methods
~lists the public methods of a COMP's extensions and calls them with the arguments you type.
How to use it
- Press
Ctrl+Shift+P. A small window opens over the network you are in: one input, a ranked list, and a footer that always says what Enter will do to the row you are on. - Type to filter. Up and Down move through the list, Enter or a click acts, and Esc closes the window. Clicking anywhere else closes it too.
- A command that takes values asks for them one at a time (Values and presets). A palette component lands on your mouse, ready to click into place (Placing palette components).
With nothing typed, the footer shows the prefixes that narrow the
list, such as > for commands only and / to browse the network.
Once the palette is part of your day:
- To keep a command you use all the time at the top, select it and press
Ctrl+Dto star it. - To get a command you never use out of the way, press
Ctrl+Hto hide it. The Commands tab in Hub can show it again. - To repeat a search,
Alt+UpandAlt+Downcycle through the queries you have run before. - To turn a command and its values into a single row, save it as a preset with
Alt+S. - Right-click a row for its menu: Run, Star or Unstar, Hide (Delete preset on a preset) and, with RadialMenu installed, Add to radial menu, which puts the command in the first empty slot of the radial menu's main wheel.
- To open the palette with another key, rebind Hotkey in HotkeyManager, which lists it and checks it for conflicts. Justify and Offset To... and the other window placement parameters on the same page decide which display the window opens on.
Finding commands
What comes first
Before its own window takes focus, the palette takes a snapshot of where you were. A command whose context that snapshot satisfies ranks first, most specific first:
- a command about the parameter under your mouse,
- one about the current or selected operator,
- one about the network,
- general commands,
- components.
A command whose context is missing is dimmed and refused. Badges are coloured
by kind, and context commands carry a small par, op or net tag, so you
can see why a row sits where it does.
How typed words match
Once you type, your words decide the order and the context only breaks ties. Every word must hit, and each hit is read as strictly as it can be. From strictest to loosest:
- the whole title, its start, the start of a word in it, anywhere in it;
- initials (
mfo); - a typo of a word (
opne ext,nosie): one slip for words of four to seven letters, two from eight; - the letters in order (
tmln).
Spellings either side of the Atlantic are the same word, so randomise finds
Randomize. A hit in the title ranks above the same hit in a tool name, and a
component's file path only counts when the word is literally in it. The
letters-in-order reading only fills the list when nothing matched more
strictly, so delete does not turn up a component whose long name happens to
hold those letters.
Searching by what a command does
A command also answers to what it does. A word of three letters or more that
starts a word of its help line, of its tool's description or of the main words
of its tool's documentation finds it, ranked under the same word in a title or
tool name. copy finds PasteFromClipboard, bookmark finds QuickMarks. Such a
row says why it is there (in docs: copy, in help: image). A documentation
word belongs to the whole tool, so at most two commands of one tool are listed
for it.
The description and documentation words come from the store manifest that Updater downloads, so they are there once the updater has checked the store at least once.
Action words
Some words ask for something to do: copy, open, reset. The palette
learns them from the commands themselves. A word counts as an action when it
starts a command title (Copy op path, Open Errors) and also starts a help
line, or appears as copied, saving or tapped somewhere in the help and docs.
For an action word the list runs:
- commands that start with it,
- components named with it (
copylists Copy op path above CopyPars), - commands whose help or docs use it,
- last, a title that only holds it as a thing (
Floating copy of pane).
A component answers to an action word only through a strict hit, never by a
typo or letters in order, and copy also finds a help line that says copies or
copied. A word you are still typing (cop) only counts as an action once it is
whole. Every other word ranks as described above, and a new tool's commands
teach the palette new action words.
Words that mean the same
A few words are treated as the same, and any of them finds the others in a command title:
- add and install; remove and delete; open, show and view;
- randomize, scramble and shuffle; restore and revert; quit and exit; create and new; load and import;
- TouchDesigner's short names: op and operator, par and parameter, comp and component, plurals too.
delete family finds Remove Operator Family, view bookmarks finds Open
Bookmarks and hovered parameter finds LFO on hovered par. Such a row says why
(delete as remove) and ranks below every title holding the word you typed,
above help and docs hits. Only whole words count, so ad and inst match the
way any partial word does.
Prefixes
A leading character scopes the query. With nothing typed, the footer shows them.
| Prefix | Scope |
|---|---|
> |
Commands only: your tools' commands first, then TouchDesigner's own built-in commands, badged TD |
? |
Tool commands only, built-ins left out |
= |
Components only |
/, ./, ../ |
Navigate the network: / is the root, . or ./ is where you came from, each .. goes up a level |
~ |
Public methods of the promoted extensions on the selected COMP, else the current one, else the network you came from (Calling extension methods) |
# |
One tool's commands: # lists the tools, #QuickMarks lists that tool's commands |
Navigation and tool rows drill in with Right and back out with Left, keeping
whichever convention you are typing in. After #, a word that is not in any
tool's name finds the tools whose description or documentation has it, as in
#copy.
Values and presets
Enter on a command that declares parameters walks them one at a time. A menu parameter becomes pick rows filtered as you type; anything else gets a text field whose placeholder names the parameter, its type and its default. Enter accepts (empty keeps the default), Left steps back a parameter, Esc backs out to the list.
Presets
For a command you run with the same values again and again, save a preset.
Select the command and press Alt+S to save it under a name of your own. Press
it in the middle of a parameter walk and the values entered so far are baked
in, the rest taking their defaults, so Set volume with level=0.5 becomes a
one-keystroke row.
- A preset shows a
PRESETbadge and ranks just above the command it wraps. - Enter runs it without prompting.
- It can be starred.
- It still runs when its command is hidden, since saving it was the opt-in.
Ctrl+Hon a preset deletes it.
Tools with several copies
When a tool is placed more than once, each copy's commands carry its label, as
in Freeze scope · Main out and Freeze scope · Preview, and the label is
searchable. A preset saved from one of those rows runs on that copy only; a
preset over the command itself lists once per copy. Stars and hidden flags
cover the command on every copy.
Placing palette components
TouchDesigner's palette components are rows like any other, tagged TOX. They
are read from the Palette Browser's model, so your own palette folders are in
the list too. Type = first to see components only.
- Choose one with Enter or a click and it loads into the network the palette was opened over and is handed to your mouse, the way the OP Create dialog hands you a new operator: move it where you want and click to place it. If that pane has moved on to another network, the component stays to the right of everything in the network it loaded into, selected.
- Or press a row and drag it into any network pane, the gesture TouchDesigner's own Palette Browser uses.
Derivative's built-in components ship as bundles, with the component, its icon and its help text in one wrapper. The palette unwraps them either way, so what lands in your network is the component itself.
Shaping the list
Starred rows (Ctrl+D, on a command or a component) lead within their tier,
and a hidden command (Ctrl+H) stays out of the palette until the Commands tab
shows it again. Two more things decide what the list offers:
- Usage. Commands you run often rank higher. The lift fades over a couple of weeks of not using a command, and it only breaks ties between similar matches: a better match or a starred row still wins. Runs from TDX Launcher Ultra's quick launch count too. Switch off Rank By Usage to stop it; your runs are still recorded, so switching it back on picks up where you left off.
- Only what can run. A tool that is bypassed or has cooking off does not
offer its commands until it is back on. A tool you can install that is not in
the project yet shows as an install row (Install QuickMarks, for example)
with an
INSTALLbadge. Enter installs it, downloading it first when needed.
The Commands tab
The palette adds a Commands tab to Hub. It lists every
registered command, hidden ones included, with its tool and context;
TouchDesigner's built-in commands show built-in in the Context cell.
- Click Star to star a command and Hidden to hide or show it. Your choice beats the tool's own default in both directions.
- A filter field narrows the list, Refresh rebuilds it, and Open palette does what the hotkey does.
- Clear usage forgets the palette's run history. The launcher's history still counts until you clear it there.
Where your choices are kept
Stars, hidden commands and presets are keyed by tool name and command id, the same identity TDX Launcher Ultra uses, so they survive a tool moving in the network. They live in one machine-wide file that this palette and the launcher both read and write: a star in one is a star in the other, in every project on the machine, whatever config scope the project uses.
The query history is kept per consumer. It persists through
ConfigRegistry, so under global scope it follows
you between projects and under project scope it stays in the .toe.
Calling extension methods
For tool authors, ~ gives you a way to call into an extension while you
build it, from the network you are in. It lists the public methods of the
promoted extensions on the selected COMP, else the current one, else the
network you came from.
- Methods complete before they run. Enter, a click or Right on a method row
fills the input with, say,
~SetLeveland leaves the palette open for the arguments. Enter again calls it. Tab only ever completes, never runs, and the footer shows what it would give you. - Missing arguments are refused. A method whose required arguments are still missing does not run, and the footer says how many it needs.
- Scope to one extension.
~ext.lists the extensions on the subject COMP, and~ext.MyExt.or the shorter~MyExt.lists that one's members.
A plain ~Method row runs through the COMP, so it offers what the COMP itself
exposes. Addressed through an extension, the list is everything not starting
with an underscore, lowercase members included: reaching a member through
.ext.MyExt does not require it to be promoted, so the lowercase wiring tier
is callable here even though the COMP does not expose it. The name is the
Extension Name parameter when one is set and the class name when it is not,
which is what .ext. resolves by either way.
How the pieces fit
This palette is one of two consumers of a four-piece system. It gets its list from the registry and hands a chosen command back to the registry to run, and tools declare their commands there without knowing this palette exists.
| Piece | Role | Where it lives |
|---|---|---|
| CommandPalette (this page) | A consumer inside TouchDesigner: a hotkey, a ranked list, Enter runs the command | Installed like any tool |
| CommandRegistry | Collects every command tools declare, plus TouchDesigner's own, and serves one list to whatever can run them | A core package promoted to /sys, installed with the toolkit's core; the launcher's companion carries the same copy |
| CommandKit | Lets any component of your own publish commands: mark a method, or declare a spec | A direct child of that component. FNS tools carry the same module in their ExtUtils and announce themselves, so they never need the kit |
| TDX Launcher Ultra | The other consumer, outside TouchDesigner: its tray palette lists the same commands under > and ? and runs them in the session you summoned it over |
A separate desktop app with its own releases |
Without the registry the palette still opens and still places TouchDesigner's palette components, with no tool commands to list. A component of your own that carries CommandKit shows its commands here and in the launcher like any FNS tool. The two consumers share stars, hidden commands and presets (Where your choices are kept), and the Commands tab in Hub is where that curation is managed from inside TouchDesigner.
Get it
Tick it on the install page and it installs with the rest of your setup and stays up to date.
Download FNS_CommandPalette.tox Version 3.2.18, the tool on its own. It works in any project, and this copy never updates itself.
Where it appears
- Hub tabas Commands · position 40
Shortcuts
- Ctrl+Shift+POpen the palette over the network you are in
Parameters
Its Registry page comes from FNS_ConfigRegistry and FNS_HubRegistry.
Palette
| Control | Type / default | What it does |
|---|---|---|
HotkeyHotkey |
textctrl.shift.p | Keyboard shortcut that opens the palette. Space-separated combos, parts joined with a dot, e.g. ctrl.shift.p. Rebind it from FNS_HotkeyManager. |
Justify and Offset To...Justifyoffsetto |
menuSpecify Display | Which display the palette window is placed on: the primary one, the one set on the window, or the bounds of all displays. |
Ignore TaskbarIgnoretaskbar |
on / offon | Place the palette as if the taskbar were not there. |
DPI ScalingDpiscaling |
menuUse DPI Scale | Size the palette in native pixels, or scaled with the display DPI. |
Shift to Single DisplaySingle |
menuOff | Keep the palette on one display: off, on a single display, or on the display with the cursor. |
Favourite keysFavouritekeys |
text[] | Legacy store of starred command identities (tool#id) from before the shared curation file; adopted into that file on first read, then emptied. |
Query historyQueryhistory |
text[] | JSON list of executed palette queries, oldest first, recalled with Alt+Up / Alt+Down. Persisted by the config host. |
Visibility overridesVisibilityoverrides |
text{} | Legacy store of visibility overrides (tool#id -> hidden or shown) from before the shared curation file; adopted into that file on first read, then emptied. |
PresetsPresets |
text[] | Legacy store of presets from before the shared curation file; adopted into that file on first read, then emptied. |
Rank By UsageRankbyusage |
on / offon | Commands you run often rank higher: a small bonus that fades with a 14-day half-life and breaks ties between similar matches, never above a better match or a favourite. Usage is shared with the TDXLU launcher (command-usage.json) and recorded even when this is off. |