What a toolbar button can do

A toolbar button can run the same actions as a gesture, chosen from the same list. You choose a button's action on the Buttons tab of the Toolbars page. See Appearance, buttons and placement.

[Screenshot to come: Choosing a button's action]

The actions

Typing and keys

  • Keystroke: presses a key or a key combination, such as Ctrl+C. On a button it can be pressed once, held down, or repeated for as long as you touch the button (Key press:).
  • Type text: types a word, a phrase or an emoji where you are typing. Tick Paste it, through the clipboard for long text, or for programs that ignore typed text; whatever was on the clipboard is put back afterwards.
  • Show / hide touch keyboard: Windows' touch keyboard.

Programs, files and websites

  • Start a program: starts a program, with any Arguments and a Start in folder. Tick If it is already running, bring it to the front instead to stop a second copy starting.
  • Open a file, folder or web address.
  • Execute shell command.

Windows and the desktop

  • Window: snaps the window in front to half, a quarter or a third of its screen, maximises, minimises, restores or centres it, Move to the next screen, keeps it on top, closes it, or quits its application.
  • Task View and Show desktop.
  • Virtual desktops: the next or previous desktop, a new one, or close this one.
  • Open a Windows panel: Start, Search, Notifications, Quick Settings, Widgets, the emoji panel, clipboard history, File Explorer, Settings, Run, Task Manager, display mode (Project), Cast, voice typing, a screenshot to a file, or the next keyboard layout.
  • Snip & Sketch: Windows' screen snipping.

The mouse pointer and screens

  • Click: a left, right or middle click where the mouse pointer is.
  • Scroll a step: turns the mouse wheel a number of clicks, at the mouse pointer.
  • Move the pointer: to the middle of the toolbar's own screen, the next screen, the main screen, or a screen by its number on TouchIT's Screens page. Handy for getting the pointer to another monitor.
  • Zoom whole screen: Windows' screen zoom on or off.
  • Rotate the display: turns the toolbar's screen clockwise, anticlockwise, or to landscape or portrait.
  • Display brightness: makes the toolbar's screen brighter or dimmer, or sets its brightness. This works on built-in screens and on monitors that accept brightness commands from the computer.

Sound and media

  • Media and volume: play or pause, next or previous track, stop, volume up or down, set the volume, mute, or switch to the next sound output (speakers, headphones and so on).

The Smart Magnifier

TouchIT itself

  • Turn a toolbar on or off: Turn on, Turn off or Turn on or off (toggle) the toolbar you choose. A pop-up toolbar turned on from a button opens beside that button.
  • Close this toolbar: turns off the toolbar the button is on. Turn it on again on the Toolbars page, or from a button on another toolbar.
  • Show a pop-up toolbar: opens a pop-up toolbar beside this button, like a submenu. See How a toolbar behaves.
  • Turn gestures off or on: turns TouchIT's gestures off for a time, off until turned on again, on, or over (toggle). Toolbars keep working while gestures are off, so a button is a handy way to turn them back on. It also has Touch off, for cleaning the screen: every touch is ignored for the time you set, with a countdown on every screen, so you can wipe the screen.
  • Draw a shape: after it, draw a shape with one finger to run that shape's gesture. See Gestures.
  • Set a setting: for advanced set-ups where gestures depend on a setting.

The computer

  • Lock, sleep or sign out: also turns the screens off, starts the screen saver, or restarts or shuts down the computer (these two ask first, on the screen).

Several at once

  • Several actions: runs a list of actions. Choose All of them, one after another, with a pause Between steps and a number of Times through, or One each time, in turn, so each touch of the button does the next one.

For review

the action names above are from touchit-gesture-metadata.json and gesture-metadata.json. Check them against the action list on a real cell, especially Show / hide touch keyboard, Snip & Sketch and Zoom whole screen, whose names come from Commander's Windows entries.

Not on a button

A few gesture actions need a moving finger, or a touch to hand on, so a button does not offer them: Double click, Triple click, Click and drag, Move mouse cursor, Pass touches to Windows, Switch Between Open Windows, Scroll, Move Smart Magnifier, and moving the zoomed screen.

Starting Annotate from a toolbar

The Toolbar example has an Annotate button (the pen). It uses Start a program with TouchIT Annotate, with --screen {screen} as its Arguments so that Annotate opens on the toolbar's own screen. To add one to a toolbar of your own, the simplest way is to add the Toolbar example and look at that button's settings.

Touching the button again while Annotate is open brings Annotate to the front. To stop annotating, use Annotate's own buttons. See Annotate.

For review

there is no "Annotate on/off" action as such: the example's pen button is Start a program with "bring it to the front instead" ticked. If an on/off toggle is wanted (the item 80 notes call it "the Annotate on/off cell"), it needs building; until then this section stays as it is.

Next