Guide pages

Guide Settings help

Command buttons

Settings → Modules → Command buttons

This page holds your own bar buttons, each running a program, script or shortcut with the arguments you give. You add, edit, reorder and remove them here; right-click a button on the bar to come back to this page.

When the module is off, a notice says it isn't on the bar, with a Turn on button. Your buttons still save while it is off.

Buttons

The list shows each button with its icon, label and the program with its arguments. A Hidden tag marks a button that runs hidden and an Administrator tag one that runs as administrator. Every change writes the whole list at once and takes effect at once. Config: the [[command-buttons]] list.

Add a button…. Opens the Add a button form under the list. Unavailable when you already have 32 buttons.

Move up and Move down. The arrow buttons on each row move that button one place along the bar.

Edit. Opens the Edit button form for that button.

Remove. Removes that button straight away.

Add a button and Edit button form

Program. The program, script or shortcut to run: a full path such as C:\Tools\app.exe, or a name on PATH such as notepad. Browse… picks a file. Required. Config: [[command-buttons]] command.

Label. The button's name. Left empty, it comes from the program's name. Config: [[command-buttons]] label.

Arguments. What to pass to the program, with quotes around anything that holds spaces, such as --new-window "C:\My Projects". Config: [[command-buttons]] args.

Working folder. The folder the program starts in. It must be a full path, like C:\Projects. Left empty, the program's folder. Config: [[command-buttons]] working-dir.

Tooltip. The text shown when you hover the button. Left empty, the label. Config: [[command-buttons]] tooltip.

Icon. What the button shows, with a preview beside the choices. Choices: The program's icon (the default), An icon or image file (with an Icon file box and Browse…), or one of the built-in glyphs below them: Terminal, Code, Folder, Document, Web, Screen, Play, Music, Camera, Chat, Mail, Home, Settings, Sync, Bolt, Star. Config: [[command-buttons]] icon. Note: an icon file must be a full path.

Run hidden (no window; for scripts and background jobs). Starts the program with its window hidden. Default: off. Config: [[command-buttons]] run-hidden.

Run as administrator (asks for permission each time). Runs the program with administrator rights; the system asks for permission on every click. Default: off. Config: [[command-buttons]] elevated.

Add button (or Save when editing). Saves the button and closes the form. Unavailable while Program is empty. Takes effect at once.

Cancel. Closes the form without saving.

Common tasks

  • To add a button that opens a folder in your editor: select Add a button…, set Program to the editor, put the folder in quotes under Arguments, then select Add button.
  • To run a script without a console window: turn on Run hidden (no window; for scripts and background jobs).
  • To change the order on the bar: use the up and down arrows on each row.
  • To give a button a simple symbol: under Icon, pick one of the built-in glyphs.

See also