# Input.Observer Help > Input.Observer turns mouse gestures, hotkeys and typed abbreviations into actions on Windows, set per app. This file is its user help: every page for version 1.10.0, in English (en-US). Each page starts with a level-1 heading and its URL. UI mockups are text outlines in `ui-mockup` blocks: [Save] is a button or a box with its value, [Global ▾] a drop-down, [x] / [ ] a switch or check box that is on / off, (•) / ( ) the selected / another option, and ① a numbered callout the text refers to. Their structure words are English; their UI text is the page's language. # Quick start URL: https://input.observer/help/quick-start > The common tasks, start to finish, in the fewest steps. Each page here does one task from start to finish. Do them in order the first time: each one takes a few minutes, and together they take less than half an hour. The pages tell you what to click. The [User manual](https://input.observer/help/manual) explains the rules behind each task. ## The tasks {#tasks} | Page | What you do | | --- | --- | | [First run](https://input.observer/help/qs-first-run) | Install Input.Observer, start it, find its tray icon and open the configuration window. | | [Draw your first gesture](https://input.observer/help/qs-draw-gesture) | Draw a gesture from the starter set and see what the trail and the hint show. | | [Make a gesture do something](https://input.observer/help/qs-new-action) | Create an action that a gesture runs, apply it, and try it. | | [An action for one program](https://input.observer/help/qs-one-program) | Make an action that works in one program only. | | [Keep a program out](https://input.observer/help/qs-ignore-program) | Stop Input.Observer from reacting inside a program, such as a game. | | [Run an action from the keyboard](https://input.observer/help/qs-hotkey) | Give an existing action a hotkey. | | [Type less with text expansion](https://input.observer/help/qs-text-expansion) | Type a short code and get longer text. | | [Pause, bypass and exit](https://input.observer/help/qs-pause-bypass) | Turn Input.Observer off for a while, skip it for one click, stop a runaway action, or close it. | ## Where to go next {#next} - [The basics](https://input.observer/help/manual-basics) — how the engine and the configuration window work together. - [Steps](https://input.observer/help/steps) — build what an action does from steps, without writing a script. - [Script language reference](https://input.observer/help/script) — write what an action does as a script. - [First run](https://input.observer/help/qs-first-run) — Install Input.Observer, start it, find its tray icon and open the configuration window. - [Draw your first gesture](https://input.observer/help/qs-draw-gesture) — Draw a gesture from the starter set over a window and see what the trail and the hint show. - [Make a gesture do something](https://input.observer/help/qs-new-action) — Create an action that a gesture runs, apply it, and try it. - [An action for one program](https://input.observer/help/qs-one-program) — Make an action that works in one program only, using an app group for that program. - [Keep a program out](https://input.observer/help/qs-ignore-program) — Stop Input.Observer from reacting inside one program, such as a game or a remote desktop. - [Run an action from the keyboard](https://input.observer/help/qs-hotkey) — Add a hotkey trigger to an action you already have. - [Type less with text expansion](https://input.observer/help/qs-text-expansion) — Type a short code, press Space, and get longer text in its place. - [Pause, bypass and exit](https://input.observer/help/qs-pause-bypass) — Turn Input.Observer off for a while, skip it for one click, stop a runaway action, start in Safe Mode, or close it. # First run URL: https://input.observer/help/qs-first-run > Install Input.Observer, start it, find its tray icon and open the configuration window. Input.Observer needs 64-bit Windows 10 version 1809 or later, or Windows 11. To run it from a folder without installing it, see [Portable copy](https://input.observer/help/manual-portable) instead. ## Install {#install} 1. Run the setup program and approve the Windows prompt that asks for permission to make changes. Setup shows its pages in your Windows display language when Input.Observer is translated into it, and in English otherwise. 2. Accept the license agreement. The agreement is in English in every language. 3. On the tasks page, leave **Start Input.Observer when I sign in to Windows** checked if you want it running every time you sign in. You can change this later on the **General** page. 4. On a new installation, setup asks how gesture trails, hints and messages are drawn: - **With styles** — animated trails, themed hints and messages, and sounds. This uses the graphics card. - **Classic** — a plain line, plain hints and messages, and no sounds. This uses the least memory and processor time. Setup checks the computer's graphics first. If the computer has no hardware graphics acceleration, its graphics card can't draw styles, or setup is running in a Remote Desktop session, setup selects **Classic** and says why. You can still choose either one. You can change this later on the **Appearance** page. See [Appearance](https://input.observer/help/manual-appearance). 5. If the .NET 10 Desktop Runtime is missing, setup downloads it from Microsoft and installs it. 6. On the last page, leave **Launch Input.Observer** checked and finish. If Input.Observer is running when setup is ready to install (when you install a new version, for example), setup asks whether to close it. **Yes** closes it, even while it is still waiting at a question it asks when it starts, such as the license window; if the configuration window has unsaved changes, it asks you to save or discard them first. **No** leaves it running and keeps setup on its page, so you can close it yourself and continue. Uninstalling asks the same question; there, **No** cancels the uninstall. An update that installs without showing setup's pages, such as an update from the Microsoft Store, doesn't ask: it closes Input.Observer and starts it again when the update is done. If the configuration window has unsaved changes, it asks you to save or discard them, and the update waits up to a minute for your answer. If Input.Observer is still running after that, the update doesn't install, and a message says so. ## The first start {#first-start} The first time Input.Observer starts, it can show these windows, in this order: 1. **i.o - License Agreement**, if setup didn't already record that you accepted it. Choose **I accept** to continue. **Decline** closes Input.Observer. 2. **i.o - Activate License**. During the 30-day trial it opens at every start. Enter your email and license key and choose **Activate**, or choose **Continue Trial**. See [About and license](https://input.observer/help/manual-about-license). 3. A short splash screen. Then the tray icon appears in the notification area of the taskbar, and the configuration window opens with a welcome. If you don't see the tray icon, click the **Show hidden icons** arrow on the taskbar and drag the icon onto the taskbar to keep it in view. :::note Hold **Ctrl** while Input.Observer starts only if you want Safe Mode. Safe Mode is described on [Pause, bypass and exit](https://input.observer/help/qs-pause-bypass#safe-mode). ::: ## The welcome {#welcome} ```ui-mockup Dialog: Welcome to Input.Observer Input.Observer runs in the background and turns mouse gestures, hotkeys and typed abbreviations into actions. A few things are worth knowing before you need them. Draw a gesture Hold the right mouse button, draw a short stroke, and let go. The starter set puts its ready-made actions in the Examples category. Open Actions to see them and what triggers each one. Find the tray icon Stop a runaway action Start in Safe Mode ① [Next] Dialog: Keep the starter set? Your setup already has the starter set: everyday gestures, actions for web browsers and File Explorer, protection for the desktop and taskbar, and remote and virtual machine sessions left alone. You can change any of it later. ② [x] Keep the starter set [ ] Start from scratch It also has actions for these apps. Clear an app to remove its actions. Each one only acts while that app is in use, so an app you don't have does no harm. ③ [x] Microsoft Excel [x] Microsoft Word [x] Microsoft PowerPoint [x] Microsoft Outlook (classic) [x] Visual Studio Code [x] Adobe Acrobat [x] Adobe Photoshop [x] Adobe Illustrator [Back] ④ [Get started] ``` 1. Read the welcome. It names the stop-all-actions hotkey, which is **Ctrl+Shift+Alt+F9** unless you change it. Choose **Next** ①. 2. Your setup already has the starter set. Choose **Keep the starter set** ② to keep the ready-made gestures and actions, or **Start from scratch** to remove them: you start with no gestures or actions, and only the **Global** group. The starter set gives you everyday gestures that work in every program, actions for web browsers and File Explorer, protection for the Windows desktop and taskbar, and it leaves Remote Desktop and virtual machine windows alone. 3. Under the starter set, clear the apps you don't want actions for ③. Each app's actions only work while that app is the window under your gesture, so an app you don't have does no harm. 4. Choose **Get started** ④. Your choice is saved at once, and the **Actions** page opens. Escape on the second page keeps the whole starter set. You can open the welcome again at any time from the **⋯** menu at the top of the configuration window (**Show welcome…**) or from the **About** page. ## Open the configuration window later {#open-window} The configuration window is a separate program from Input.Observer itself. Close it whenever you like: gestures, hotkeys and text expansion keep working. To open it again: - double-click the tray icon, or - right-click the tray icon and choose **Open**. Starting Input.Observer again from the Start menu while it is already running only shows a message that it is already running. ## Simple and Advanced {#simple-advanced} The configuration window starts in **Simple** mode. The **Simple | Advanced** switch at the top of the window shows or hides advanced pages and settings. Simple mode only hides things: it never changes or resets a setting. The quick start uses Simple mode throughout. See [The configuration window](https://input.observer/help/manual-config-window#simple-advanced). ## Next {#next} [Draw your first gesture](https://input.observer/help/qs-draw-gesture). # Draw your first gesture URL: https://input.observer/help/qs-draw-gesture > Draw a gesture from the starter set over a window and see what the trail and the hint show. This page uses the starter set from the [welcome](https://input.observer/help/qs-first-run#welcome). If you chose **Start from scratch**, make an action first on [Make a gesture do something](https://input.observer/help/qs-new-action), then come back. ## Draw it {#draw} ```ui-mockup Screen: - Window: Notepad (highlighted) - A gesture drawn across the screen ``` 1. Open a program whose window isn't maximized, for example Notepad. 2. Point at the window. Press and hold the right mouse button. 3. Without letting go, move the pointer up and to the right in a straight line, about two or three centimeters, as in the picture. 4. Let go of the button. The window maximizes. Draw the same line again over it and the window goes back to its earlier size. That is the starter set's **Maximize or restore window** action, in the **Global** app group, which works in every program. ## What you see while drawing {#what-you-see} - **The trail.** Once the pointer has moved a few pixels with the button down, a trail follows it. How it looks depends on what you chose in setup and on the **Appearance** page. See [Gesture trails](https://input.observer/help/manual-trails). - **The hint.** After 150 milliseconds or 24 pixels of drawing, a small window near the pointer shows what your stroke matches so far: the app group, the action's name, and its hint note if it has one. It changes as you draw. When the stroke matches nothing, the hint disappears, and it comes back as soon as the stroke matches something again. See [Hints and messages](https://input.observer/help/manual-hints-messages). When you let go, Input.Observer brings the window you started drawing over to the front, then runs the matched action. ## When nothing matches {#no-match} If the stroke matches no action when you let go, nothing happens. The right-click doesn't reach the program either: it was used for drawing. See [How a stroke is matched](https://input.observer/help/manual-matching). ## A right-click is still a right-click {#right-click} - **A plain click.** If you press and let go without moving the pointer 5 pixels, Input.Observer sends the program an ordinary right-click, so its context menu opens as usual. - **Press and wait.** If the pointer stays still for half a second while you hold the button, the gesture is cancelled and the program gets the button press, as if Input.Observer weren't there. Use this to right-drag in programs that need it. Moving the pointer while drawing restarts the half-second wait, so a slow gesture isn't cancelled. - **Skip it entirely.** Hold **Ctrl** while you press the right button, and the press goes to the program untouched. See [Pause, bypass and exit](https://input.observer/help/qs-pause-bypass#bypass). The half second and the 5 pixels are the defaults. Both can be changed on the **General** page. See [Drawing a gesture](https://input.observer/help/manual-drawing). ## Other gestures to try {#try} These are some of the starter set's **Global** actions. They work in every program, unless an app group for that program does something else with the same shape. | Draw | Action | | --- | --- | | A straight line up | Copy (**Ctrl+C**) | | A straight line down | Paste (**Ctrl+V**) | | A straight line left | Back (**Alt+Left**) | | A straight line right | Forward (**Alt+Right**) | | A diagonal line down and to the left | Minimize window | | The letter C | Center window | | A square | Show desktop | Every starter action is in the **Examples** category on the **Actions** page, with the gesture that runs it. The gestures themselves are on the **Gestures** page. See [The gesture library](https://input.observer/help/manual-gesture-library). ## Next {#next} [Make a gesture do something](https://input.observer/help/qs-new-action). # Make a gesture do something URL: https://input.observer/help/qs-new-action > Create an action that a gesture runs, apply it, and try it. An **action** is what Input.Observer does for you. A **trigger** is what starts it: a gesture, a hotkey or typed text. This page makes an action with a gesture trigger that opens Notepad. ## Create it with Quick create {#quick-create} ```ui-mockup ① [Quick create…] Dialog: What do you want to make? Step 1 of 5 ② Card: Do something when I draw a shape (highlighted) Hold the mouse button you draw with, draw a shape, and let go. Card: Do something when I press keys Card: Replace something I type Card: Leave a program alone [Cancel] [Back] [Next] Dialog: Where should it work? ③ Card: In every program (highlighted) Card: Only in one program Dialog: Which shape? ④ Gesture gallery: - Down, then right (selected) - Right, then up - Up and back down [+ Draw a new shape] Dialog: What should it do? Card: Send keys ⑤ Card: Open a program, file or website (highlighted) Anything you could open from the Run box. ⑥ Program, file, folder or web address: [notepad] Dialog: Name it and create it Name: [Open Notepad] Banner (info): New things take effect once they're applied. Apply now, or later with the bar at the bottom of the window (or Ctrl+S). [Cancel] [Back] [Create, apply later] ⑦ [Create and apply] ``` 1. In the configuration window, click **Quick create…** ① under the list of pages, or press **Ctrl+N**. The wizard opens. 2. Choose **Do something when I draw a shape** ② and click **Next**. 3. Choose **In every program** ③ and click **Next**. 4. Pick a shape ④. Each card says what that shape already does here. You can't choose a shape whose action here runs for every stroke, because only that action would run. A shape whose action is limited to some profiles, draw buttons or regions gets a warning instead. The wizard selects the first free shape for you. To make a shape of your own, choose **Draw a new shape**, give it a name, and draw it three times in the box with the left mouse button. Click **Next**. 5. Choose **Open a program, file or website** ⑤, type `notepad` in **Program, file, folder or web address** ⑥, and click **Next**. To make the gesture maximize the window instead, choose **Maximize or restore the window**. 6. Keep the suggested name or type your own, then click **Create and apply** ⑦. The new action is created, applied to Input.Observer at once, and shown on the **Actions** page. Applying saves every unsaved change in the window, not only this one. **Create, apply later** creates the action without applying it; it then waits, with any other unsaved changes, until you click **Apply** at the bottom of the window. ## Try it {#try-it} Draw the shape you chose with the right mouse button over any window. While you draw, the hint shows the action's name. When you let go, Notepad opens. If nothing happens, see [Troubleshooting](https://input.observer/help/manual-troubleshooting). ## Do the same on the Actions page {#actions-page} Quick create is a shortcut. Everything it makes is an ordinary action that you can open and change on the **Actions** page, and you can build an action there from the start. ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Actions ② List: Actions - Open Notepad (selected) Page: Actions ① App group: [Global ▾] Card: Triggers ③ [+ Gesture] Trigger (GESTURE): Down, then right ④ [gesture drawing: Gesture] Card: What it does Steps: 1. Run or open notepad ADD A STEP ⑤ [ ] Send keys [ ] Type text [ ] Click [ ] Move window [ ] Show a notification [ ] Wait [ ] ƒ All 328 builtins… [ ] ≔ Set variable [ ] ↻ If / loop Status bar: Engine connected ``` 1. Open **Actions**. In **App group** ①, choose the group the action belongs to: **Global** for every program. The list can't create an action while it shows **All**, because an action always belongs to one app group. 2. Click **+ New** at the bottom of the **Actions** list ②, and type a name. 3. In **Triggers**, click **+ Gesture** ③. Click the empty gesture box ④ and choose a gesture, or click **New…** to draw one. 4. In **What it does**, pick a step under **ADD A STEP** ⑤ and fill in its settings. 5. Click **Apply** in the bar at the bottom of the window, or press **Ctrl+S**. Nothing you change in the configuration window takes effect until you apply it. See [The configuration window](https://input.observer/help/manual-config-window#saving), [The Actions page](https://input.observer/help/manual-action-editor) and [Steps](https://input.observer/help/steps). ## Next {#next} [An action for one program](https://input.observer/help/qs-one-program). # An action for one program URL: https://input.observer/help/qs-one-program > Make an action that works in one program only, using an app group for that program. Actions belong to **app groups**. The **Global** group works in every program. An app group works only in the windows its rules describe, for example every Notepad window. This page makes a gesture that opens Notepad's **Replace** box, and only in Notepad. ## Create it {#create} ```ui-mockup Dialog: Where should it work? Card: In every program ① Card: Only in one program (highlighted) [Refresh] ③ [Point at a window] [Browse…] ② List: Programs with a window open - Notepad — notepad.exe (selected) - Microsoft Edge — msedge.exe ④ Banner (info): A new app group “Notepad” is made for it. Dialog: What should it do? ⑤ Card: Send keys (highlighted) Send a shortcut such as Ctrl+T. Card: Open a program, file or website ⑥ Keys to press: [Ctrl+H] ``` 1. Open Notepad, so it has a window. 2. In the configuration window, click **Quick create…** (or press **Ctrl+N**), choose **Do something when I draw a shape**, and click **Next**. 3. Choose **Only in one program** ①. 4. In **Programs with a window open**, choose **Notepad** ②. If the program isn't listed, click **Point at a window** ③, hold the mouse button down, drag onto the program's window and let go, or click **Browse…** and choose the program file. 5. Read the note under the list ④. It says which app group the action goes into: an app group that already covers the program, or a new one made for it. Click **Next**. 6. Pick a shape. A card marked **Here instead of:** is a shape that already does something in **Global**. Choosing it is allowed: in Notepad your new action runs instead, and the **Global** action keeps working in every other program. Click **Next**. 7. Choose **Send keys** ⑤. Click the **Keys to press** box ⑥, press **Ctrl+H**, and click **Next**. 8. Click **Create and apply**. ## Try it {#try-it} Draw the shape over Notepad: its **Replace** box opens. Draw it over any other window: if the shape has a **Global** action, that action runs there, and otherwise nothing happens. ## What was made {#what-was-made} - On the **App groups** page, a group for Notepad, with one rule on its **Windows** tab: the program file is `notepad.exe`. Every window of that program now belongs to the group. - On the **Actions** page, your action, in that group. A gesture that the Notepad group has no action for still runs **Global**'s action in Notepad. That is the group's **Fall back to Global** setting, which is on unless you turn it off. See [App groups](https://input.observer/help/manual-app-groups) and [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling). ## Next {#next} [Keep a program out](https://input.observer/help/qs-ignore-program). # Keep a program out URL: https://input.observer/help/qs-ignore-program > Stop Input.Observer from reacting inside one program, such as a game or a remote desktop. An **ignore group** names programs that Input.Observer leaves alone. In their windows the right mouse button and your typing go straight to the program: no gestures, no text expansion, and none of your actions run there, Global's included. The starter set already ignores Remote Desktop and common virtual machine and remote control programs. ## Create the ignore group {#create} ```ui-mockup Dialog: What do you want to make? Card: Do something when I draw a shape Card: Do something when I press keys Card: Replace something I type ① Card: Leave a program alone (highlighted) Gestures and typed shortcuts pass straight through to it, and none of your actions run there. A hotkey's key combination still doesn't reach it unless the hotkey's Registered option is off. Useful for games and remote desktops. Dialog: Which program should be left alone? ② List: Programs with a window open - My Game — mygame.exe (selected) Banner (info): A new ignore group “My Game (left alone)” is made for it. Dialog: Name the group and create it Name: [My Game (left alone)] [Cancel] [Back] [Create, apply later] ③ [Create and apply] ``` 1. Start the program, so it has a window. 2. In the configuration window, click **Quick create…** (or press **Ctrl+N**), choose **Leave a program alone** ①, and click **Next**. 3. Choose the program ②, or use **Point at a window** or **Browse…** as on [An action for one program](https://input.observer/help/qs-one-program#create). If the program already belongs to an app group, a note names the group whose gestures, hotkeys and typed shortcuts stop working there. Click **Next**. 4. Keep the suggested name or type your own, and click **Create and apply** ③. The new ignore group is on the **Ignore groups** page. Ignore groups are checked before every app group, so the program is left alone even if an app group also covers it. :::warning A hotkey that is reserved with Windows still takes its key combination away from every program, ignored ones included: the program never receives those keys, and the action doesn't run there either. See [Hotkeys](https://input.observer/help/manual-hotkeys). ::: ## For a game: pause everything while it has focus {#game} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Ignore groups List: Ignore groups - My Game (left alone) (selected) Page: Ignore groups Card: What happens in these windows No gestures, hotkeys or text expansion in these windows, and no fallback to Global. Use it for remote desktops and virtual machines. ① [ ] Only while the window is fullscreen ② [x] Pause everything while focused Turns the whole app off while a window in this group has focus, for example a game. A hotkey's key combination still doesn't reach that window unless the hotkey's Registered option is off. A manual disable from the tray always wins. ``` 1. Open **Ignore groups** and select the group. 2. Turn on **Only while the window is fullscreen** ① if the program should be left alone only while it fills the screen, and treated normally the rest of the time. 3. Turn on **Pause everything while focused** ② to switch Input.Observer off completely while a window of this group is in front. It switches back on when another window comes to the front. With ① on as well, it pauses only while the window is fullscreen. While it is paused, the tray icon's tooltip names the group. A pause you set yourself from the tray always wins over this one. 4. Click **Apply**. See [Ignore groups](https://input.observer/help/manual-ignore-groups) for every rule, and [The tray icon](https://input.observer/help/manual-tray) for the paused state. ## Next {#next} [Run an action from the keyboard](https://input.observer/help/qs-hotkey). # Run an action from the keyboard URL: https://input.observer/help/qs-hotkey > Add a hotkey trigger to an action you already have. An action can have several triggers. This page adds a hotkey to the **Open Notepad** action from [Make a gesture do something](https://input.observer/help/qs-new-action), so both the gesture and the keys run it. Any other action works the same way. ## Add the hotkey {#add} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Actions ① List: Actions - Open Notepad (selected) Page: Actions App group: [Global ▾] Card: Triggers [+ Gesture] ② [+ Hotkey] [+ Text expansion] Trigger (GESTURE): Down, then right (collapsed) Trigger (HOTKEY): Ctrl+Shift+Alt+N Key combination ③ [Ctrl+Shift+Alt+N] (waiting for keys) ``` 1. Open **Actions**. Choose the action's app group in **App group**, or **All**, and select the action in the list ①. 2. In **Triggers**, click **+ Hotkey** ②. A new **HOTKEY** trigger opens under the others. 3. Click the **Key combination** box ③. It reads **Press a key combo…**. Press the keys together, for example **Ctrl+Shift+Alt+N**. While the box is waiting, it catches every key, even ones Windows would act on, such as **Win+E**. Media, volume and browser keys work too, and the box shows their names, such as **Play/Pause**. Press **Escape** to stop without setting anything. 4. If a colored banner appears above the triggers, read it. It tells you when the keys are already used by another action or by the stop-all-actions hotkey, and which one wins. 5. Click **Apply** at the bottom of the window, or press **Ctrl+S**. Now press **Ctrl+Shift+Alt+N** anywhere: Notepad opens. ## Choosing keys {#choosing-keys} - **Ctrl+Shift+Alt with a letter** is rarely used by other programs. The starter set already uses **Ctrl+Shift+Alt+O** to open the configuration window, and **Ctrl+Shift+Alt+F9** stops all actions. - **The keys are taken from every program.** In Simple mode a hotkey is reserved with Windows: while Input.Observer runs, no other program receives those keys, even in a program where your action doesn't run, and even while Input.Observer is paused from the tray. - **The window in front decides which action runs.** A hotkey belongs to the action's app group. The app group of the window in front is used, and **Global** when that group has no action for the keys (unless the group's **Fall back to Global** is off). :::note **Advanced mode.** The hotkey trigger also shows **Registered**. Turn it off to react to the keys without reserving them: other programs then receive them too. Advanced mode also shows **Held modifier keys**, and **Swallow the final key** for a hotkey that isn't reserved. See [Hotkeys](https://input.observer/help/manual-hotkeys). ::: ## Next {#next} [Type less with text expansion](https://input.observer/help/qs-text-expansion). # Type less with text expansion URL: https://input.observer/help/qs-text-expansion > Type a short code, press Space, and get longer text in its place. A **replacement** turns a short code into longer text. When you type its code and then press **Space**, the code is erased and the replacement text is typed in its place. The starter set has one already: type `;shrug` and press **Space** in any program. ## Add a replacement {#add} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Text expansion ② List: Replacements - Type a shrug - Home address (selected) Page: Text expansion (•) Replacements ( ) Settings ① App group: [Global ▾] Card: Trigger ③ Typed text: [;addr] — Case-sensitive unless Follow capitalization is on. Expands when followed by Space, Tab, Enter or a period, comma, exclamation mark or question mark, as the Settings tab of the Text expansion page allows. Card: What it does ④ (•) Text ( ) Text via clipboard ( ) RTF ( ) HTML ⑤ Replacement text: [1 Main Street, Springfield] ``` 1. Open **Text expansion**. The **Replacements** tab is selected. 2. In **App group** ①, choose **Global** so the replacement works in every program. Choose a program's app group instead to make it work only there. A new replacement can't be made while **All** is selected. 3. Click **+ New** at the bottom of the **Replacements** list ②, and type a name for it. 4. In **Typed text** ③, type the code, for example `;addr`. Start it with a character such as `;` so it never matches an ordinary word. 5. Under **What it does**, keep **Text** ④ and type the replacement in **Replacement text** ⑤. 6. Click **Apply**. Open Notepad, type `;addr` and press **Space**. The code disappears, the address appears, and the space follows it. ## The rules {#rules} - **Case matters.** `;addr` expands; `;Addr` doesn't, unless you turn on **Follow capitalization**. - **What ends the code:** **Space**, **Tab** or **Enter**, or a period, comma, exclamation mark or question mark. The key you pressed is sent after the replacement, so **Enter** acts on the finished text. Turn off **Type the key that ended it** to leave it out. - **A space can't be part of the code**, because a space ends it. - **Holding Ctrl, Alt or Win** while typing starts the code over: a shortcut is never typing. - **Which replacement runs** depends on the window you type in: its app group's replacements first, then **Global**'s. **Text** types the replacement as keystrokes, which works almost everywhere but is slow for long text. **Text via clipboard** pastes it, which is instant. See [Text expansion](https://input.observer/help/manual-text-expansion). To fix your common misspellings as you type, there is also **Autocorrect**, off until you turn it on and import or add a list ([Autocorrect](https://input.observer/help/manual-autocorrect)). :::note **Advanced mode.** The **Settings** tab also shows **Expand on Space**, **Expand on Tab**, **Expand on Enter** and **Expand on punctuation**, to choose which keys end a code. In Simple mode it shows only **Text expansion enabled**, which turns every replacement on or off. ::: ## Next {#next} [Pause, bypass and exit](https://input.observer/help/qs-pause-bypass). # Pause, bypass and exit URL: https://input.observer/help/qs-pause-bypass > Turn Input.Observer off for a while, skip it for one click, stop a runaway action, start in Safe Mode, or close it. ```ui-mockup Tray menu: ① ✓ Enabled ✓ Global Actions ──── Open Show Console ──── Profile › Manage... ──── ② Reload Config Open Config Folder Set Password... Apply License Key... Help ──── ③ Exit ``` ## Pause it {#pause} 1. Right-click the tray icon and choose **Enabled** ① to clear its check mark. A single left-click on the icon does the same. 2. To turn it back on, choose **Enabled** again, or click the icon again. While it is paused, the icon is gray and its tooltip reads **i.o - disabled**. Gestures and text expansion are off, and the right mouse button and your typing go straight to programs. Hotkeys that are reserved with Windows still take their keys, but do nothing. Input.Observer is always switched on again the next time it starts. ## Skip it for one click {#bypass} Hold **Ctrl** while you press the right mouse button. That press, the drag and the release go to the program as if Input.Observer weren't there. Release **Ctrl** when you are done. **Ctrl** is the default. You can choose **Ctrl**, **Shift**, **Alt** or several of them under **Ignored modifier keys** on the **General** page. See [Ignored modifier keys](https://input.observer/help/manual-ignore-keys). ## Stop a runaway action {#stop-all} Press **Ctrl+Shift+Alt+F9**. Every running action stops, even one that is stuck. So that nothing starts it again, Input.Observer then also switches off gestures, text expansion, hotkeys, script timers and folder watches, and shows a notification saying so. Hotkeys reserved with Windows stay reserved, so their keys still don't reach other programs, but they run nothing. The keys work even in the middle of a gesture or a macro recording. To switch everything back on, right-click the tray icon and choose **Reload Config** ②. The keys can be changed, or turned off, under **Stop all actions hotkey** on the **General** page. They must include **Ctrl**, **Alt** or **Win**, so ordinary typing can't set them off. ## Safe Mode {#safe-mode} Use Safe Mode when an action or script misbehaves as soon as Input.Observer starts. 1. If Input.Observer is running, exit it (below). 2. Hold **Ctrl** while you start Input.Observer, and keep holding it until a question appears. 3. **i.o - Safe Mode** asks **Start Input.Observer in Safe Mode?** Choose **Yes**. In Safe Mode there are no mouse or keyboard hooks, no hotkeys, no plugins, and none of your actions or **Config loaded** and **Engine shutting down** scripts run. You are still asked for your password and license as usual. The tray icon is gray, and its tooltip reads **i.o - Safe Mode (restart to resume normal operation)**. The configuration window works, so you can fix the problem there. Safe Mode lasts until you exit and start Input.Observer again normally. ## Exit {#exit} Right-click the tray icon and choose **Exit** ③. - If the configuration window has unsaved changes, it asks first: **Save** or **Discard changes**. Input.Observer exits either way. - The configuration window closes too. - Windows that a script hid, or minimized to the tray, are shown again. See [The tray icon](https://input.observer/help/manual-tray) for every menu item. ## Next {#next} You have finished the quick start. The [User manual](https://input.observer/help/manual) covers every feature in detail. # User manual URL: https://input.observer/help/manual > Every feature, every page of the configuration window, and the rules behind them. The manual explains every feature and every page of the configuration window, and states the rules exactly: what matches, what wins, and what each setting does, with its default. To get something done quickly, start with the [Quick start](https://input.observer/help/quick-start) instead. ## How it is organized {#organization} | Part | What it covers | | --- | --- | | [The basics](https://input.observer/help/manual-basics) | How Input.Observer works, the configuration window, the tray icon, and a glossary of terms. | | [Gestures](https://input.observer/help/manual-gestures) | Drawing a gesture, the gesture library, and how a stroke is matched. | | [Where actions apply](https://input.observer/help/manual-scope) | App groups, scope and fallback, ignore groups, regions, modifiers and timing, profiles, and actions that run before or after others. | | [Keyboard](https://input.observer/help/manual-keyboard) | Hotkeys, text expansion, ignore keys, and touch and pen input. | | [Actions](https://input.observer/help/manual-actions) | The Actions page, the ways an action can run, snippets, the macro recorder, the sandbox, and global events. | | [On screen](https://input.observer/help/manual-on-screen) | Appearance, gesture trails, hints and messages, and exclusion zones. | | [Settings and maintenance](https://input.observer/help/manual-settings) | General settings, scripts, plugins, security, import and export, the configuration file, the console, the license, and troubleshooting. | Two more parts of the help go into depth on what an action does: - [Steps](https://input.observer/help/steps) — building an action from steps in the Steps editor. - [Script language reference](https://input.observer/help/script) — the script language, every builtin and a library of examples. ## Conventions {#conventions} - **Bold** text is a label exactly as the program shows it: a page, card, setting, button or menu item. - The manual uses the names Simple mode shows. Where Advanced mode names something differently, the page says so once. - A section that starts with a note saying **Advanced mode.** describes something that only Advanced mode shows. See [Simple and Advanced](https://input.observer/help/manual-config-window#simple-advanced). - [The basics](https://input.observer/help/manual-basics) — How Input.Observer is put together, the configuration window, the tray icon and the terms it uses. - [Gestures](https://input.observer/help/manual-gestures) — Drawing gestures, the gesture library, and how a drawn stroke is matched. - [Where actions apply](https://input.observer/help/manual-scope) — App groups, scope and fallback, ignore groups, regions, modifiers, profiles and before/after actions. - [Keyboard](https://input.observer/help/manual-keyboard) — Hotkeys, text expansion, ignored modifier keys, and touch and pen input. - [Actions](https://input.observer/help/manual-actions) — What an action is, and the pages that build, store, record and test actions. - [On screen](https://input.observer/help/manual-on-screen) — What Input.Observer draws on your screen while you work: gesture trails, hints and messages, and where it never reacts to a click. - [Settings and maintenance](https://input.observer/help/manual-settings) — General settings, script settings, plugins, security, import and export, the configuration file, the console, the license and troubleshooting. # The basics URL: https://input.observer/help/manual-basics > How Input.Observer is put together, the configuration window, the tray icon and the terms it uses. Start here to understand the parts of Input.Observer and the words the rest of the manual uses. | Page | What it covers | | --- | --- | | [How it works](https://input.observer/help/manual-how-it-works) | The engine and the configuration window, where your settings are kept, and what happens from the moment you press the draw button to the moment an action runs. | | [The configuration window](https://input.observer/help/manual-config-window) | The list of pages, lists and editors, saving and applying, the status bar, theme, Simple and Advanced mode, and Quick create. | | [The tray icon](https://input.observer/help/manual-tray) | What each icon and tooltip means, and every item on the tray menu. | | [Glossary](https://input.observer/help/manual-glossary) | Every term you meet, with a link to the page that explains it. | - [How it works](https://input.observer/help/manual-how-it-works) — The engine and the configuration window, where your settings are kept, and what happens from a button press to an action. - [The configuration window](https://input.observer/help/manual-config-window) — The list of pages, lists and editors, saving and applying, the status bar, theme, Simple and Advanced mode, Quick create, and the help window. - [The tray icon](https://input.observer/help/manual-tray) — What each tray icon and tooltip means, what clicking the icon does, and every item on the tray menu. - [Glossary](https://input.observer/help/manual-glossary) — Every term Input.Observer uses, with a link to the page that explains it. # How it works URL: https://input.observer/help/manual-how-it-works > The engine and the configuration window, where your settings are kept, and what happens from a button press to an action. ## Two programs {#two-programs} Input.Observer is two programs that work together. - **The engine** runs in the background, with its icon in the notification area of the taskbar. It receives mouse and keyboard input, draws the gesture trail and the hint, recognizes gestures, hotkeys and typed codes, and runs your actions. It also has the diagnostic console. The engine works on its own: it needs nothing else running. - **The configuration window** is where you change what the engine does. It is a separate program that you open from the tray icon and close whenever you like; closing it changes nothing in the engine. It can only run while the engine runs: started on its own, it says that Input.Observer isn't running and closes. When the engine exits, the configuration window closes too. **Plugins** are further separate programs that the engine starts and stops. The bundled Styles plugin draws animated trails, themed hints and messages, and plays sounds, when you choose a style for them. See [Plugins](https://input.observer/help/manual-plugins). The engine receives mouse input only while something you configured needs it: at least one draw button, a draw key, a global mouse or wheel event, or text expansion. While the engine is paused from the tray it receives neither mouse nor keyboard input. ## Where your settings are kept {#settings-location} - **The configuration file.** Everything you set up — gestures, actions, app groups, settings — is in one file, `config.toml`, in the `Input.Observer` folder of your roaming application data (`%APPDATA%\Input.Observer`). If a `config.toml` sits in the same folder as the engine's program file, that one is used instead, which lets you run Input.Observer from a folder you carry with you. The tray menu's **Open Config Folder** opens the folder in use. - **Who writes it.** The engine reads the file when it starts. The configuration window gets the settings from the engine and hands your changes back when you apply them; the engine writes the file and starts using the changes at once. If you edit the file by hand, choose **Reload Config** from the tray menu to use your edits. - **Next to it** are your license, the console's settings, the active profile, your macro recordings, and a **Backup** folder with up to 10 earlier versions of the file. - **The configuration window's own preferences** — its size and position, Simple or Advanced mode, the page you last had open, and the sandbox layouts — are kept for this computer only, in `%LOCALAPPDATA%\Input.Observer`. The theme and the language are in the configuration file, because the engine uses them too. The configuration file can be protected with a password. See [The configuration file](https://input.observer/help/manual-config-file) and [Security](https://input.observer/help/manual-security). ## From a button press to an action {#press-to-action} This is what happens when you draw a gesture with the default settings. 1. **You press the right mouse button.** At once, before anything else, the engine decides whether this press is a possible gesture. It isn't, and the press goes to the program untouched with no delay, when: - an ignored modifier key (**Ctrl** by default) is held, - the pointer is in an exclusion zone, - the window under the pointer belongs to an ignore group, - the window's app group has **Draw buttons start gestures here** turned off, or - neither the window's app group nor **Global** has gestures to offer there. The window that counts is the top-level window under the pointer. Ignore groups are checked first, then app groups in their list order; a window no group claims belongs to **Global**. See [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling). Holding the draw key instead of a mouse button works the same way, except that **Draw buttons start gestures here** doesn't apply to it. See [The draw key](https://input.observer/help/manual-drawing#draw-key). 2. **The press is held back while you draw.** Once the pointer moves 5 pixels, the press is a gesture and the trail appears. If you let go before that, the program gets an ordinary click. If the pointer stays still for half a second, the gesture is cancelled and the program gets the press. A gesture can last at most 10 seconds. While you draw, keys you press and other mouse buttons go to the gesture, not to the program. See [Drawing a gesture](https://input.observer/help/manual-drawing). 3. **The stroke is compared as you draw.** It is scored against the gestures that the window's app group and **Global** use. The hint shows what it matches so far. See [How a stroke is matched](https://input.observer/help/manual-matching). 4. **You let go, and the action is chosen.** The best-scoring gesture counts only if its score reaches the match threshold (75 by default). Among the app group's actions whose trigger fits — gesture, draw button or draw key, held modifiers, region and profile — the most specific one is chosen. If the app group has none, **Global**'s actions are tried, unless the group's **Fall back to Global** is off. 5. **The action runs.** The window you started drawing over comes to the front, then any actions set to run before it, the action itself, and any set to run after it. See [Before and after actions](https://input.observer/help/manual-before-after). If nothing matches, nothing runs, and the press doesn't reach the program. The **Nothing matched** global event can run an action for that case. See [Global events](https://input.observer/help/manual-global-events). **Hotkeys and text expansion** follow the same app-group rules, but the window that counts is the window in front, not the window under the pointer. See [Hotkeys](https://input.observer/help/manual-hotkeys) and [Text expansion](https://input.observer/help/manual-text-expansion). ## Simple and Advanced mode {#simple-advanced} The configuration window has two modes. **Simple** shows what most people need. **Advanced** adds pages and settings for finer control, such as modifier timing, regions, profiles, the code behind steps, global events, exclusion zones, plugins and the console. The mode changes only what the window shows. Every setting works the same in both modes, and settings you changed in Advanced mode stay in effect in Simple mode. See [The configuration window](https://input.observer/help/manual-config-window#simple-advanced). # The configuration window URL: https://input.observer/help/manual-config-window > The list of pages, lists and editors, saving and applying, the status bar, theme, Simple and Advanced mode, Quick create, and the help window. Open the configuration window by double-clicking the tray icon, or by choosing **Open** from the tray menu. Only one configuration window runs at a time; opening it again brings the open one to the front. ## The parts of the window {#layout} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Actions List: Actions (24) [search box] - Copy — Examples - Paste — Examples (selected) - Old macro (disabled) Page: Actions — 24 actions across 6 app groups Card: Paste Name: [Paste] Status bar: Engine connected ① ( ) Simple (•) Advanced ② (•) System ( ) Light ( ) Dark ③ Menu: Import… Import from StrokesPlus.net… Export… ──── Show welcome… ④ [Quick create…] ⑤ 3 unsaved changes [Discard] [Apply] [Save and close] ``` - **Title bar.** The **Simple | Advanced** switch ①, the theme switch ② (**System**, **Light**, **Dark**), and the **More** button (**⋯**), whose menu ③ holds **Import…**, **Import from StrokesPlus.net…**, **Export…** and **Show welcome…**. See [Import and export](https://input.observer/help/manual-import-export). - **The list of pages**, in three sections: **Automation**, **Engine** and **Setup**. A number beside a page counts what it holds, such as actions or app groups; it is hidden at zero. Drag the divider beside the list to make it wider or narrower. **Help**, above **About**, isn't a page: it opens [the help window](https://input.observer/help/manual-config-window#help). - **Quick create…** ④, under the list of pages, opens the wizard described in [Quick create](https://input.observer/help/manual-config-window#quick-create). - **At the foot of the list of pages**, the active profile's name and how many profiles there are. - **The page header** shows the page's name and a one-line summary, such as how many items it holds. The **?** button at its end (or **F1**) opens this help on the page that describes it. - **The page body.** Many pages have a list on one side and an editor for the selected item beside it. On **Actions**, **Text expansion**, **Snippets**, **Recorder**, **App groups** and **Ignore groups**, drag the gap between the list and the editor to make the list wider or narrower; those pages share one list width. - **The save bar** ⑤ appears at the bottom while anything is unsaved. See [Saving](https://input.observer/help/manual-config-window#saving). - **The status bar** along the bottom edge. See [The status bar](https://input.observer/help/manual-config-window#status). The window remembers its size and position, the width of the list of pages and of the item lists, the mode, the page you were on, and the item you had selected on each page. It doesn't remember filters or search text. ## The pages {#pages} | Section | Page | Shown in Simple mode | Help | | --- | --- | --- | --- | | Automation | **Actions** | Yes | [The Actions page](https://input.observer/help/manual-action-editor) | | Automation | **Text expansion** | Yes | [Text expansion](https://input.observer/help/manual-text-expansion) | | Automation | **Autocorrect** | Yes | [Autocorrect](https://input.observer/help/manual-autocorrect) | | Automation | **Snippets** | Yes | [Snippets](https://input.observer/help/manual-snippets) | | Automation | **Recorder** | No | [Macro recorder](https://input.observer/help/manual-recorder) | | Automation | **Sandbox** | Yes | [Sandbox](https://input.observer/help/manual-sandbox) | | Automation | **App groups** | Yes | [App groups](https://input.observer/help/manual-app-groups) | | Automation | **Ignore groups** | Yes | [Ignore groups](https://input.observer/help/manual-ignore-groups) | | Automation | **Gestures** | Yes | [The gesture library](https://input.observer/help/manual-gesture-library) | | Engine | **Global events** | No | [Global events](https://input.observer/help/manual-global-events) | | Engine | **Exclusion zones** | No | [Exclusion zones](https://input.observer/help/manual-exclusion-zones) | | Engine | **Scripts** | No | [Script settings](https://input.observer/help/manual-scripts-settings) | | Engine | **Plugins** | No | [Plugins](https://input.observer/help/manual-plugins) | | Setup | **General** | Yes | [General settings](https://input.observer/help/manual-general) | | Setup | **Appearance** | Yes | [Appearance](https://input.observer/help/manual-appearance) | | Setup | **Profiles** | No | [Profiles](https://input.observer/help/manual-profiles) | | Setup | **Console** | No | [Console](https://input.observer/help/manual-console) | | Setup | **Security** | Yes | [Security](https://input.observer/help/manual-security) | | Setup | **About** | Yes | [About and license](https://input.observer/help/manual-about-license) | ## Lists and editors {#lists} Pages that hold many items show them in a list: - **Filter…** at the top narrows the list to the items that match what you type, and the count then reads as shown out of the total, for example **3/24**. The **X** at the end of the box clears it. - **+ New** at the bottom adds an item and puts the cursor in its name, with the new name selected, so you can type the name right away. The button beside it duplicates the selected item. - Hovering over a row shows a delete button. Deleting asks first, and says what else is affected. - A turned-off item is grayed and its name ends in **· disabled**. - A row with a conflict icon has a problem; open it to see the details. - Select a row to edit it beside the list. On the **Actions** and **Text expansion** pages, an **App group** box above the list chooses which group's items are listed, or **All**. A new item always belongs to one app group, so **+ New** needs a group selected. These two lists are sorted by category and name, in sections you can collapse; their order doesn't decide which item runs. On the **App groups** and **Ignore groups** pages the order does decide which group a window belongs to, and **Move up** and **Move down** change it. ## Saving and applying {#saving} Nothing you change takes effect until you apply it. While anything is unsaved, the save bar at the bottom shows how many changes are waiting, and three buttons: | Button | What it does | | --- | --- | | **Discard** | Asks first, then undoes every change made since the window opened, including ones already applied, and closes the window. | | **Apply** (**Ctrl+S**) | Saves every change, and the engine starts using them at once. The window stays open. | | **Save and close** | Saves whatever is left, then closes the window. | After **Apply**, the bar reads **Changes applied** until you close the window, so that **Discard** can still undo them. When the engine applies changes, actions that are still running are stopped, and the **Config loaded** global event runs again. Some changes don't wait for **Apply**: - the **Plugins** and **Security** pages, which act at once and say so; - choosing what draws the trail, the hints and the messages on the **Appearance** page; - the theme, which is saved on its own. ### Closing with unsaved changes {#closing} **Esc** closes the window, like its close button, unless the control you're in uses it first (an open list, menu or pop-up, a find bar, or a name you're editing). In a text box or the script editor, the first **Esc** only leaves the box, keeping what you typed; the next one closes the window. With nothing unsaved, the window closes at once. Closing the window with unsaved changes asks **Save changes before closing?** with **Save**, **Discard changes** and **Keep editing**. While the engine can't be reached, **Save to file…** takes the place of **Save**: it writes your unsaved changes to a file so they aren't lost, but that file can't be imported back. When the [autocorrect](https://input.observer/help/manual-autocorrect) list has unsaved changes too, it goes to a second file beside the first, named after it with `.autocorrect.txt` at the end (`input-observer-config.autocorrect.txt`), in the list's own format, and a message names both files. The Autocorrect page's **Import…** reads that one back. If you exit Input.Observer from the tray while the window has unsaved changes, the window asks **Input.Observer is closing** with **Save** and **Discard changes**. The engine exits either way. When the autocorrect list can't be saved (it has rows that aren't valid, or is too large), **Save** saves everything else and says so; the list stays as it was last saved. ### When the file changed on disk {#changed-on-disk} If the configuration file was changed outside the window after you opened it — edited by hand, or restored from a backup — saving asks **The configuration changed on disk**: - **Reload** throws away your unsaved changes and reads the file again. - **Overwrite** replaces the file with the window's version. - **Keep editing** does neither. ### Notes from the engine {#engine-notes} When the engine had to repair something in the configuration while reading it — a value out of range, an entry it couldn't use — or has advice about it, such as two triggers that tie, a bar above the save bar says how many notes there are. **Show** lists them. Repairs are also shown when the window opens and right after a save that needed them. A note disappears once you delete the item it is about. ## The status bar {#status} The bar along the bottom edge shows, from left to right: - **Engine connected**, or **Engine not reachable — retrying** in red. While the engine can't be reached you can keep editing, but you can't apply; the window keeps trying every 3 seconds and reconnects on its own. - The active profile, or **No profile**. See [Profiles](https://input.observer/help/manual-profiles). - **Saved**, or **Unsaved changes** with the number of changes. ## Theme and language {#theme} The theme switch in the title bar chooses **System** (follow Windows), **Light** or **Dark**. The same choice is the **Theme** row on the **Appearance** page. The engine's own windows, its splash screen and its dialogs follow it too. Changing it never counts as an unsaved change. The language is the **Language** row on the **Appearance** page. **Windows default** follows the Windows display language. The configuration window shows a new language after you close and reopen it. See [Appearance](https://input.observer/help/manual-appearance). ## Simple and Advanced {#simple-advanced} The **Simple | Advanced** switch in the title bar changes what the window shows: - **Simple** hides the **Recorder**, **Global events**, **Exclusion zones**, **Scripts**, **Plugins**, **Profiles** and **Console** pages, and hides advanced settings on the other pages. - **Advanced** shows everything. Simple mode only hides things. It never changes, clears or resets a setting, so a setting you changed in Advanced mode keeps working in Simple mode. A page that hides settings shows a banner at the bottom saying how many, for example **3 advanced settings are hidden in Simple mode.** When a hidden setting has a value other than its default, the banner says it is still in effect. **Show advanced** on the banner switches the window to Advanced mode. If one of those Advanced-only pages is open when you switch to Simple, the window moves to the first page, **Actions**. The mode is remembered for the next time you open the window, and so is the open page, except that the window never reopens on an Advanced-only page in Simple mode: it opens on **Actions** instead. The tray's **Profile** > **Manage...** switches the window to Advanced mode and opens **Profiles**. ## Quick create {#quick-create} **Quick create…** (or **Ctrl+N**) asks one question at a time and makes one of four things: | Choice | What it makes | | --- | --- | | **Do something when I draw a shape** | An action with a gesture trigger. | | **Do something when I press keys** | An action with a hotkey trigger. The hotkey is reserved with Windows. | | **Replace something I type** | A text expansion replacement. | | **Leave a program alone** | An ignore group for one program. | The pages ask what to make, where it should work, the trigger, what it does and a name; an ignore group skips the trigger and what it does. Your answers so far are shown under the heading. A red notice explains anything that stops you going on; other notices are advice. - **Where it goes.** **In every program** uses the **Global** group. For one program, the wizard uses the app group that already covers that program, or makes a new one with a rule for the program file. A program that an ignore group leaves alone can't be chosen. - **Turned-off groups.** If the group it uses is turned off, or has gestures or hotkeys turned off, the wizard offers to turn them back on, so the new action can run. - **A trigger already in use.** When another action in the same group already uses the shape, keys or typed text everywhere the new one would work, the red notice stops you, since only that action would run. When that action is limited to some profiles, draw buttons or regions, the notice is advice: that action keeps running there, and the new one runs everywhere else. - **Nothing changes until you click Create.** **Create and apply** also applies every other unsaved change; **Create, apply later** leaves everything waiting for **Apply**. Either way, the page that shows the new item opens with it selected, and **Discard** on the save bar can still undo it. The walk-throughs are in the [Quick start](https://input.observer/help/quick-start): [a gesture](https://input.observer/help/qs-new-action), [one program](https://input.observer/help/qs-one-program) and [leaving a program alone](https://input.observer/help/qs-ignore-program). ## The help window {#help} This help opens in a window of its own, in the language Input.Observer uses (or English when there is no help in that language). It opens from: - the **?** button in a page's header, or **F1**: the help for that page; - **Help** in the list of pages: the help's first page; - **Help** on the tray menu, even when the configuration window isn't open ([The tray icon](https://input.observer/help/manual-tray#help)); - **Script Help** in the diagnostic console: the script language reference ([Console](https://input.observer/help/manual-console)). There is only ever one help window: opening the help again shows the new page in the open window and brings it to the front. It has its own taskbar button and stays open when you close the configuration window. It remembers its size and position, and follows the theme until you choose one with the page's own theme button. - **Open in browser** shows the current page in your default web browser. - **Copy link** copies the current page's address to the clipboard. It is a `file:///` address, so it works on this computer only. A link to a website opens in your default browser. If Windows is missing the Microsoft Edge WebView2 Runtime that the help window needs, the help opens in your default browser instead. ## Keyboard shortcuts {#shortcuts} | Keys | What they do | | --- | --- | | **F1** | Open the help for the current page. | | **Ctrl+N** | Open Quick create. | | **Ctrl+S** | Apply all changes. | | **Escape** | In a key-combination box that is waiting for keys, stop waiting without changing it. | # The tray icon URL: https://input.observer/help/manual-tray > What each tray icon and tooltip means, what clicking the icon does, and every item on the tray menu. The engine shows one icon in the notification area of the taskbar while it runs. If Windows hides it, click the **Show hidden icons** arrow on the taskbar and drag the icon onto the taskbar. If Windows Explorer restarts, the icon comes back on its own. ## Clicking the icon {#clicking} | Do this | What happens | | --- | --- | | Click once | Turns **Enabled** on or off (see [Enabled](https://input.observer/help/manual-tray#enabled)). It takes effect after your double-click time has passed, so a double-click doesn't also toggle it. | | Double-click | Opens the configuration window, or brings it to the front. | | Right-click | Opens the tray menu. | ## What the icon and tooltip say {#states} Hover over the icon to see its tooltip. When more than one state applies, the first one in this table is shown. | Icon | Tooltip | When | | --- | --- | --- | | Gray | **i.o - Safe Mode (restart to resume normal operation)** | Input.Observer was started in Safe Mode. See [Safe Mode](https://input.observer/help/qs-pause-bypass#safe-mode). | | Gray | **i.o - disabled** | You turned **Enabled** off. | | Gray | **i.o - auto-disabled (Games)**, where *Games* is a group's name | The window in front belongs to that group, and the group has **Pause everything while focused** on. It ends when another window comes to the front. | | Green | **i.o - recording macro** | A macro is being recorded. See [Macro recorder](https://input.observer/help/manual-recorder). | | Red | **i.o - training mode** | The **Gestures** page's training window is open. See [The gesture library](https://input.observer/help/manual-gesture-library). | | Red | **i.o - Global Actions disabled** | **Global Actions** is off: the **Global** group is turned off. | | Red | **i.o - no Global Actions for Notepad**, where *Notepad* is a group's name | The window in front belongs to an app group whose **Fall back to Global** is off, so **Global**'s actions don't run there. This only reports it; nothing is wrong. | | Standard | **i.o - active** | Everything else: Input.Observer is working normally. | Two tooltips appear for a few moments while something is being saved, whatever the state: **i.o - applying password...** while a password is set or changed, and **i.o - saving license...** while a license key is saved. ## The tray menu {#menu} ```ui-mockup Tray menu: ① ✓ Enabled ② ✓ Global Actions ──── ③ Open ④ Show Console ⑤ Show Hidden Windows ──── ⑥ Profile › ✓ No profile ──── Work Gaming ──── Manage... ──── ⑦ Reload Config ⑧ Open Config Folder ⑨ Set Password... ⑩ Apply License Key... ⑪ Help ──── ⑫ Exit ``` ### ① Enabled {#enabled} Checked while Input.Observer is working. Choose it to pause everything: the engine stops receiving mouse and keyboard input, so gestures, text expansion and hotkeys that aren't reserved with Windows stop, and the right mouse button and your typing go straight to programs. Hotkeys that are reserved with Windows still take their keys, but do nothing. A gesture you are drawing at that moment ends without running anything. Choose **Enabled** again to switch back on. A pause you set here is never undone by **Pause everything while focused**: only you can switch it back on. Choosing **Enabled** while an automatic pause is in effect switches Input.Observer on until the next time a window with that setting comes to the front. **Enabled** is not remembered: Input.Observer is always on when it starts. ### ② Global Actions {#global-actions} Shown only when your configuration has a **Global** group. Checked while that group is turned on. Choose it to turn the whole **Global** group off or on: with it off, no **Global** action runs anywhere, and no app group falls back to **Global**. This is the same switch as **Enabled** on the **Global** group in the **App groups** page, and it is saved in your configuration. While the configuration window is open, the item is grayed and reads **Global Actions (configuration window open)**: change it on the **App groups** page instead, so that saving the window doesn't undo it. If your configuration is protected with a password and the password isn't remembered, you are asked for it; if you cancel, the change lasts only until Input.Observer exits. ### ③ Open {#open} Opens the configuration window, or brings it to the front. Same as double-clicking the icon. ### ④ Show Console {#show-console} Opens the diagnostic console, where the engine and your scripts write messages and where you can run a script directly. See [Console](https://input.observer/help/manual-console). ### ⑤ Show Hidden Windows {#show-hidden-windows} Shown only while a script has hidden one or more windows. Shows them all again. Exiting Input.Observer also shows them. A window that a script or its program shows again by itself leaves the list. ### ⑥ Profile {#profile} Switches the active profile. The submenu lists **No profile**, then every profile in the order the **Profiles** page lists them, up to 64, with a check mark beside the active one. **Manage...** opens the configuration window on the **Profiles** page, switching it to Advanced mode if it is in Simple mode. With no profiles yet, the submenu holds only **Manage...**. See [Profiles](https://input.observer/help/manual-profiles). ### ⑦ Reload Config {#reload-config} Reads the configuration file again and starts using it, for example after you edited it by hand. Running actions are stopped first. Also use it to switch everything back on after the stop-all-actions hotkey. - If the file can't be used, the running configuration stays in effect and a **Configuration Not Reloaded** message says why: - **The file has a mistake.** The message names the line and column, and the reason in English as the file reader reports it. Fix the file, then choose **Reload Config** again. - **The file can't be opened.** Another program may have it locked, or you may not have permission to read it. - **The file is protected with a password.** Reload Config can't read a protected file; the configuration window's **Apply** works for it. - **The file points to another file that doesn't exist.** See [Keeping the configuration somewhere else](https://input.observer/help/manual-config-file#redirect). - If the file is missing, Reload Config starts over with the built-in defaults and writes a new file, without the starter set. Earlier versions of the file, saved when Input.Observer exited, are in the **Backup** folder beside it. See [The configuration file](https://input.observer/help/manual-config-file). ### ⑧ Open Config Folder {#open-config-folder} Opens the folder that holds the configuration file in use, in File Explorer. ### ⑨ Set Password... / Change Password... {#password} **Set Password...** when the configuration file isn't protected, **Change Password...** when it is. It is grayed while a password change is being applied. See [Security](https://input.observer/help/manual-security). ### ⑩ Apply License Key... {#license} Enter or replace your license key without restarting. Grayed while a license key is being saved. See [About and license](https://input.observer/help/manual-about-license). ### ⑪ Help {#help} Opens this help in the help window, on its first page, or brings an open help window to the front. The configuration window doesn't have to be open. See [The help window](https://input.observer/help/manual-config-window#help). ### ⑫ Exit {#exit} Closes Input.Observer. If the configuration window has unsaved changes, it asks you to save or discard them first. Exiting also closes the configuration window, stops plugins, shows windows a script hid, and puts back windows a script minimized to the tray. ## In Safe Mode {#safe-mode} In Safe Mode the icon is gray, **Enabled** and **Global Actions** are grayed, and clicking the icon once does nothing. Every other item works. ## Icons for minimized windows {#minimized-windows} A script can minimize a window to the tray. Each such window gets its own icon, showing that window's icon and title. Click it once to bring the window back. Exiting Input.Observer brings them all back. # Glossary URL: https://input.observer/help/manual-glossary > Every term Input.Observer uses, with a link to the page that explains it. ### Action {#action} Something Input.Observer does for you, such as sending keys, moving a window or opening a program. An action has one or more triggers that start it, and belongs to one app group. See [Actions](https://input.observer/help/manual-actions). ### App group {#app-group} A named set of windows, described by rules, such as "every window of `notepad.exe`". Its actions work only in those windows. See [App groups](https://input.observer/help/manual-app-groups). ### Apply {#apply} Saving your changes in the configuration window so the engine starts using them. Nothing you change takes effect before that. See [Saving and applying](https://input.observer/help/manual-config-window#saving). ### Autocorrect {#autocorrect} Replacing a listed misspelling with its correction when you finish typing the word. It is off until you turn it on. See [Autocorrect](https://input.observer/help/manual-autocorrect). ### Autocorrect list {#autocorrect-list} The misspellings autocorrect fixes, each with its correction. It starts empty and is kept in its own file, `autocorrect.txt`, beside the configuration. See [Where the list is kept](https://input.observer/help/manual-autocorrect#file). ### AutoHotkey {#autohotkey} One of the ways an action can be written, run by an AutoHotkey installation you provide. See [Steps, Script and AutoHotkey](https://input.observer/help/manual-action-engines). ### Before and after actions {#before-after} Actions that run just before, or just after, the actions of an app group. Advanced mode only. See [Before and after actions](https://input.observer/help/manual-before-after). ### Button chord {#button-chord} Two mouse buttons pressed together without drawing, such as holding the right button and clicking the left one, or a draw button held while you press a key. A button chord trigger runs an action from one. StrokesPlus.net calls the two-button kind rocker gestures. See [Button chord triggers](https://input.observer/help/manual-action-editor#chord-trigger). ### Configuration window {#configuration-window} The program you open from the tray icon to change what Input.Observer does. It is separate from the engine and can be closed at any time. See [The configuration window](https://input.observer/help/manual-config-window). ### Console {#console} The engine's diagnostic window, opened with **Show Console** on the tray menu. It shows messages from the engine and from scripts, and can run a script directly. See [Console](https://input.observer/help/manual-console). ### Draw button {#draw-button} A mouse button that starts a gesture when you press it. The right button is the only draw button unless you choose others on the **General** page. See [Drawing a gesture](https://input.observer/help/manual-drawing). ### Draw key {#draw-key} A keyboard key that starts a gesture while you hold it, like a draw button: hold it, move the mouse, and let go. There is none unless you choose one on the **General** page. Advanced mode only. See [The draw key](https://input.observer/help/manual-drawing#draw-key). ### Engine {#engine} The part of Input.Observer that runs in the background with the tray icon. It recognizes your gestures, hotkeys and typed codes and runs your actions. See [How it works](https://input.observer/help/manual-how-it-works). ### Example {#example} One saved drawing of a gesture. A gesture can have several examples; a stroke is scored against each of them. See [The gesture library](https://input.observer/help/manual-gesture-library). ### Exclusion zone {#exclusion-zone} An area of the screen where pressing a draw button or the draw key never starts a gesture, so the press reaches the program. See [Exclusion zones](https://input.observer/help/manual-exclusion-zones). ### Fall back to Global {#fall-back} An app group setting, on unless you turn it off. When the app group has no action for a gesture, hotkey or typed code, **Global**'s action runs instead. See [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling). ### Gesture {#gesture} A named shape you draw with a draw button or the draw key held, such as "a straight line up" or "the letter C". The shapes live in the gesture library; an action's gesture trigger names one. See [Gestures](https://input.observer/help/manual-gestures). ### Gesture library {#gesture-library} Every gesture you have, on the **Gestures** page, whether or not an action uses it. See [The gesture library](https://input.observer/help/manual-gesture-library). ### Global {#global} The app group that applies to every window. It is used for a window that no other group claims, and as the fallback for groups that have no action for a trigger. It has no rules and can't be deleted. See [App groups](https://input.observer/help/manual-app-groups). ### Global event {#global-event} One of a fixed set of moments, such as **Nothing matched** or **Draw button released**, that can run an action. See [Global events](https://input.observer/help/manual-global-events). ### Hint {#hint} The small window near the pointer that shows, while you draw, which action your stroke matches. See [Hints and messages](https://input.observer/help/manual-hints-messages). ### Hint note {#hint-note} An action's **Hint note**: a short text the hint shows under the action's name. See [The Actions page](https://input.observer/help/manual-action-editor). ### Hotkey {#hotkey} A key combination that runs an action. See [Hotkeys](https://input.observer/help/manual-hotkeys). ### Ignore group {#ignore-group} A set of windows Input.Observer leaves alone: no gestures, no text expansion and no actions run in them. Ignore groups are checked before every app group. See [Ignore groups](https://input.observer/help/manual-ignore-groups). ### Ignored modifier keys {#ignored-modifier-keys} Keys that, held while you press a draw button or the draw key, send that press to the program instead of starting a gesture. **Ctrl** by default. See [Ignored modifier keys](https://input.observer/help/manual-ignore-keys). ### Match threshold {#match-threshold} How closely a stroke must match a gesture to count, from **Forgiving** to **Strict**. 75 by default. See [How a stroke is matched](https://input.observer/help/manual-matching). ### Modifier {#modifier} A key or mouse button held with a gesture, such as **Shift** or the wheel, so the same shape can run different actions. See [Modifiers and timing](https://input.observer/help/manual-modifiers-timing). ### Modifier timing {#modifier-timing} Whether a gesture's modifier must be held before you start drawing, pressed while drawing, or either. Advanced mode only. See [Modifiers and timing](https://input.observer/help/manual-modifiers-timing). ### Not reserved {#not-reserved} A hotkey that isn't reserved with Windows: Input.Observer recognizes the keys, and the program in front receives them too. Advanced mode only. See [Hotkeys](https://input.observer/help/manual-hotkeys). ### Notes {#notes} An action's **Notes**: your own text about it, which nothing else shows. Not the same as its [hint note](https://input.observer/help/manual-glossary#hint-note). Advanced mode only. See [The Actions page](https://input.observer/help/manual-action-editor#action-card). ### Plugin {#plugin} A separate program the engine starts to add features, such as the Styles plugin that draws styled trails. See [Plugins](https://input.observer/help/manual-plugins). ### Profile {#profile} A named mode, such as "Work" or "Gaming". Actions and app groups can be limited to some profiles, and you switch profiles from the tray menu. Advanced mode only. See [Profiles](https://input.observer/help/manual-profiles). ### Quick create {#quick-create} The step-by-step wizard that makes a gesture action, a hotkey action, a text expansion or an ignore group. See [Quick create](https://input.observer/help/manual-config-window#quick-create). ### Region {#region} A cell of a grid laid over a window, so the same gesture can do different things in different parts of the window. Advanced mode only. See [Regions](https://input.observer/help/manual-regions). ### Replacement {#replacement} One text expansion entry: the code you type and the text it turns into. See [Text expansion](https://input.observer/help/manual-text-expansion). ### Reserved with Windows {#reserved} A hotkey that Windows hands only to Input.Observer, so no other program receives those keys. Every hotkey made in Simple mode is reserved. Advanced mode calls this **Registered**. See [Hotkeys](https://input.observer/help/manual-hotkeys). ### Rule {#rule} One line in an app group's or ignore group's **Which windows count as this group** table, such as "program name is `notepad.exe`". See [App groups](https://input.observer/help/manual-app-groups). ### Safe Mode {#safe-mode} Starting Input.Observer with **Ctrl** held: no hooks, hotkeys, plugins or actions, so you can fix a problem in the configuration window. See [Pause, bypass and exit](https://input.observer/help/qs-pause-bypass#safe-mode). ### Sandbox {#sandbox} A pretend desktop where you can run steps without touching your real windows. See [Sandbox](https://input.observer/help/manual-sandbox). ### Scope {#scope} Where an action applies: which app group it belongs to, and so which windows it works in. See [Where actions apply](https://input.observer/help/manual-scope). ### Script {#script} What an action does, written as text in Input.Observer's script language. See [Script language reference](https://input.observer/help/script). ### Simple and Advanced mode {#simple-advanced} The two modes of the configuration window. Simple hides advanced pages and settings without changing them. See [Simple and Advanced](https://input.observer/help/manual-config-window#simple-advanced). ### Snippet {#snippet} A reusable piece of steps or script, kept on the **Snippets** page, that actions can run by name. See [Snippets](https://input.observer/help/manual-snippets). ### Starter set {#starter-set} The gestures, actions and groups Input.Observer adds the first time it runs, which you can keep or remove in the welcome. See [First run](https://input.observer/help/qs-first-run#welcome). ### Step {#step} One instruction in an action written as Steps, such as **Send keys** or **Wait**. See [Steps](https://input.observer/help/steps). ### Stop all actions hotkey {#stop-all} **Ctrl+Shift+Alt+F9** by default. Stops every running action, then switches off input handling until you choose **Reload Config**. See [Pause, bypass and exit](https://input.observer/help/qs-pause-bypass#stop-all). ### Stroke {#stroke} The path you actually draw with a draw button or the draw key held. It is compared with your gestures. See [How a stroke is matched](https://input.observer/help/manual-matching). ### Style {#style} A ready-made look for the trail, the hint and messages, with sounds, chosen on the **Appearance** page. See [Gesture trails](https://input.observer/help/manual-trails). ### Tap sequence {#tap-sequence} Two quick taps of draw buttons, such as the back side button and then the forward one, or a single tap of one. A tap sequence trigger runs an action from one, once **Tap sequences** is on. See [Tap sequence triggers](https://input.observer/help/manual-action-editor#sequence-trigger). ### Text expansion {#text-expansion} Replacing a short code you type with longer text. See [Text expansion](https://input.observer/help/manual-text-expansion). ### Trail {#trail} The line drawn behind the pointer while you draw a gesture. See [Gesture trails](https://input.observer/help/manual-trails). ### Training {#training} Drawing a gesture several times in the **Gestures** page's training window, to see how it scores and save the drawings as examples. See [The gesture library](https://input.observer/help/manual-gesture-library). ### Trigger {#trigger} What starts an action: a gesture, a wheel turn while a draw button is held, a button chord, a tap sequence, a hotkey or a typed code. One action can have several triggers. See [The Actions page](https://input.observer/help/manual-action-editor). ### Wheel trigger {#wheel-trigger} A trigger that runs an action once for each wheel tick while you hold a draw button, for example to zoom. See [Wheel triggers](https://input.observer/help/manual-action-editor#wheel-trigger). # Gestures URL: https://input.observer/help/manual-gestures > Drawing gestures, the gesture library, and how a drawn stroke is matched. A gesture is a shape you draw with a mouse button held down, or with the draw key held while you move the mouse. Input.Observer compares the shape with the gestures you saved and, when one matches, runs the action bound to it for the window you drew over. Three things work together: | Part | What it is | Where you set it up | | --- | --- | --- | | **Drawing** | Which buttons and which key draw, when a press becomes a gesture, and what happens to the original click | [Drawing a gesture](https://input.observer/help/manual-drawing) | | **The gesture library** | The shapes themselves, each with one or more saved examples | [The gesture library](https://input.observer/help/manual-gesture-library) | | **Matching** | How a drawn stroke is scored against the shapes, and how strict that is | [How a stroke is matched](https://input.observer/help/manual-matching) | A shape on its own does nothing. An action uses it through a gesture trigger, and the action belongs to an app group, so the same shape can do different things in different programs. Which action runs for a stroke is decided by the rules in [Where actions apply](https://input.observer/help/manual-scope). - [Drawing a gesture](https://input.observer/help/manual-drawing) — Which buttons draw, how a capture starts and ends, and what happens to the original click. - [The gesture library](https://input.observer/help/manual-gesture-library) — The Gestures page: adding, training, renaming and deleting gestures. - [How a stroke is matched](https://input.observer/help/manual-matching) — How a drawn stroke is scored against your gestures, the match threshold, and what no match does. # Drawing a gesture URL: https://input.observer/help/manual-drawing > Which buttons draw, how a capture starts and ends, and what happens to the original click. You draw a gesture by holding a draw button, moving the mouse, and letting go. Input.Observer holds back the press while you draw. When you let go, it either runs an action, or hands the press back to the window as if Input.Observer weren't there. A keyboard key can draw the same way: see [The draw key](https://input.observer/help/manual-drawing#draw-key). ## Draw buttons {#draw-buttons} The right button is the only draw button at first. You can add or remove buttons on the **General** page: ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: General Page: General Card: Starting a gesture ① Draw buttons: [ ] Left button [x] Right button [ ] Middle button [ ] Side button 1 [ ] Side button 2 — Mouse buttons that start gesture capture. Including the left button is unusual but valid, e.g. for pen or tablet input with no separate secondary button. ② Ignored modifier keys: [x] Ctrl [ ] Shift [ ] Alt — Holding any of these keys when you press a draw button or the draw key skips gesture capture for that press. ``` 1. Open **General** and find the **Starting a gesture** card. 2. In **Draw buttons** ①, select every button that should draw. Select a selected button again to turn it off. 3. Apply your changes. Rules: - Any of **Left button**, **Right button**, **Middle button**, **Side button 1** and **Side button 2** can draw, and several can draw at once. Each one starts its own gesture. - With no draw button selected, mouse gestures are off entirely. Hotkeys and text expansion keep working. - An action's gesture trigger can ask for one draw button, or accept **Any draw button**. A trigger that names a button you turned off here never matches. See [The Actions page](https://input.observer/help/manual-action-editor). - **The left button is unusual.** Every left-button drag of 5 pixels or more over a window where gestures work becomes a gesture, so selecting text, dragging files and moving windows stop working there. It is useful for pen and tablet input, which has no second button. - **Swapped mouse buttons.** When Windows has the primary and secondary buttons switched, the names follow Windows: **Right button** is the button that opens context menus, which is the physical left button. - Each draw button can draw its own trail style. See [Gesture trails](https://input.observer/help/manual-trails). ## Combinations only {#combinations-only} A draw button set to **Combinations only** never draws a gesture. Holding it still works with the wheel, another button, a key and tap sequences, but moving it gives the press to the window, so dragging with that button works as usual. Use it for buttons you only want for combinations, such as the middle and side buttons: - A small movement while you press a side button with your thumb no longer turns into a gesture. - A middle-button drag that selects several links, or starts scrolling, reaches the browser. - A side button you click while the mouse is moving still goes back or forward. ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: General Page: General Card: Starting a gesture Draw buttons: [ ] Left button [x] Right button [x] Middle button [x] Side button 1 [x] Side button 2 — Mouse buttons that start gesture capture. Including the left button is unusual but valid, e.g. for pen or tablet input with no separate secondary button. ① Combinations only: [ ] Right button [x] Middle button [x] Side button 1 [x] Side button 2 — Draw buttons that never draw a gesture. Held, they still work with the wheel, another button, a key and tap sequences. Moved, the press goes to the window, so dragging with the button works as usual. ``` 1. Open **General** and find the **Starting a gesture** card. 2. In **Combinations only** ①, select each button that should only work in combinations. Only draw buttons are offered. 3. Apply your changes. Rules: - **Moving gives the press back.** Once the pointer is 20 pixels from where you pressed, the window gets the press at that point and the drag carries on from there. Your release follows. Nothing runs. - **The 20 pixels are their own setting**, larger than the 5 pixels a gesture needs, so the small movement of pressing a button doesn't give the press back before you turn the wheel or press a key. - **Released before that**, the press was a click, exactly as for any draw button. It can be a tap of a tap sequence, or a single tap that runs an action instead of clicking ([Tap sequence triggers](https://input.observer/help/manual-action-editor#sequence-trigger)). - **Once a wheel or button chord trigger has run**, moving no longer matters: the press stays used up until you let go. - **Gestures need another draw button.** A gesture trigger can't name a Combinations only button, and the Actions page marks one that does. **Any draw button** means the buttons that draw. - **A Combinations only button has no trail style** of its own. See [Gesture trails](https://input.observer/help/manual-trails). - In training mode, every draw button draws, Combinations only or not. - The draw key always draws. :::note **Advanced mode.** **Combinations-only drag distance** (0 to 200 pixels) is on the **General** page's **Starting a gesture** card. At 0, the slightest movement gives the press back. ::: ## The draw key {#draw-key} :::note **Advanced mode.** The **Draw key** row is on the **General** page, in the **Starting a gesture** card. ::: The draw key is a keyboard key that works like a draw button: hold it, move the mouse, and let go. It helps on a touchpad, where holding a button while you move is awkward. It also helps in programs that use right-button drags themselves, such as CAD or 3D tools: turn off **Draw buttons start gestures here** for them (see [App groups](https://input.observer/help/manual-app-groups#behavior)), and draw there with the key. ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: General Page: General Card: Starting a gesture ① Draw key: [Caps Lock ▾] — A key that draws a gesture while you hold it, like a draw button: hold it, move the mouse, let go. For touchpads, and for programs that use button drags themselves. ``` 1. Open **General** and find the **Starting a gesture** card. 2. In **Draw key** ①, pick a key. **None** turns the draw key off. 3. Apply your changes. Rules: - The keys you can pick are **Caps Lock**, **Scroll Lock**, **Pause**, **Insert**, the **Menu key** and **F13** to **F24**. Keys you type with, and Ctrl, Shift, Alt, Win and AltGr, can't be the draw key: holding one back would break every shortcut that uses it. - Everything on this page works the same way with the draw key: the press that starts a gesture, a click or a gesture, what is held back while you draw, and how a gesture ends. Where the page says "the press", it is the key's press. - **A tap** of the draw key, without moving the mouse, reaches the window as a normal key tap, so a tap of Caps Lock still turns Caps Lock on or off. The tap takes effect when you let go of the key. - **Holding the key still** for the cancel timeout gives the key press back to the window, and your release follows. - The window that counts is the top-level window under the pointer when you press the key. - The draw key draws the trail style chosen for all gestures (see [Gesture trails](https://input.observer/help/manual-trails)). - An action's gesture trigger can ask for **Draw key**, or accept **Any draw button**, which includes it. See [The Actions page](https://input.observer/help/manual-action-editor). - A hotkey that uses the draw key runs only where the key doesn't start a gesture. The Actions page marks such a hotkey. - Over a Remote Desktop or virtual machine window, the remote program may take the key before Input.Observer sees it. - On a Japanese keyboard, the Caps Lock (英数) key pressed on its own goes to the input method, so it can't draw. Pick another key from the list. ## When a press starts a gesture {#starting} Pressing a draw button starts a gesture capture unless one of these is true. In each case the press goes to the window untouched, with no delay: | The press passes through when… | Where it is set | | --- | --- | | Input.Observer is turned off, or paused while a window is focused | [The tray icon](https://input.observer/help/manual-tray), [App groups](https://input.observer/help/manual-app-groups#behavior) | | A key in **Ignored modifier keys** ② is held (Ctrl unless you change it) | [Ignored modifier keys](https://input.observer/help/manual-ignore-keys) | | The window is in an ignore group | [Ignore groups](https://input.observer/help/manual-ignore-groups) | | No app group, and no Global group, has gestures working for the window | [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#decision) | | The window's app group has **Draw buttons start gestures here** off (draw buttons only, not the draw key) | [App groups](https://input.observer/help/manual-app-groups#behavior) | | The press is inside an exclusion zone | [Exclusion zones](https://input.observer/help/manual-exclusion-zones) | | The previous gesture's trail is still being erased (the built-in trail only, for a split second) | [Gesture trails](https://input.observer/help/manual-trails) | | A script asked to let the next gesture through (`EngineDisableNextGesture`) | [Builtins](https://input.observer/help/script-builtins) | The window that counts is the **top-level window under the pointer at the moment you press**. A gesture drawn from a text box inside a browser counts as drawn over the browser window. Moving onto another window while you draw changes nothing. ## A click or a gesture {#click-or-gesture} A press is not a gesture until the pointer has moved far enough from where you pressed: - **Minimum gesture movement** is 5 pixels, measured in a straight line from the press point. - **Released before that:** it was a click. Input.Observer sends the press and the release to the window at the press point, so a right-click still opens the context menu. - **Moved that far:** it is a gesture from then on, even if you move back to the start point. :::note **Advanced mode.** **Minimum gesture movement** (0 to 200 pixels) is on the **General** page's **Starting a gesture** card. At 0, the slightest movement makes a gesture. ::: ## While you draw {#while-drawing} - **The trail** appears once the stroke is a gesture. The classic line also waits until the stroke has moved 8 pixels from the start (**Draw after moving**). The trail is drawn over every monitor, so a stroke can cross from one monitor to another. See [Gesture trails](https://input.observer/help/manual-trails). - **The hint** names the action that would run if you let go now. It appears once the stroke has lasted 150 milliseconds or moved 24 pixels, follows every change, and disappears whenever the stroke so far matches nothing. What the hint shows is exactly what runs when you let go. See [Hints and messages](https://input.observer/help/manual-hints-messages). - **Keys and other buttons are held back.** Until you let go, keystrokes, mouse wheel turns and other mouse buttons reach no window. Pressing Ctrl, Shift, Alt or Win, another mouse button, or turning the wheel counts as a modifier for the gesture (see [Modifiers and timing](https://input.observer/help/manual-modifiers-timing)); other keys are dropped, unless one runs a key chord (below). Releasing Ctrl, Shift, Alt or Win always reaches the window. The stop-all-actions hotkey still works. - **The wheel can run actions.** A wheel tick that fits a [wheel trigger](https://input.observer/help/manual-action-editor#wheel-trigger) runs its action at once, and from then on the press is no gesture: no trail, no hint, and letting go gives no click back. - **Another button can run actions.** Before you have moved far enough to start a gesture, clicking another mouse button that fits a [button chord trigger](https://input.observer/help/manual-action-editor#chord-trigger) runs its action at once, with the same result for the press as a wheel trigger. - **A key can run actions.** Before you have moved far enough to start a gesture, pressing a key that fits a [button chord trigger set to a key](https://input.observer/help/manual-action-editor#key-chord) runs its action at once, with the same result for the press as a wheel trigger. - **Keys held before you pressed.** If you let go of such a key while drawing, its release is held back too. **Release keys let go during a gesture** (on by default, Advanced mode, **General** page, **Fine-tuning** card) sends that release once the gesture ends, so the window doesn't think the key is still down. ## Ending a gesture {#ending} | What happens | What the window under the pointer gets | What runs | | --- | --- | --- | | You let go before moving 5 pixels | The click, at the press point | Nothing | | You let go after drawing, and the stroke matches an action | Nothing: the press is used up | The action | | You let go after drawing, and nothing matches | Nothing: the press is used up | The **Nothing matched** global event, if you set one up | | You turned the wheel and a wheel trigger ran, then let go | Nothing: the press is used up | The wheel trigger's action, once for each tick, while you held the button | | You clicked another button and a button chord trigger ran, then let go | Nothing, for either button: the press is used up | The chord trigger's action, once for each click, while you held the button | | You held another button, then let go before moving 5 pixels, and a button chord trigger fits | Nothing for this button; the held button's own click is the window's | The chord trigger's action | | You pressed a key and a button chord trigger set to a key ran, then let go | Nothing, for the button or the key: the press is used up | The chord trigger's action, once for each press of the key | | You let go before moving 5 pixels, **Tap sequences** is on, a two-tap sequence starts with this button and no single tap fits it | The click, at the press point, once the tap sequence time has passed with no second tap | Nothing | | You let go before moving 5 pixels, **Tap sequences** is on and a single tap trigger fits this button | Nothing | The single tap's action; when a two-tap sequence also starts with this button, once the tap sequence time has passed with no second tap | | You tapped the second button of a tap sequence in time | Nothing, for either tap | The tap sequence trigger's action | | You moved a **Combinations only** button 20 pixels before any trigger ran | The press, at the press point, then the pointer at its current position; your own release follows | Nothing | | You hold still for the cancel timeout | The press, at the press point, then the pointer at its current position; your own release follows | Nothing | | The gesture reaches the maximum gesture duration | The press, if the button is still down and no wheel or chord trigger ran | Nothing | In every case where the capture was started, the **Draw button released** global event runs when you let go, if you set one up, except after a cancel timeout, the maximum duration or a **Combinations only** button giving its press back. See [Global events](https://input.observer/help/manual-global-events). ### Cancel timeout {#cancel-timeout} The cancel timeout gives the press back to the window when you hold still: - **Cancel timeout** is 500 milliseconds by default (**General**, **Ending a gesture**). Turn it off to let a capture stay open until you let go. Its range is 0 to 10,000 milliseconds; at 0, every capture is cancelled as soon as it starts. - Any mouse movement, key press or wheel tick during the gesture restarts it, so it only counts time you spend holding still. Pausing that long in the middle of a stroke ends the gesture and hands the press back: the window then sees an ordinary drag with that button. - A cancelled gesture runs nothing. - Once a wheel trigger has run, the cancel timeout no longer applies to that press: you can hold still between wheel ticks for as long as you like ([Wheel triggers](https://input.observer/help/manual-action-editor#wheel-trigger)). The same goes once a button chord trigger has run ([Button chord triggers](https://input.observer/help/manual-action-editor#chord-trigger)). :::note **Advanced mode.** **Drawing extends the cancel timeout** (on by default) is the switch behind the restart rule. Turned off, the whole gesture must be finished within the cancel timeout, counted from the press, even while you keep drawing. An app group can override the cancel timeout for its own windows with its **Cancel timeout** card (0 to 60,000 milliseconds); see [App groups](https://input.observer/help/manual-app-groups#advanced). **Maximum gesture duration** (10,000 milliseconds by default, 0 for no limit) ends any gesture that is still open after that long, counted from the press, whatever you are doing. It exists for a release that never reaches Input.Observer, for example because you let go on the Ctrl+Alt+Del screen. After a wheel or button chord trigger has run, it ends the press without giving it back, and your release stays with Input.Observer too, so no context menu opens. ::: ## After a match {#after-match} When a stroke matches an action: 1. **Activate the window under the gesture** (on by default, **General**, **When a gesture matches**) brings the window you pressed over to the front, so anything the action types goes there. 2. The action runs, with any Before and After actions around it. See [Before and after actions](https://input.observer/help/manual-before-after). ## Settings on this page {#settings} | Setting | Page and card | Default | Range | | --- | --- | --- | --- | | **Draw buttons** | **General**, **Starting a gesture** | Right button | Any combination, or none | | **Combinations only** | **General**, **Starting a gesture** | None | Any of the draw buttons | | **Draw key** (Advanced) | **General**, **Starting a gesture** | None | None, Caps Lock, Scroll Lock, Pause, Insert, Menu key, F13–F24 | | **Ignored modifier keys** | **General**, **Starting a gesture** | Ctrl | Ctrl, Shift, Alt | | **Minimum gesture movement** (Advanced) | **General**, **Starting a gesture** | 5 px | 0–200 px | | **Combinations-only drag distance** (Advanced) | **General**, **Starting a gesture** | 20 px | 0–200 px | | **Wheel modifier window** (Advanced) | **General**, **Starting a gesture** | 500 ms | 0–10,000 ms | | **Tap sequences** | **General**, **Starting a gesture** | Off, 300 ms | 100–1,000 ms | | **Cancel timeout** | **General**, **Ending a gesture** | 500 ms | Off, or 0–10,000 ms | | **Drawing extends the cancel timeout** (Advanced) | **General**, **Ending a gesture** | On | | | **Maximum gesture duration** (Advanced) | **General**, **Ending a gesture** | 10,000 ms | 0 (no limit)–600,000 ms | | **Activate the window under the gesture** | **General**, **When a gesture matches** | On | | | **Release keys let go during a gesture** (Advanced) | **General**, **Fine-tuning** | On | | **Wheel modifier window** is explained in [Modifiers and timing](https://input.observer/help/manual-modifiers-timing). # The gesture library URL: https://input.observer/help/manual-gesture-library > The Gestures page: adding, training, renaming and deleting gestures. The **Gestures** page holds every shape Input.Observer knows. The library is shared: one "Swipe left" serves every app group, and each group's actions decide what it does there. A gesture is a name plus one or more **examples**: strokes you drew and saved. A drawn stroke is compared with the examples, never with the name. A gesture with no examples can never match. ## The page {#page} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Gestures Page: Gestures — 6 · shared by every app group, bound to actions per group ① [Train…] (•) Shapes ( ) Settings ② (•) All ( ) Bound ( ) Unused Gesture gallery: - Swipe left (selected) - Swipe down - Checkmark - L-shape ③ Card: Swipe left [Swipe left] [Duplicate gesture] [Delete] ④ Card: Draw to test Draw the shape below to see how well it scores against this gesture's examples. [gesture drawing] [Save as an example] [Clear] ⑤ Card: Examples [gesture drawing] [gesture drawing] ⑥ Card: Used by Back · in Browsers ``` - The **Shapes** tab shows the gallery on the left and the selected gesture on the right. The **Settings** tab holds the **Gesture matching** card; see [How a stroke is matched](https://input.observer/help/manual-matching#settings). - **All / Bound / Unused** ② filters the gallery: **Bound** shows gestures at least one action uses, **Unused** the rest. The search box filters by name. - Each gallery card shows the shape (the average of its examples; the red dot is where it ends), its name, how many examples it has and how many actions use it. Point at a card to watch it being drawn. ## Adding a gesture {#train} **Train…** ① opens the **Gesture training** window. While it is open, gestures don't run their actions: every stroke you draw is captured for training instead. 1. Select **Train…** ①. 2. Draw the shape anywhere on screen with one of your draw buttons (chosen under **Draw buttons** on the **General** page) or the draw key, over any window. Ignore groups, exclusion zones and **Draw buttons start gestures here** don't apply while training. 3. The window shows your stroke and the **Closest gestures**: the five gestures in the library it scores highest against, with their scores. A score at or above the match threshold is marked **matches**. 4. Choose one: - **Save as an example of** the selected gesture, to teach an existing gesture another way it is drawn. - Type a name in **New gesture name** and select **Save as new gesture**. - **Discard**, to throw the stroke away. 5. Draw the next stroke, or **Close** the window. Closing it turns training off. The suggested choice follows the **Training suggest threshold** (80 by default): when the closest gesture scores at or above it, saving as an example of that gesture is the default button; below it, saving as a new gesture is. Enter in the name box always saves a new gesture. You can also create a gesture where you need it: the gesture chooser in the [action editor](https://input.observer/help/manual-action-editor) has a **New…** button, and **Quick create…** has **Draw a new shape** (see the [quick start](https://input.observer/help/qs-new-action)). Both ask you to draw the shape three times. :::tip Save three to five examples of each gesture, drawn the way you really draw it: a little faster, slower, bigger and smaller. More examples that agree make matching more reliable. Examples that disagree make the gesture match more strokes, including ones you meant as something else. ::: ## Testing and refining a gesture {#test} Select a gesture in the gallery to work on it: 1. In **Draw to test** ④, draw the shape with the left mouse button. A stroke shorter than 12 pixels in both directions is ignored. 2. Read the score in the corner: green means at or above the match threshold, amber below it. The sentence under the canvas says what the score means: - below the match threshold: the engine would not take this stroke as this gesture; - above the match threshold but below the training suggest threshold: it matches, and saving it would widen what counts as this gesture; - above the training suggest threshold: worth keeping as another example. 3. Read the line under it, which compares the stroke with every other gesture in the library: - "*n* points ahead of *other*": a clear lead of 5 points or more; - "Only *n* points ahead of *other*": a slightly different stroke could match the other gesture; - "*other* scores *n* points higher": this stroke would match the other gesture instead. 4. **Save as an example** adds the stroke to **Examples** ⑤. **Clear** empties the canvas. 5. To remove an example that misleads matching, select its ✕ in **Examples** ⑤. The score here uses the same calculation, threshold and **Example scoring** as the engine. The comparison line ranks the stroke against the whole library; when you draw over a real window, only the shapes that window's app group uses compete (see [How a stroke is matched](https://input.observer/help/manual-matching#candidates)). **Runs other actions** appears only when it has something to report: for an app group where this shape is not bound to anything, a stroke like it scores closest to another shape and runs that shape's action. The App groups page offers the fix; see [How a stroke is matched](https://input.observer/help/manual-matching#nearest-shape). **Used by** ⑥ lists every action with a trigger on this gesture, and its app group. Select a row to open that action. A **Conflict** badge marks an action whose trigger on this gesture competes with another action's trigger in the same app group, so only one of them can ever run there; point at the badge to see which one wins. :::note **Advanced mode.** **Similar shapes** lists the three other gestures that score highest against this gesture's own examples, with their scores. It measures how alike two shapes are, not whether a real stroke will be mistaken: for that, draw the stroke in **Draw to test** or in the training window. ::: ## Renaming, duplicating and deleting {#manage} In the name card ③: - **Rename** by editing the name; it is saved when you leave the box or press Enter. An empty name is refused. Names need not be unique. Actions refer to the gesture itself, not its name, so renaming breaks nothing, but a script that reads the gesture's name (`ContextGetGestureName`) sees the new one. - **Duplicate gesture** makes a new gesture with copies of the same examples and a new name. No action uses the copy. - **Delete** is refused while any action has a trigger on the gesture: a message lists those actions. Give them another gesture, or remove those triggers, first. Changes take effect when you apply them. See [The configuration window](https://input.observer/help/manual-config-window). # How a stroke is matched URL: https://input.observer/help/manual-matching > How a drawn stroke is scored against your gestures, the match threshold, and what no match does. When you let go of a draw button or the draw key, Input.Observer decides in two stages what to run: 1. **Which shape did you draw?** The stroke is scored against the gestures in scope, and the best score wins if it reaches the match threshold. This page explains this stage. 2. **Which action uses that shape here?** The app group's triggers for that shape are checked for modifiers, draw button, region and profile. See [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling). The live hint uses exactly the same two stages on the stroke drawn so far, so the hint always names what would run if you let go at that moment. ## How a stroke is scored {#scoring} Each comparison gives a score from 0 to 100: 1. The stroke is smoothed slightly, to remove hand tremor. 2. It is resampled into a fixed number of evenly spaced points along its length (36 by default). 3. The direction of each short segment between two points is compared with the direction of the same segment in a saved example. 4. The average difference becomes the score: 100 when every segment points the same way, 0 when every segment points the opposite way. What that means when you draw: | What changes | Effect on the score | | --- | --- | | Size, or where on the screen you draw | None | | Drawing speed | None | | Direction: right-to-left instead of left-to-right | The opposite direction scores near 0 | | Rotation: a shape drawn tilted | Lower, more so the more it is tilted | | Starting point: a circle started at the top or at the bottom, clockwise or counterclockwise | Each is a different shape | | Proportions: an L with a long or a short foot | Lower: each part takes a different share of the stroke | A gesture with several examples is scored against each of them. **Example scoring** decides how those scores combine: **Best example** (the default) takes the highest; **Average of all examples** takes their average, so a stroke close to one example but far from the others scores lower. ## Which shapes compete {#candidates} A stroke is not compared with the whole library, only with the shapes in scope for the window you pressed over: - every shape a gesture trigger uses in the app group that owns the window, and - every shape a gesture trigger uses in the Global group, when that group can fall back to Global (see [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#fallback)). A shape counts as soon as any trigger in those groups uses it, even when that trigger can't run right now: its action is turned off, it is limited to another profile, it needs a modifier you didn't press, or it needs another draw button or region. Such a shape can still win the stroke, and then nothing runs. A shape no trigger in scope uses never competes, so it can never win there. ## The winner {#winner} - **The highest score wins, provided it is at or above the match threshold.** With nothing at or above the threshold, nothing matches. - **Exactly equal scores:** the shape met first wins: the app group's own shapes before Global's, in the order the group's actions are stored (normally the order they were added). - **There is no second choice.** Once a shape wins, only actions for that shape are looked for: in the app group first, then in Global if the group falls back. If none fits (for example, it needs Shift and you didn't press it), nothing runs, even if a lower-scoring shape had an action that would have fit. ## The nearest shape in scope wins {#nearest-shape} Because only shapes in scope compete, a stroke that plainly is some other shape still matches the closest shape in scope, if that one reaches the threshold. > Example: the Global group uses three shapes: Swipe down, Swipe left and Checkmark. Over a window no > app group owns, you draw Swipe up. Swipe up is in the library, but no trigger in scope uses it, so > it doesn't compete. The stroke is scored against the three shapes in scope; if Checkmark scores > highest and reaches the threshold, the Checkmark action runs. Two ways to stop this: - **Bind the shape in scope to an action that does nothing.** It then competes, scores highest for its own stroke, and runs nothing. When the **App groups** page finds such a case it shows the banner "A stroke here can run the wrong action", and its **Add do-nothing action** button adds that action for you. See [App groups](https://input.observer/help/manual-app-groups#issues). - **Raise the match threshold**, so a stroke has to be closer to a shape to count. The gesture's own **Runs other actions** card on the **Gestures** page lists the same cases from the shape's side. ## When nothing matches {#no-match} A stroke that matches no action, at any scope: - runs nothing; - does **not** give the click back: the window under the pointer receives nothing; - runs the **Nothing matched** global event, if you set one up (for example, to play a sound). See [Global events](https://input.observer/help/manual-global-events). The hint disappears while the stroke so far matches nothing, so a missing hint tells you in advance. ## Settings {#settings} Matching settings are on the **Gestures** page, **Settings** tab, in the **Gesture matching** card. ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Gestures Page: Gestures ( ) Shapes (•) Settings Card: Gesture matching ① Match threshold: Forgiving ─[50%]─ Strict [75] — How closely a drawn stroke must match a saved gesture to count as a hit. ② Stroke smoothing quality: ( ) Fast (•) Balanced ( ) Precise — Trades matching speed against accuracy. Editing the Advanced settings below switches this to Custom. ``` ### Match threshold {#threshold} **Match threshold** ① is the lowest score that counts as a match: 75 by default, from 50 (**Forgiving**) to 100 (**Strict**). - **Raise it** when the wrong action runs, or a stroke you didn't mean as a gesture runs something. Sloppy strokes then match nothing more often. - **Lower it** when a stroke you meant as a gesture often matches nothing. Strokes that resemble none of your shapes then get taken by the nearest shape in scope more often. The **Gestures** page's **Draw to test** card shows a stroke's score against this threshold. See [The gesture library](https://input.observer/help/manual-gesture-library#test). ### Stroke smoothing quality {#quality} **Stroke smoothing quality** ② trades matching speed for accuracy. Each choice sets the number of resampled points and **Example scoring** together: | Choice | Points | Example scoring | | --- | --- | --- | | **Fast** | 24 | **Best example** | | **Balanced** (default) | 36 | **Best example** | | **Precise** | 64 | **Average of all examples** | More points notice smaller details of a shape. Any other combination, set in Advanced mode, shows as **Custom**. :::note **Advanced mode.** The card adds three rows: - **Resample precision**: the number of points a stroke is resampled to, 8 to 128 (36 by default). - **Example scoring**: **Best example** or **Average of all examples**. - **Training suggest threshold**: the score, 0 to 100 (80 by default), at or above which the training window suggests saving a stroke as another example of the closest gesture rather than as a new gesture. It doesn't affect matching. ::: # Where actions apply URL: https://input.observer/help/manual-scope > App groups, scope and fallback, ignore groups, regions, modifiers, profiles and before/after actions. Every action belongs to one app group. An app group is a set of windows, described by rules such as "the program name is exactly chrome.exe". The reserved **Global** group holds the actions for every window. When you draw a gesture, Input.Observer answers these questions in this order. The first "no" ends it. 1. **Does this press start a gesture at all?** Not if the window is in an [ignore group](https://input.observer/help/manual-ignore-groups), a [modifier key you set to be ignored](https://input.observer/help/manual-ignore-keys) is held, the press is inside an [exclusion zone](https://input.observer/help/manual-exclusion-zones), or the press is a draw button's and the window's app group has **Draw buttons start gestures here** off ([App groups](https://input.observer/help/manual-app-groups#behavior)). 2. **Which app group owns the window?** The first group in the list whose rules match the window you pressed over. Only one group ever owns a window. See [App groups](https://input.observer/help/manual-app-groups). 3. **Does that group work here right now?** Its **Gestures work here** switch and its profile restriction decide. If it doesn't, the **Global** group takes over, but only when **Fall back to Global** allows it. 4. **Which shape did you draw?** The stroke is compared with the shapes that group (and Global, when it can fall back) uses. See [How a stroke is matched](https://input.observer/help/manual-matching). 5. **Which of the group's actions has a trigger for that shape that fits?** Each trigger can also ask for [modifier keys](https://input.observer/help/manual-modifiers-timing), a draw button or the draw key, [region cells](https://input.observer/help/manual-regions) and a [profile](https://input.observer/help/manual-profiles). Of the actions that fit, the most specific one runs. 6. **Nothing in the group?** The Global group's actions are tried next, if **Fall back to Global** allows it. 7. **Run it**, wrapped in any [Before and After actions](https://input.observer/help/manual-before-after). [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling) states every one of these steps exactly, with worked examples. Hotkeys and typed text expansions follow the same group rules; the differences are listed there too. - [App groups](https://input.observer/help/manual-app-groups) — Grouping programs and windows so actions apply only to them. - [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling) — Exactly which action runs: the window that counts, which app groups apply, and every tie-break. - [Ignore groups](https://input.observer/help/manual-ignore-groups) — Programs and windows where Input.Observer stays out of the way: what ignored means, fullscreen-only groups, pausing everything, and which group wins. - [Regions](https://input.observer/help/manual-regions) — Splitting a window or screen into cells so the same gesture does different things in different places. - [Modifiers and timing](https://input.observer/help/manual-modifiers-timing) — Keys and mouse buttons held with a gesture, when they must be pressed, and how they decide which action runs. - [Profiles](https://input.observer/help/manual-profiles) — Switching between sets of actions with gesture profiles. - [Before and after actions](https://input.observer/help/manual-before-after) — Running an action before or after another one, and in what order everything runs. # App groups URL: https://input.observer/help/manual-app-groups > Grouping programs and windows so actions apply only to them. An app group is a set of windows, described by rules, with its own actions. Actions in a "Browsers" group run only over browser windows; actions in the reserved **Global** group run everywhere else, and wherever a group falls back to Global. Each window belongs to **at most one** app group: the first one in the list whose rules match it. The exact rules are in [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling). ## The page {#page} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: App groups List: App groups (3) [search box] - Browsers — chrome.exe +1 (selected) - Editors — notepad.exe - Global [RESERVED] — Every window [+ New] Page: App groups Card: Browsers Name: [Browsers] [x] Enabled ② [Move up] [Move down] [Convert to ignore group…] (•) General ( ) Windows Card: What happens in these windows [x] Gestures work here [x] Hotkeys work here ③ [x] Fall back to Global ``` Below the group's card, a row of tabs splits its settings. Simple mode has two: - **General**: what happens in the group's windows (see [What happens in these windows](https://input.observer/help/manual-app-groups#behavior)). - **Windows**: the rules for which windows count as the group (see [Rules](https://input.observer/help/manual-app-groups#rules)). The Global group has no Windows tab: it applies to every window no other group owns. Advanced mode adds four more tabs (see [Advanced settings](https://input.observer/help/manual-app-groups#advanced)). The tab you pick stays chosen while you select other groups, so you can compare the same settings group by group. A group without that tab shows **General**. The **Windows** tab: ```ui-mockup Card: Which windows count as this group A window belongs to this group when ④ ( ) All rules match (•) Any rule matches ⑤ Table: | LOOK AT | COMPARE | VALUE | MATCH CASE | MATCHES? | | Program name | is exactly | chrome.exe | ☐ | ✓ 3 open | | Program name | is exactly | msedge.exe | ☐ | none open | [+ Rule] ``` To make a group for a program: 1. Select **+ New** at the bottom of the list. A group named "New app group" appears, with no rules. 2. Give it a **Name**. 3. On the **Windows** tab, select **+ Rule** and fill in the row ⑤: what to **LOOK AT**, how to **COMPARE**, the **VALUE**, and whether to **MATCH CASE**. Or drag the row's magnifier onto the program's window (see [Rules](https://input.observer/help/manual-app-groups#rules)). 4. Check the **MATCHES?** column: it counts the open windows the rule matches. 5. Add actions to the group on the **Actions** page, with the group chosen in its group list. See [The Actions page](https://input.observer/help/manual-action-editor). 6. Apply your changes. The [quick start](https://input.observer/help/qs-one-program) walks through the same task. ## Rules {#rules} A rule tests one fact about the window's **top-level window** (the whole program window, never a button or text box inside it): | LOOK AT | What it reads | Example VALUE | | --- | --- | --- | | **Program name** | The program's file name | `chrome.exe` | | **Program path** | The program's full path | `C:\Program Files\Mozilla Firefox\firefox.exe` | | **Window title** | The text in the window's title bar | `Visual Studio` | | **Window class** | The window's class name, a fixed name the program gives its windows | `Notepad` | | COMPARE | Matches when the text… | | --- | --- | | **is exactly** | is exactly VALUE | | **contains** | contains VALUE anywhere | | **starts with** | starts with VALUE | | **ends with** | ends with VALUE | | **matches wildcard** | as a whole matches VALUE, where `*` stands for any run of characters (including none) and `?` for exactly one | | **matches pattern** | contains a match for the regular expression VALUE (use `^` and `$` to match the whole text) | - **MATCH CASE**, off by default, decides whether upper and lower case count. Off, they don't: `notepad.exe` also matches `Notepad.exe`, for every COMPARE choice and the same way in every language. On, the rule's VALUE is compared with exact case, **matches pattern** included. - **Patterns** use the ECMAScript regular expression rules. Lookbehind (`(?<=…)`), named groups (`(?…)`), inline flags such as `(?i)` and `\p{…}` are not supported: such a pattern shows **invalid pattern** in **MATCHES?** and never matches. Script functions use a different, larger pattern dialect, so a pattern that works in a script may not work here. - **Store apps.** A **Program name** or **Program path** rule matches both the app's own program (for example `CalculatorApp.exe`) and `ApplicationFrameHost.exe`, the program that hosts its window. - **A rule with no VALUE** is dropped when you save. - **A group with no rules** matches no window at all. **Drag to identify.** Press and hold a row's magnifier, move the pointer over a window, and release. The configuration window gets out of the way while you do it, and the row's VALUE is filled from that window for the row's **LOOK AT** choice. Esc cancels. **MATCHES?** shows, for each rule on its own, how many open windows it matches: "✓ 3 open" or "none open". It ignores the group's other rules and the groups above it. ### Several rules {#match-mode} Once a group has two or more rules, choose ④ how they combine under **A window belongs to this group when**: - **All rules match**: every rule must hold for the same window (the default). - **Any rule matches**: one matching rule is enough. This choice shows in Simple mode too. Advanced mode adds a note under it that explains the two choices. ## Order {#order} When a window matches more than one group, the group higher in the list owns it. The other groups are never consulted for that window, not even when the owning group has no action for what you did; only the Global group can take over then (see [Fall back to Global](https://input.observer/help/manual-app-groups#behavior)). - **Move up** and **Move down** ② move a group past the next app group. - **Ignore groups are always checked first.** A window any enabled ignore group matches never gets an app group, wherever the groups sit. See [Ignore groups](https://input.observer/help/manual-ignore-groups). - **Global is always last** and has no Move up or Move down: it is not matched by rules; it is what a window gets when no group owns it. ## What happens in these windows {#behavior} These switches are on the **General** tab; **Enabled** is on the group's card above the tabs. | Setting | When on | When off | | --- | --- | --- | | **Enabled** | The group is in use. | The group is skipped entirely, as if it weren't there: its rules match nothing, its actions never run, and the next group in the list can own the window. | | **Gestures work here** | Gestures over these windows use this group. | The group still owns its windows, but no gesture uses its actions; Global's are used instead if the group falls back to Global, otherwise a draw-button press passes straight through. | | **Hotkeys work here** | Hotkeys pressed while one of these windows is focused use this group. | As for gestures: Global's hotkeys if the group falls back, otherwise none. | | **Fall back to Global** ③ | When this group has nothing for a gesture, hotkey or typed text, or doesn't apply in the active profile, Global's actions are tried. | Never Global's actions in these windows. | **Fall back to Global** also has a switch for every group at once on the **General** page; both must be on. See [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#fallback). There is no switch for text expansion per group: it follows the group's rules, profile and fallback, and the master switch on the **Text expansion** page. See [Text expansion](https://input.observer/help/manual-text-expansion). :::note **Advanced mode.** **Pause everything while focused** turns all of Input.Observer off while a window in this group has the focus, for example a game, and back on when the focus moves elsewhere. A manual **Enabled** switch-off from the tray always wins. See [The tray icon](https://input.observer/help/manual-tray). **Draw buttons start gestures here** (on by default), below **Hotkeys work here**: turned off, a draw-button press over these windows passes straight through to the program, which keeps its own button drags, for example in a CAD or 3D tool. The press doesn't fall back to Global. The draw key still draws gestures there; see [The draw key](https://input.observer/help/manual-drawing#draw-key). ::: ## The Global group {#global} The **Global** group is reserved. It has no rules: it applies to every window no other group owns, and it is where groups fall back to. - It is always the last row, marked **RESERVED**, and can't be deleted, duplicated or turned into an ignore group. - Its **Enabled** switch turns Global off: windows no group owns then get nothing, and no group has anything to fall back to. The tray menu's **Global Actions** item is the same switch. - **Gestures work here** and **Hotkeys work here** apply to Global both as a window's own group and as the group others fall back to. - In Advanced mode it also has **Draw buttons start gestures here**. Global's switch decides for windows no group owns, and for windows whose group sends its gestures to Global (**Gestures work here** off, or a profile the group doesn't apply in). - It has no **Fall back to Global** or **Pause everything while focused** of its own. ## Advanced settings {#advanced} :::note **Advanced mode.** These tabs appear after **Windows**: - **Gesture regions**: divide the window into a grid so one gesture can do different things in different places. See [Regions](https://input.observer/help/manual-regions). - **Before and after**: a script that runs before or after every action in the group. See [Before and after actions](https://input.observer/help/manual-before-after). - **Profiles and timeout**, two cards: - **Only in these profiles**: the profiles the group applies under. Leave it empty for every profile. In any other profile, the group still owns its windows, but they get Global's actions if the group falls back to Global, and nothing otherwise. See [Profiles](https://input.observer/help/manual-profiles). - **Cancel timeout**: **Override the General setting for this group** sets a cancel timeout (0 to 60,000 milliseconds) for gestures over these windows. Off means the **General** page's value applies. See [Drawing a gesture](https://input.observer/help/manual-drawing#cancel-timeout). - **Exclusion zones**: zones that apply only to windows in this group, on top of the zones for every window. See [Exclusion zones](https://input.observer/help/manual-exclusion-zones). Simple mode hides seven settings on an ordinary group: **Gesture regions**, **Before and after**, **Only in these profiles**, **Cancel timeout**, **Pause everything while focused**, **Exclusion zones** and **Draw buttons start gestures here**. On the Global group it hides five: the first four of these and **Draw buttons start gestures here**. Simple mode never changes their values: they keep working while hidden. The banner at the bottom of the page counts them, names them, and says when one holds a value other than its default. **Show advanced** on the banner switches to Advanced mode. ::: ## Problems the page reports {#issues} Banners under the group card, above the tabs, point out problems with the selected group. Problems of the same kind share one banner: its title once, a count ahead of it, and one line per problem. A banner with more than four lines shows the first three; **Show all** lists the rest, and **Show fewer** folds them away again. The same holds for the problem banners on the **Actions**, **Ignore groups**, **Text expansion** and **Exclusion zones** pages. **Hide problems**, under the banners, folds them into one line with a count, so the tabs keep their room. That line takes the color of the most serious problem, and **Show problems** on it brings the banners back. The page remembers your choice. | Banner | What it means | What to do | | --- | --- | --- | | **Two gestures in this group can't be told apart** | Two actions have a trigger that the same stroke satisfies, and neither is more specific. Only one of them runs where both fit; the banner says which. | Change one trigger: another gesture, or limit one of them to fewer region cells, fewer profiles, one draw button or a modifier timing ([What wins](https://input.observer/help/manual-scope-bubbling#tie-breaks)). | | **A stroke here can run the wrong action** | A shape drawn over these windows scores closest to another shape in scope, and runs that shape's action. See [How a stroke is matched](https://input.observer/help/manual-matching#nearest-shape). | **Add do-nothing action**, or raise the match threshold. When the banner lists several strokes, each line has its own **Add do-nothing action** link, and **Add do-nothing actions for all** adds one for every stroke listed. | | **This group matches no windows** | It has no rules. | Add a rule. | | **A rule has no value** | It is dropped when you save. | Fill in VALUE or remove the row. | | **Another group already has these rules** | A group checked first has the same rules, so no window ever reaches this one. | Change the rules, or the order. | | **Outside its profiles its windows get nothing** | The group is limited to some profiles and doesn't fall back to Global. | Turn on **Fall back to Global**, or accept it. | | **A gesture can never match** | Regions are on, and a gesture trigger has no region cell. | Choose cells for the trigger. See [Regions](https://input.observer/help/manual-regions#mandatory). | | **A gesture points outside the grid** | A trigger names a cell the current grid doesn't have. | Choose cells again for that trigger. | A disabled group, or one with **Gestures work here** off, reports no gesture problems. ## Adding, copying and removing groups {#manage} - **+ New** adds an empty group at the end of the app groups. - The duplicate button beside **+ New** copies the selected group, everything included, and places the copy right below it. Until you change the copy's rules, the original owns every window the copy would, so the copy shows **Another group already has these rules**. - A row's delete button removes a group after a confirmation that says how many of its actions are deleted with it. - **Convert to ignore group…** turns the group into an ignore group. The confirmation lists what is removed: its actions, regions, before and after scripts, cancel timeout and exclusion zones. The group then appears on the **Ignore groups** page. See [Ignore groups](https://input.observer/help/manual-ignore-groups). # Scope and fallback rules URL: https://input.observer/help/manual-scope-bubbling > Exactly which action runs: the window that counts, which app groups apply, and every tie-break. This page states exactly how Input.Observer picks the action for a gesture: which window counts, which group owns it, when the **Global** group takes over, and which action wins when several could run. Hotkeys and text expansion follow the same group rules, with the differences listed at the end. ## Terms {#terms} - **Scope**: the app group whose actions are tried for a gesture. A gesture has one scope, plus Global as a possible fallback. - **Owning group**: the one app group a window belongs to. See [App groups](https://input.observer/help/manual-app-groups). - **Fall back to Global**: trying the Global group's actions when the owning group has nothing. Two switches control it, and both must be on: - **Fall back to Global** on the **General** page, **When a gesture matches** card: for every group at once (on by default); - **Fall back to Global** on each app group's **What happens in these windows** card: for that group (on by default). ## The window that counts {#window} For a gesture, the window that counts is the **top-level window under the pointer at the moment you press the draw button** (or the draw key): - Where the stroke goes afterwards doesn't matter. A stroke that starts over Notepad and ends over a browser is a Notepad gesture. - A control inside a window (a text box, a browser page) counts as its whole program window. - The owning group, the profile check and the region cell are all decided **once, at the press**. A window title that changes while you draw, or a profile switch during the gesture, doesn't change the outcome of that gesture. ## The decision, step by step {#decision} ### At the press 1. **Find the owning group.** Check the groups in this order and stop at the first one whose rules match the window: 1. every ignore group, top to bottom on the **Ignore groups** page; 2. every app group, top to bottom on the **App groups** page. Skipped as if absent: a group that isn't **Enabled**, a group with no rules, and an ignore group set to **Only while the window is fullscreen** whose window isn't fullscreen right now. 2. **An ignore group owns it:** the press passes straight through. Nothing else is checked: no fallback to Global, no gesture, and no hotkey or text expansion runs for that window either. See [Ignore groups](https://input.observer/help/manual-ignore-groups). 3. **An app group owns it:** its scope is that group if **Gestures work here** is on and it applies in the active profile (see [Profiles](https://input.observer/help/manual-profiles)). If not, the scope is Global, but only if both **Fall back to Global** switches are on; otherwise the press passes straight through. 4. **No group owns it:** the scope is Global. The **Fall back to Global** switches don't matter here: Global is that window's own group. 5. **Global as the scope** works only if it is **Enabled**, its **Gestures work here** is on, and it applies in the active profile. Otherwise the press passes straight through. A draw-button press also passes straight through when the window's own group has **Draw buttons start gestures here** off (Advanced mode), even if the scope fell back to Global. The draw key isn't affected. 6. **Exclusion zones** are checked, for every window and for the scope group. A press inside one goes back to the window. See [Exclusion zones](https://input.observer/help/manual-exclusion-zones). 7. **The capture starts.** The region cell is worked out now, for the scope group and, separately, for Global (see [Regions](https://input.observer/help/manual-regions)). A press that passes through in steps 2 to 6 is handed on untouched and without delay, and draws no trail. ### At the release 8. **The shape.** The stroke is scored against the shapes the scope group's triggers use, plus Global's when the scope group can fall back. The best score at or above the match threshold wins; otherwise nothing matches. See [How a stroke is matched](https://input.observer/help/manual-matching). 9. **The scope group's actions.** Every trigger in the group is checked. A trigger fits when: - it is a gesture trigger for the winning shape, - its action is turned on, - its action applies in the active profile, - the modifiers you pressed are exactly the ones it asks for (see [Modifiers and timing](https://input.observer/help/manual-modifiers-timing)), - it accepts the draw button you used, - when the group has regions on, it covers the region cell you pressed in. Of the triggers that fit, the **most specific** one wins ([What wins, in order](https://input.observer/help/manual-scope-bubbling#tie-breaks)). The order of the action list doesn't matter. 10. **Fall back to Global** when nothing in step 9 fits and all of these hold: the scope group isn't Global itself, both **Fall back to Global** switches are on, and Global is enabled, has **Gestures work here** on and applies in the active profile. Global's actions are then checked exactly as in step 9, with Global's own region cell. 11. **Run** the winning action, inside the matched group's Before and After actions. See [Before and after actions](https://input.observer/help/manual-before-after). 12. **Nothing fits:** nothing runs, the press is not given back, and the **Nothing matched** global event runs if you set one up. ## What wins, in order {#tie-breaks} | Question | Rule | | --- | --- | | Two groups' rules match the window | The ignore group wins over any app group; otherwise the higher one in its list. Only one group ever owns a window. | | The owning group has no action for the gesture | Global's actions, if fallback is allowed. Never a lower app group. | | An app group's action and a Global action both fit | The app group's action, always, whatever their modifiers, buttons or regions. | | Two shapes score above the threshold | The higher score. | | Two actions in one group fit | The one whose trigger is more specific. The checks below are made in order, and the first one that tells them apart decides. | | Two triggers of one action fit | The same checks. The same action runs either way, but the chosen trigger's own settings apply, such as **Held modifier keys**. | | A plain trigger and a trigger asking for Shift, same shape | Only one can fit: the plain one needs no modifier at all during the gesture, the other needs Shift. | When two triggers in one group fit, these checks pick the more specific one: 1. **Region cells** (gestures in a group with regions on): the trigger that covers fewer cells. 2. **Profiles**: the action limited to fewer profiles under **Only in these profiles**. An action limited to any profile wins over one that runs in every profile. 3. **Draw button** (gesture, wheel and button chord triggers): a specific button wins over **Any draw button**. 4. **Modifier timing**: a gesture trigger that needs modifiers and has **Before drawing** or **While drawing** wins over one with **Either**. A button chord trigger with a set order wins over one with **Either order**. 5. **All equal:** the action stored first in the group (normally the one added first), and within one action, the trigger higher in its **Triggers** card. So an exception just works, wherever it sits in the list: a "Swipe left" limited to the middle button runs for middle-button strokes, and the plain "Swipe left" runs for every other button. When two triggers can fit the same input and are equally specific, the action editor and the **App groups** page warn and name the one that runs. ## Fallback in short {#fallback} | Situation | Without fallback | With fallback (both switches on) | | --- | --- | --- | | No group owns the window | Global | Global | | The owning group has **Gestures work here** off | Press passes through | Global | | The owning group doesn't apply in the active profile | Press passes through | Global | | The owning group has no action for the stroke | Nothing matched | Global's actions are tried | | An ignore group owns the window | Press passes through | Press passes through | | The owning group is turned off (**Enabled** off) | The window is matched against the groups below it, as if this group weren't there | Same | | Global is turned off | Nothing anywhere Global would be used | Same | The tray menu's **Global Actions** item is Global's **Enabled** switch. While the focused window's group doesn't fall back to Global, the tray icon's tooltip says so, naming the group. See [The tray icon](https://input.observer/help/manual-tray). ## Worked examples {#examples} The examples use this setup: | List | Group | Rules | Actions | | --- | --- | --- | --- | | Ignore groups | Remote desktop | **Program name** **is exactly** `mstsc.exe` | none | | App groups, 1st | Browsers | **Program name** **is exactly** `chrome.exe` | "Back" on Swipe left; "Close tab" on Swipe down | | App groups, 2nd | Text files | **Window title** **ends with** `.txt - Notepad` | "Save" on Swipe down | | App groups, 3rd | Notepad | **Program name** **is exactly** `notepad.exe` | "Undo" on Swipe left | | — | Global | none | "Minimize" on Swipe down; "Maximize" on Swipe up | Both **Fall back to Global** switches are on unless an example says otherwise. **1. A shape the group has.** You draw Swipe down over Chrome. Browsers owns Chrome and has "Close tab" on Swipe down, so "Close tab" runs. Global's "Minimize" on the same shape never gets a chance: the owning group always wins. **2. A shape only Global has.** You draw Swipe up over Chrome. Browsers has nothing for Swipe up, so the gesture falls back to Global and "Maximize" runs, wrapped in Global's Before and After actions, not Browsers'. **3. Fallback off.** Turn off **Fall back to Global** on Browsers, and draw Swipe up over Chrome. Global's shapes no longer compete, so the stroke is compared only with Swipe left and Swipe down. If neither reaches the threshold, nothing matches and the **Nothing matched** event runs. If one of them does (a sloppy stroke can), that one's action runs. The right-click is not given back either way. **4. Two groups match; only the first counts.** Notepad has a file named `notes.txt` open, so its title is "notes.txt - Notepad". Both Text files and Notepad match it; Text files is higher, so it owns the window. You draw Swipe left: neither Text files nor Global uses that shape, so it isn't even among the shapes compared, and nothing matches. "Undo" in the Notepad group never runs for this window, because a window never falls to a lower app group. To get "Undo" here, add it to Text files, or move Notepad above Text files. **5. An ignore group.** You draw over a Remote Desktop window. The ignore group owns it, so the press goes straight to the remote computer: no trail, no Global. While that window has the focus, no hotkey action or text expansion runs either. **6. A group turned off, and a group with gestures off.** Turn off **Enabled** on Text files and draw Swipe left over "notes.txt - Notepad": Notepad now owns the window and "Undo" runs. Turn Text files back on but turn off its **Gestures work here** instead: Text files owns the window again, so Notepad is never reached; the gesture goes to Global, which doesn't use Swipe left, and nothing runs. **7. Profiles.** Limit Browsers to a "Work" profile and make no profile active. Browsers still owns Chrome, but doesn't apply, so a gesture over Chrome goes to Global: Swipe down runs "Minimize", not "Close tab". With **Fall back to Global** off on Browsers, the press passes straight through instead, and the page warns **Outside its profiles its windows get nothing**. ## Hotkeys and text expansion {#hotkeys-text} Hotkeys and text expansion use the same ignore groups, group order, **Enabled** switches, profiles, **Fall back to Global** switches, Global group and Before and After actions. These differ: | | Gestures | Hotkeys | Text expansion | | --- | --- | --- | --- | | The window that counts | The top-level window under the pointer at the press | The focused window when you press the keys | The focused window when you finish typing the text | | The group's switch | **Gestures work here** | **Hotkeys work here** | none (the **Text expansion** page has one switch for everything) | | Regions, draw button | Yes | No | No | | When the group is decided | Once, at the press | At each key press | At each expansion | See [Hotkeys](https://input.observer/help/manual-hotkeys) and [Text expansion](https://input.observer/help/manual-text-expansion) for what else is particular to each. # Ignore groups URL: https://input.observer/help/manual-ignore-groups > Programs and windows where Input.Observer stays out of the way: what ignored means, fullscreen-only groups, pausing everything, and which group wins. An ignore group names windows that Input.Observer leaves alone. Use one for remote desktops, virtual machines and games, where your gestures and shortcuts should reach the program inside, untouched. An ignore group has rules that pick its windows, like an app group, but no actions. The windows it matches are ignored in every profile. ## What "ignored" means {#ignored} In a window that an ignore group matches: | Input | What happens | | --- | --- | | Draw-button press (for example a right-click or right-drag) | Goes straight to the window. No gesture starts, no trail is drawn, and the press is not delayed. | | Reserved hotkey (**Reserved with Windows**) | Nothing runs. Windows still hands the keys to Input.Observer, so the window doesn't get them. | | Hotkey that isn't reserved (**Not reserved**) | Nothing runs, and the keys reach the window. | | Typed text | Nothing expands, and every key reaches the window. | | Global events | Still fire. Mouse-button and wheel global events fire wherever the pointer is ([Global events](https://input.observer/help/manual-global-events)). | "The window" means the window under the pointer for a draw-button press, and the window in front (with keyboard focus) for hotkeys and typed text. An ignored window never falls back to Global. That is the difference from an app group with **Gestures work here** or **Hotkeys work here** off, which can still fall back to Global's actions. To also stop global events while one of the group's windows has focus, turn on [Pause everything while focused](https://input.observer/help/manual-ignore-groups#pause). ## Create an ignore group {#create} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Ignore groups ① List: Ignore groups - Remote desktops (selected) - Games Page: Ignore groups Card: Remote desktops [Remote desktops] [x] Enabled Ignore groups are checked before every app group, so a window this group matches is left alone even if an app group also matches it. Among ignore groups, the one higher in the list applies. Card: What happens in these windows No gestures, hotkeys or text expansion in these windows, and no fallback to Global. Use it for remote desktops and virtual machines. ③ [ ] Only while the window is fullscreen ④ [ ] Pause everything while focused ② Card: Which windows count as this group Table: | LOOK AT | COMPARE | VALUE | MATCH CASE | MATCHES? | | Program name | is exactly | mstsc.exe | ☐ | ✓ 1 open | [+ Rule] ``` 1. Open the **Ignore groups** page and click **+ New** at the bottom of the list ①. A group named **New ignore group** appears. Give it a name. 2. In **Which windows count as this group** ②, click **+ Rule** and set what to look at (**Program name**, **Program path**, **Window title** or **Window class**), how to compare it, and the value. Turn on **MATCH CASE** only when upper and lower case must match exactly. Or press and hold the magnifier on a rule, release it over the window, and the rule is filled in from that window. The **MATCHES?** column shows how many open windows the rule matches now. 3. To ignore the windows only while they are fullscreen, turn on **Only while the window is fullscreen** ③. 4. To turn Input.Observer off entirely while one of these windows has focus, turn on **Pause everything while focused** ④. 5. Save. With two or more rules, **A window belongs to this group when** chooses between **All rules match** and **Any rule matches**. The rules work exactly as on the App groups page ([App groups](https://input.observer/help/manual-app-groups)). To ignore one program from a guided dialog instead, use **Quick create…** in the navigation rail and choose to leave a program alone ([Keep a program out](https://input.observer/help/qs-ignore-program)). ## Which group a window belongs to {#precedence} Every window belongs to at most one group. To find it, Input.Observer checks: 1. **Every ignore group, before any app group**, in the order of the Ignore groups list. The first one whose rules match the window wins. 2. Then every app group, in the order of the App groups list. 3. A window no group matches uses the Global group. So a window an ignore group matches is ignored even when an app group also matches it, wherever either sits in the configuration file. **Move up** and **Move down** change the order among ignore groups only. To make an exception for one program inside a broad ignore rule, narrow the ignore group's rules; an app group can't win over it. Ignore groups that are turned off (**Enabled** off) are skipped entirely: Input.Observer behaves normally again in their windows. Active profiles don't apply to ignore groups. ## Only while the window is fullscreen {#fullscreen} With **Only while the window is fullscreen** on, the group matches a window only while that window covers its whole monitor, taskbar area included. A maximized window that leaves the taskbar visible is not fullscreen. While the window is not fullscreen, the group doesn't match it at all. The window then belongs to the next group that matches it: a later ignore group, or an app group. A game can therefore run its own gestures while windowed and be left alone while fullscreen. ## Pause everything while focused {#pause} **Pause everything while focused** turns the whole app off while a window of this group has keyboard focus, as if you had turned off **Enabled** on the tray menu: - No gestures start anywhere, even over other windows. - No hotkey action runs and no text expands. Reserved hotkeys still keep their keys from every program. - No global event fires. Input.Observer turns itself back on as soon as focus moves to a window outside the group. With **Only while the window is fullscreen** also on, the pause applies only while the window is fullscreen; Input.Observer notices a window going into or out of fullscreen within about a second. While paused, the tray icon's tooltip says **auto-disabled**. If you turned the app off from the tray yourself, it stays off. Ordinary app groups have the same switch, in Advanced mode. ## Problems the page reports {#issues} Banners under the group's card point out problems with the selected group, as on the App groups page ([Problems the page reports](https://input.observer/help/manual-app-groups#issues)): | Banner | What it means | What to do | | --- | --- | --- | | **This group matches no windows** | It has no rules, so it leaves no window alone. | Add a rule. | | **A rule has no value** | It is dropped when you save. | Fill in VALUE or remove the row. | | **Another group already has these rules** | An ignore group higher in the list has the same rules, so no window ever reaches this one. | Change the rules, or the order. | ## Convert between ignore groups and app groups {#convert} - **Convert to app group…** in the group's card turns an ignore group back into an ordinary app group, with its rules. Nothing is lost. - On the App groups page, **Convert to ignore group…** does the reverse. It first lists what the group loses (its actions, regions, before and after actions, cancel timeout and exclusion zones) and asks you to confirm. The Global group can never be an ignore group. # Regions URL: https://input.observer/help/manual-regions > Splitting a window or screen into cells so the same gesture does different things in different places. :::note **Advanced mode.** Regions are set up on the **App groups** page and in the action editor, and both controls appear in Advanced mode only. Regions you set up keep working in Simple mode. ::: Regions divide a window into a grid of cells. A gesture trigger then names the cells it applies in, so the same shape can run one action when you start it in the left half of a window and another in the right half. ## Turning regions on for a group {#grid} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: App groups List: App groups - Browsers (selected) - Global [RESERVED] Page: App groups Card: Gesture regions Divide the window into a grid so one gesture can do different things in different cells. Each gesture trigger then chooses its cells. ① ( ) Off (•) Halves ( ) Quadrants ( ) Custom grid Grid 2 × 1 A preview of the grid. Cells are chosen on each gesture trigger. ``` 1. On **App groups**, select the group and open its **Gesture regions** tab. 2. Choose a layout ①: - **Off**: no regions (the default). - **Halves**: one row, two columns, a left and a right half. - **Quadrants**: two rows, two columns. - **Custom grid**: choose **Rows** and **Columns**, each from 1 to 16. 3. Choose the cells on each of the group's gesture triggers (below). 4. Apply your changes. The cells are equal in size. Rows count from the top and columns from the left, in every language. ## What is divided {#basis} | Group | Divided rectangle | | --- | --- | | An ordinary app group | The top-level window under the pointer at the press: its whole visible frame, title bar included, never a control inside it. A maximized window is divided across the whole window. | | The Global group | The whole monitor you pressed on, taskbar included. | **The cell is decided once, at the press.** The cell is the one the press point is in. Drawing into another cell, or across monitors, doesn't change it. ## Choosing a trigger's cells {#cells} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Actions Page: Actions Trigger (GESTURE): Swipe down Gesture: [gesture drawing] Regions ① Grid 2 × 1, selected cells 1 Pick the cells this gesture applies to. When two actions share a gesture, the one with fewer cells wins. ``` 1. On **Actions**, select the action and expand its gesture trigger. 2. Under **Regions**, select the cells ① the trigger applies in. Select a cell again to clear it. A trigger can name any number of cells. See [The Actions page](https://input.observer/help/manual-action-editor) for the rest of the trigger. ## Rules {#rules} ### Every trigger needs cells {#mandatory} Once a group's regions are on, **every gesture trigger in that group must name at least one cell**. There is no "any cell": a trigger with no cells never matches, and the **App groups** page warns **A gesture can never match**. To keep a trigger working everywhere, select all its cells. Turning regions off again makes every trigger in the group match anywhere; the cells stay stored for when you turn regions back on. ### Fewer cells wins {#ranking} Within one group, when two triggers for the same shape both fit (the draw button, the modifiers you pressed, the active profile) and both cover the cell you pressed in, the trigger with **fewer cells wins**. This is the first check of the ones that pick the more specific trigger; only when they cover equally many cells do the others decide: profiles, draw button, then modifier timing ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks)). > Example: in Browsers (Quadrants), "Minimize" has Swipe down in all four cells and "Close" has Swipe > down in the top-right cell only. Started in the top-right cell, Swipe down runs "Close" (one cell > beats four). Started in any other cell, it runs "Minimize". ### The group still comes first {#scope-first} Regions only choose among the actions of one group. An app group's action always wins over a Global one, whatever their cells. See [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks). ### Global's regions {#global} The Global group can have regions too, on its own grid over the monitor: - When a window has no group of its own, its gestures use Global's grid. - When a gesture falls back from a group to Global, Global's actions are checked against Global's own cell, worked out from the monitor at the same press, not against the group's window cell. > Example: Browsers has Halves; Global has Quadrants. You press in the left half of a Chrome window > that sits in the top-right quarter of the monitor. Browsers' triggers are checked against the left > half; if none fits and the gesture falls back, Global's triggers are checked against the top-right > quarter. ### Changing the grid {#changing} Triggers keep their cells when you change a group's layout. A cell that the new grid doesn't have (row 3 after you go from three rows to two) never matches; the **App groups** page warns **A gesture points outside the grid**. Choose that trigger's cells again. Moving or copying an action to another group keeps its cells only when both groups have the same grid; otherwise you are asked to confirm that the cells will be cleared. # Modifiers and timing URL: https://input.observer/help/manual-modifiers-timing > Keys and mouse buttons held with a gesture, when they must be pressed, and how they decide which action runs. A gesture trigger can require modifiers: keyboard keys or extra mouse buttons that you hold or press along with the gesture. The same drawn shape can then run a different action with each modifier. This page states the exact rules. Hotkey triggers also have modifiers, with simpler rules (see [Modifiers on a hotkey](https://input.observer/help/manual-modifiers-timing#hotkeys)). ## Choosing modifiers {#choose} Modifiers are part of a gesture trigger in the Action editor. ```ui-mockup Card: Triggers Trigger (GESTURE): Swipe left Draw button [x] Any draw button [ ] Right button Modifiers ① [ ] Ctrl [x] Shift [ ] Alt [ ] Win [ ] Left button [ ] Middle button [ ] Right button [ ] Side button 1 [ ] Side button 2 Timing ② (•) Before ( ) After ( ) Either Held modifier keys ③ (•) Release, then restore ( ) Leave held ``` 1. Open the action on the **Actions** page and expand its gesture trigger. 2. Under **Modifiers**, click each key or button the gesture needs ①. Click it again to remove it. 3. In Advanced mode, choose **Timing** ②: **Before**, **After** or **Either**. 4. In Advanced mode, with a keyboard modifier picked, choose what happens to the held keys while the action runs ③ (see [Held modifier keys](https://input.observer/help/manual-modifiers-timing#held)). The modifiers you can pick: | Modifier | Counts as | | --- | --- | | **Ctrl**, **Shift**, **Alt**, **Win** | Either key of the pair: left Ctrl and right Ctrl are both Ctrl. | | **Left button**, **Middle button**, **Right button**, **Side button 1**, **Side button 2** | A mouse button other than the one you draw with. | When Windows has the mouse buttons switched, button names follow Windows: the right button is the one that opens context menus. :::note **Advanced mode.** **Timing** and **Held modifier keys** are shown in Advanced mode only. In Simple mode a new gesture trigger uses **Either** and **Release, then restore**. Simple mode never changes a value you set in Advanced mode. ::: ## The exact-match rule {#exact} A gesture records two sets of modifiers while you draw it: - **Held before**: the keys and mouse buttons held at the moment you press the draw button (or the draw key), plus a recent wheel turn ([Wheel turns](https://input.observer/help/manual-modifiers-timing#wheel)). - **Pressed during**: every key and mouse button you press after the gesture started. A key stays in this set even if you release it before you finish. A key you were already holding before the press does not count as pressed during, however long you hold it. A trigger's modifiers must equal one of these sets **exactly**. A subset is not enough, and extra keys are not ignored: - A trigger that needs **Shift** does not match while you hold Shift and Alt. - A trigger that needs **Shift** and **Alt** does not match while you hold only Shift. The two sets are never combined. Holding Shift before and pressing Ctrl during gives "Shift" before and "Ctrl" during. Neither set is "Shift and Ctrl", so a trigger that needs both keys does not match. ## Timing {#timing} Timing says which of the two sets a trigger checks: | Timing | The trigger matches when | | --- | --- | | **Before** | The keys held before equal its modifiers. What you press during does not matter. | | **After** | The keys pressed during equal its modifiers. What you held before does not matter. | | **Either** | Either set equals its modifiers. | A new gesture trigger made in the configuration window uses **Either**. A gesture trigger written in the configuration file without a timing uses **Before**. ## No modifiers means none at all {#none} A trigger with no modifiers is the exception to the timing rule. It matches only when **both** sets are empty: nothing held when you pressed the draw button, nothing pressed while you drew, and no recent wheel turn. Its timing does not matter. So a plain gesture never wins over its modified variant. If one action has a plain **Swipe left** and another has **Swipe left** with **Ctrl**, **After**, pressing Ctrl while you draw always runs the second one, whichever comes first in the list. ## Timelines {#timelines} In these examples the draw button is the right button, and Ctrl is an ignored modifier key, as it is by default ([Ignored modifier keys](https://input.observer/help/manual-ignore-keys)). | What you do | Held before | Pressed during | Matches | Does not match | | --- | --- | --- | --- | --- | | Hold Shift. Press the right button, draw, release. Release Shift. | Shift | (none) | Shift Before, Shift Either | Shift After, no modifiers | | Press the right button, start drawing, press and release Ctrl, finish, release. | (none) | Ctrl | Ctrl After, Ctrl Either | Ctrl Before, no modifiers | | Hold Shift. Press the right button, press Alt while you draw, release. | Shift | Alt | Shift Before, Alt After, Shift Either, Alt Either | Shift and Alt (any timing) | | Hold Shift and Alt. Press the right button, draw, release. | Shift, Alt | (none) | Shift and Alt Before or Either | Shift Before | | Press the right button, draw, press and release Shift, then press Alt, release. | (none) | Shift, Alt | Shift and Alt After or Either | Shift After, Alt After | | Hold Ctrl. Press the right button. | | | Nothing: Ctrl is an ignored modifier key, so the right-click goes to the window as a normal click and no gesture starts. | | | Hold the left button. Press the right button, draw, release. | Left button | (none) | Left button Before or Either | no modifiers | | Press the right button, draw, click the middle button, release. | (none) | Middle button | Middle button After or Either | no modifiers | | Turn the wheel, then press the right button within half a second and draw. | Wheel | (none) | No trigger made in the configuration window | no modifiers | When more than one trigger in the same app group matches, as in the third row, the more specific one runs: **Before drawing** or **While drawing** wins over **Either** ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks)). Shift **Before drawing** and Alt **While drawing** are just as specific, so for that stroke the one stored first runs, and the Action editor flags the pair. ## Mouse buttons as modifiers {#buttons} - **Held before.** A mouse button held when you press the draw button. The press of that button has already reached the window under the pointer, because no gesture was running yet. - **Pressed during.** A mouse button pressed while you draw. Its press and release are kept from the window under the pointer and only count toward the gesture. This includes a second draw button: pressed during a gesture, it is a modifier, not the start of a new gesture. A mouse-button global event still fires for a button pressed during a gesture ([Global events](https://input.observer/help/manual-global-events)). To run an action from two buttons alone, without drawing, use a [button chord trigger](https://input.observer/help/manual-action-editor#chord-trigger) instead. A button you click before you have moved far enough to start a gesture runs a chord trigger that fits it; it is a modifier only when no chord trigger fits, or once the gesture has started. ## Keys you can't hold before a gesture {#disallowed} Two kinds of modifier can never be held before a gesture starts: - **An ignored modifier key.** Holding it when you press the draw button means "no gesture this time", so the gesture never starts ([Ignored modifier keys](https://input.observer/help/manual-ignore-keys)). - **A draw button.** Pressing a draw button starts its own gesture, so it can't be held waiting for another one. With **Before** timing the modifier picker refuses both, and shows the reason when you point at the refused chip. With **After** or **Either** you can pick them, because pressing them during the gesture works. A trigger already set up that way (for example in the configuration file) shows its chip in red with the reason below, and never matches through the before set. ## Wheel turns {#wheel} Turning the mouse wheel shortly before you press a draw button counts as a modifier held before: **Wheel modifier window** on the **General** page sets how soon (default 500 ms). Turning the wheel while you draw counts as pressed during. Wheel up and wheel down are separate modifiers. - A wheel turn while you draw that runs a [wheel trigger](https://input.observer/help/manual-action-editor#wheel-trigger) is no modifier: the press is then no gesture at all. Only a turn that runs no wheel trigger counts as pressed during. - A wheel turn made while a draw button is held never counts as a turn before the next gesture, so a gesture drawn right after zooming with a wheel trigger matches as usual. - The horizontal wheel (a tilt wheel or a sideways scroll) is never a modifier. The engine matches wheel modifiers, but the modifier picker doesn't offer them, so a trigger made in the configuration window never has one. Such a trigger doesn't match a gesture you start within the wheel modifier window after scrolling: the recent wheel turn is a modifier the trigger doesn't list. This is by design. If you often draw right after scrolling, lower **Wheel modifier window** (Advanced mode); at 0, earlier wheel turns don't count. Wheel turns inside an [exclusion zone](https://input.observer/help/manual-exclusion-zones) that covers the wheel never count. ## Held modifier keys {#held} When an action starts, the keys you held for its trigger can still be down. An action that types text or presses keys would then send them with Ctrl or Alt still held. **Held modifier keys** chooses what happens: - **Release, then restore** (the default for a new trigger). Before the action runs, the engine releases the modifier keys the trigger matched. When the action, including any before and after actions, has finished, it presses again only the keys you are still physically holding. While they are released, their key repeat is held back, so a held key doesn't press itself again in the middle of the action. A key you released and pressed again yourself is left to you. - **Leave held.** Nothing is released. The action's script handles the keys itself. A trigger written in the configuration file without this setting uses **Leave held**. For a gesture, only keyboard modifiers are released; a held mouse button is never released. The choice is shown only when the trigger has a keyboard modifier. If input handling stops while the action runs (for example the engine is disabled), nothing is pressed again. ## How modifiers decide which action runs {#precedence} Modifiers are one condition of a trigger, checked together with the gesture, the draw button, the active profile and, when the app group uses them, its regions. They never change which app group's actions are tried first: 1. The app group of the window where the gesture starts is tried first. An action there whose trigger matches runs, even if a Global action would also match. 2. Within the group, the most specific matching trigger wins: fewer region cells, then fewer profiles, then a specific draw button, then a set timing over **Either** ([Scope and fallback](https://input.observer/help/manual-scope-bubbling#tie-breaks)). 3. Only when nothing in the group matches does the gesture fall back to Global, if fallback is on ([Scope and fallback](https://input.observer/help/manual-scope-bubbling)). The Action editor flags two triggers in one group that the same gesture can satisfy when they are just as specific, and says which one wins. ## Modifiers on a hotkey {#hotkeys} A hotkey's modifiers are Ctrl, Shift, Alt and Win, and they must match exactly: Ctrl+K does not run for Ctrl+Shift+K. A hotkey has no timing and no mouse-button modifiers. See [Hotkeys](https://input.observer/help/manual-hotkeys). # Profiles URL: https://input.observer/help/manual-profiles > Switching between sets of actions with gesture profiles. :::note **Advanced mode.** The **Profiles** page and the **Only in these profiles** cards are shown in Advanced mode only. Profile restrictions and the active profile keep working in Simple mode. ::: A profile is a name you can switch to, such as "Work" or "Presenting". App groups and actions can be limited to some profiles; switching the active profile then turns that whole set on or off at once. One profile is active at a time, or none. ## What a profile restricts {#restricts} Profiles restrict two things, and only through their **Only in these profiles** cards: | Restricted item | While the active profile is not one of its profiles | | --- | --- | | **An app group** (App groups page, Advanced) | The group still owns its windows, but doesn't apply. Gestures, hotkeys and text expansion in those windows use the Global group's actions if the group falls back to Global, and nothing otherwise. | | **An action** (action editor, Advanced) | The action is skipped, as if it weren't there. The next action in the list can run instead. | | **The Global group** | Global doesn't apply: windows with no group get nothing, and nothing falls back to it. | Rules: - **An empty list means every profile.** Groups and actions you never restrict are live whatever is active. - **With no profile active, only unrestricted groups and actions are live.** Every restricted item is off. - **With no profiles at all, everything is always live.** - A restriction applies to every kind of trigger on the restricted item: gestures, hotkeys and text expansion alike. - The profile is checked when the gesture starts, so switching profiles in the middle of a gesture doesn't change it. Hotkeys and text expansion check the profile active when they fire. - A shape used only by an action of another profile still competes when you draw. See [How a stroke is matched](https://input.observer/help/manual-matching#candidates). [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#examples) has a worked example. ## The Profiles page {#page} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Profiles Page: Profiles — Switch the whole set of active gestures and hotkeys at once · one active at a time Card: Work ACTIVE NOW Used by groups Used by actions [Deactivate] [Rename] [Delete] Card: Presenting Used by groups Used by actions ② [Make active] [Rename] [Delete] ① [New profile] start empty; copy one through Export and Import Card: Switching The tray icon's Profile submenu lists every profile, and it is the fastest way to switch. A hotkey or a script step can switch too. Switching never prompts for the config password. Menu: No profile ✓ Work Presenting ──── Manage... ``` Each card shows a profile, **ACTIVE NOW** on the active one, and how many groups, actions and hotkeys are restricted to it. To set up a profile: 1. Select **New profile** ①. A profile named "Profile" appears with its name box open; type a name and press Enter. Names must be unique, ignoring case. 2. On **App groups**, open a group's **Only in these profiles** card and select the profiles it applies in. Do the same for an action in the action editor. 3. Apply your changes. 4. Select **Make active** ② on the profile's card. **Make active** stays unavailable until the new profile has been applied, since Input.Observer can only switch to a profile it has loaded. There is no duplicate button: to copy a profile with its restrictions, use export and import. See [Import and export](https://input.observer/help/manual-import-export). ## Switching profiles {#switching} The active profile changes at once, without applying anything, and without asking for the configuration password. Input.Observer remembers it across restarts. | Where | How | | --- | --- | | The tray icon | The **Profile** submenu lists **No profile** and every profile, with a check beside the active one. **Manage...** opens this page, and switches the configuration window to Advanced mode if it is in Simple mode. | | The **Profiles** page | **Make active** on a card; **Deactivate** on the active card leaves no profile active. | | An action | A script step that switches the profile, for example from a hotkey or a gesture. See `GestureProfileSwitch` in [Builtins](https://input.observer/help/script-builtins). | The configuration window shows the active profile's name in the status bar. ## Renaming and deleting {#manage} - **Rename** changes only the name. Groups and actions refer to the profile itself, so nothing else changes. - **Delete** first shows what will change: - every group and action that was limited to **only** this profile becomes unrestricted: it then applies in **every** profile; - every other group or action that also names this profile just loses it from its list; - if this was the active profile, no profile is active afterwards. :::warning Deleting a profile can turn on actions you meant to keep limited. A group restricted to "Gaming" alone applies everywhere once "Gaming" is deleted. Read the list in the confirmation before you confirm. ::: Select a card to see, under **Deleting a profile**, what deleting it would change, before you delete anything. ## The 64-profile limit {#limit} You can have at most 64 profiles. The page shows the count against the limit; at 64, **New profile** is unavailable until you delete one. # Before and after actions URL: https://input.observer/help/manual-before-after > Running an action before or after another one, and in what order everything runs. :::note **Advanced mode.** The **Before and after** tab on the **App groups** page, and the **Before and after timeout** on the **Scripts** page, are shown in Advanced mode only. Before and after scripts you set up keep running in Simple mode. ::: A Before script runs ahead of every action an app group runs, and an After script runs once the action has finished. Use them for work every action in a group shares: bringing a window to the front first, saving the clipboard and restoring it afterwards, logging. They wrap every match in the group: gestures, hotkeys and text expansion alike. They don't wrap global events. ## Setting them up {#setup} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: App groups List: App groups - Browsers (selected) - Global [RESERVED] Page: App groups Card: Before and after A script that wraps every action in this group: the Before one runs first, the After one last. Before every action ① ( ) Inherit from Global (•) Custom ( ) None Written as ② (•) Steps ( ) Script ( ) AutoHotkey After every action ③ (•) Inherit from Global ( ) Custom ( ) None ``` 1. On **App groups**, select the group and open its **Before and after** tab. 2. Under **Before every action** ①, choose **Custom**. 3. Under **Written as** ②, choose how to write the script: as Steps, as a Script, or (when AutoHotkey is turned on) as AutoHotkey. Then write it, as you would an action. See [Steps](https://input.observer/help/steps) and the [script language](https://input.observer/help/script). 4. Do the same under **After every action** ③, or leave it on **Inherit from Global**. 5. Apply your changes. Each of the two has its own choice: | Choice | What runs | | --- | --- | | **Inherit from Global** (the default) | The Global group's Before (or After) script, if it has one. If it hasn't, nothing. | | **Custom** | This group's own script. A Custom script with nothing in it runs nothing, like **None**. | | **None** | Nothing, even if the Global group has a script. | **The Global group's scripts** are set in the same card on the Global group, which offers only **Custom** and **None**: there is nothing above Global to inherit from. They are what every **Inherit from Global** group runs, and what runs around Global's own actions. ## Which group's scripts run {#which-group} The scripts of **the group whose action ran** are used, not those of the window's group: | The action that ran came from | Before and After used | | --- | --- | | The window's own app group | That group's choice: its own, Global's (Inherit), or none | | The Global group, because the window has no group | Global's | | The Global group, by falling back from the window's group | Global's, never the window's group's | ## The order of everything {#order} When a gesture matches, these run strictly one after another: 1. **Activate the window under the gesture**, if that setting is on (gestures only). See [Drawing a gesture](https://input.observer/help/manual-drawing#after-match). 2. **Held modifier keys are released**, if the trigger's **Held modifier keys** is **Release, then restore**. See [Modifiers and timing](https://input.observer/help/manual-modifiers-timing). 3. **Before**, until it finishes or the timeout ends it. 4. **The action**, for as long as it takes. 5. **After**, until it finishes or the timeout ends it. 6. **Held modifier keys are pressed again**, if step 2 released them. Details: - **Before can't cancel the action.** The action runs once Before ends, even when Before failed with an error or was stopped by the timeout. - **The action is never cut short** by the timeout. After starts only when the action has finished. - **The stop-all-actions hotkey** stops whichever part is running and skips the rest, After included. - **The same trigger information.** Before and After see the same gesture, window and trigger details as the action (the `Context` builtins in the [script reference](https://input.observer/help/script-how-scripts-run)). - **Each match runs its own sequence.** Two gestures drawn in quick succession run their sequences at the same time, each in its own order. - **The Draw button released global event** is not part of the sequence: it starts when you let go, alongside it. - **Text expansion:** the typed text is erased before Before runs, and the key that ended it (a space, for example) is typed after the action, before After runs, unless **Type the key that ended it** is off. See [Text expansion](https://input.observer/help/manual-text-expansion). When a group resolves to no Before and no After script, the action runs on its own. ## Before and after timeout {#timeout} **Before and after timeout** on the **Scripts** page, **Limits and timeouts** card, limits how long each Before or After script may run: 3,000 milliseconds by default, from 0 to 60,000. A script still running after that is stopped and the next step starts, with no message box; the diagnostic console shows a line about it (see [The diagnostic console](https://input.observer/help/manual-console)). At 0, each one gets about 20 milliseconds. The limit never applies to the action itself. # Keyboard URL: https://input.observer/help/manual-keyboard > Hotkeys, text expansion, ignored modifier keys, and touch and pen input. Besides gestures, Input.Observer reacts to the keyboard in two ways, both of which run actions: - [Hotkeys](https://input.observer/help/manual-hotkeys): a key combination runs an action. A hotkey is a trigger on an action, added on the **Actions** page. - [Text expansion](https://input.observer/help/manual-text-expansion): a short piece of typed text is replaced with longer text, or runs an action. Both follow the same app groups as gestures, but use the window in front instead of the window under the pointer ([Scope and fallback](https://input.observer/help/manual-scope-bubbling)). Keys also shape gestures: - [The draw key](https://input.observer/help/manual-drawing#draw-key): hold a keyboard key instead of a mouse button, and move the mouse, to draw a gesture. - [Ignored modifier keys](https://input.observer/help/manual-ignore-keys): hold one while you press a draw button or the draw key to send a normal click or key press instead of starting a gesture. - [Modifiers and timing](https://input.observer/help/manual-modifiers-timing): keys and mouse buttons held with a gesture choose between actions. [Touch and pen](https://input.observer/help/manual-touch) explains what happens with touch and pen input, which Input.Observer doesn't support directly. - [Hotkeys](https://input.observer/help/manual-hotkeys) — Run an action from a key combination: choosing the keys, reserved and unreserved hotkeys, held keys, which action runs, and conflicts. - [Text expansion](https://input.observer/help/manual-text-expansion) — Type a short abbreviation and have it replaced with longer text or have it run steps or a script: how typed text is matched, what ends and clears it, capitalization, the ending key, the cursor position, the seven types, and the Settings tab. - [Autocorrect](https://input.observer/help/manual-autocorrect) — Replace a listed misspelling with its correction when you finish typing the word: turning it on, the list and its import formats, what counts as a word, capitalization, undo with Backspace, typed or pasted corrections, excluded apps, and the limits with password fields and input methods. - [Ignored modifier keys](https://input.observer/help/manual-ignore-keys) — Hold a key while you press the draw button to send a normal click instead of drawing a gesture. - [Touch and pen](https://input.observer/help/manual-touch) — Input.Observer doesn't support touch or pen input directly; what reaches it is what Windows turns into mouse input. # Hotkeys URL: https://input.observer/help/manual-hotkeys > Run an action from a key combination: choosing the keys, reserved and unreserved hotkeys, held keys, which action runs, and conflicts. A hotkey is a trigger on an action: a key combination that runs the action. There is no separate hotkeys page. You add a hotkey to an action on the **Actions** page, next to its gestures and typed text. One action can have several triggers of any kind. ## Add a hotkey to an action {#add} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Actions List: Actions - Open notes (selected) - Close tab Page: Actions Card: Triggers [+ Gesture] ① [+ Hotkey] [+ Text expansion] Trigger (HOTKEY): Ctrl+Shift+N Key combination ② [Ctrl+Shift+N] (waiting for keys) ③ [x] Registered Held modifier keys ④ (•) Release, then restore ( ) Leave held ``` 1. On the **Actions** page, choose the app group in **App group**, then select the action (or create one). 2. In the **Triggers** card, click **+ Hotkey** ①. 3. Click the **Key combination** field ②. It shows **Press a key combo…** while it waits. 4. Press the combination, for example Ctrl+Shift+N. The field shows it. 5. In Advanced mode, choose **Registered** ③ and **Held modifier keys** ④ (below). 6. Save. The hotkey works once the engine has the saved configuration. The trigger card's second line reads **Reserved with Windows** or **Not reserved**, the two kinds of hotkey ([Reserved or not](https://input.observer/help/manual-hotkeys#modes)). :::note **Advanced mode.** **Registered**, **Swallow the final key** and **Held modifier keys** are shown in Advanced mode only. In Simple mode a new hotkey is reserved with Windows and releases held modifier keys before its action runs. Simple mode never changes a value you set in Advanced mode. ::: ## Choosing the keys {#keys} The key combination field records what you press instead of letting it act: Win+E doesn't open File Explorer while the field is waiting, and an existing hotkey doesn't run. - A combination is any number of modifiers (Ctrl, Shift, Alt, Win) and exactly one other key. Modifiers alone don't finish it; the field keeps waiting for the other key. - Any other key works as the final key, including function keys, the numeric keypad, the media, volume and browser keys, and keys that have no name in the script key grammar. The field and the engine's messages name a media, volume or browser key by what it does, such as **Volume up** or **Play/Pause**. - A combination with no modifier, such as F9 alone, is allowed. A reserved one takes that key away from every program ([Reserved or not](https://input.observer/help/manual-hotkeys#modes)). - Escape with no modifier cancels and leaves the field unchanged. Escape with a modifier, such as Shift+Escape, is recorded. - Left and right modifier keys are the same modifier: a Ctrl+K hotkey runs for either Ctrl key. - The field records only while the configuration window is the active window. Clicking elsewhere stops recording. ## Reserved or not {#modes} A hotkey is either reserved with Windows (**Registered** on, the default) or recognized without reserving it (**Registered** off). | | **Reserved with Windows** | **Not reserved** | | --- | --- | --- | | Does the program in front get the keys? | Never, in any program. | Yes, unless **Swallow the final key** is on and this hotkey's action applies to the window in front. | | If another program has already reserved the same keys | This hotkey fails. Input.Observer reports it ([Keys another program holds](https://input.observer/help/manual-hotkeys#taken)). | Both run: the other program's shortcut and this action. | | While the engine is disabled, or paused by an ignore group | The keys are still taken from every program, and nothing runs. | The keys reach programs normally, and nothing runs. | | Best for | Keys you want to belong to Input.Observer everywhere. | Keys that should still work normally in programs where the action doesn't apply, or keys another program already reserves. | In either mode, keys that one of your own actions presses (a script's `KeyboardPressKeyCombo`, for example) never run a hotkey, so an action can press its own keys without running itself again. Reserving with Windows happens once for each distinct combination, each time the engine loads the configuration. It does not depend on which window is in front, which profile is active, or whether the action applies to the window in front. This is deliberate: reserving a hotkey is a choice to own those keys, so no other program can claim them later, and keeping the reservation avoids releasing and re-reserving keys on every change of window. So a reserved hotkey whose action belongs to another profile or another program still takes its keys and runs nothing. A combination is not reserved when every action using it is turned off, its app group is turned off, or **Hotkeys work here** is off for its group. ### Swallow the final key {#swallow} For a hotkey that isn't reserved, **Swallow the final key** (on by default) keeps the last key of the combination from the program in front: its press, its key repeat and its release. Modifier keys always pass through. It applies only when this hotkey runs an action for the window in front; anywhere else the key goes through. A reserved hotkey doesn't show this choice, because Windows already keeps its keys. Because the modifier keys pass through, Windows can still react to them on their own. With **Alt** or **Win** in a combination that isn't reserved, the program in front may see a lone Alt press and select its menu bar, or Windows may open the Start menu. Input.Observer can't fully prevent this. Reserve the combination with Windows, or choose one with **Ctrl** or **Shift**, if it happens. ## Held modifier keys {#held-modifiers} A hotkey runs while you still hold its modifier keys. An action that types text would otherwise type with Ctrl or Alt still down. **Held modifier keys** chooses between **Release, then restore** (the default for a new trigger) and **Leave held**. The full rules are in [Modifiers and timing](https://input.observer/help/manual-modifiers-timing#held). ## One run per press {#repeat} Holding a hotkey runs its action once. Windows' key repeat does not run it again; release the final key and press it again to run it again. This holds for both kinds of hotkey. ## Which action runs {#scope} A hotkey has no window under the pointer. It uses the **window in front** (the one with keyboard focus) at the moment you press the final key: 1. If the window belongs to an [ignore group](https://input.observer/help/manual-ignore-groups), nothing runs. A reserved hotkey's keys are still kept from that window. 2. If the window belongs to an app group with **Hotkeys work here** on and the group applies in the active profile, an enabled action in that group with this exact combination and kind of hotkey runs. If there are several, the one limited to the fewest profiles runs ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks)). 3. If nothing in that group runs, the hotkey falls back to the Global group's actions, unless **Fall back to Global** is off for that group or on the **General** page. 4. A window that belongs to no app group uses the Global group's actions directly. 5. If nothing matches, nothing runs. So one combination can run a different action in each app group, plus a Global action everywhere else. A reserved combination used in several groups is reserved only once. Scope and fallback are explained in full in [Scope and fallback](https://input.observer/help/manual-scope-bubbling). Actions limited to certain profiles are skipped in other profiles ([Profiles](https://input.observer/help/manual-profiles)). ## When hotkeys don't run {#suppressed} No hotkey action runs: - while a gesture is being drawn; - while a macro is being recorded, or while gestures are being trained; - while the engine is disabled from the tray, or paused because a window with **Pause everything while focused** has focus ([Ignore groups](https://input.observer/help/manual-ignore-groups#pause)); - after the stop-all-actions hotkey, or after **Maximum running actions** is reached ([Script settings](https://input.observer/help/manual-scripts-settings#limits)), until you choose **Reload Config** from the tray menu. Reserved hotkeys keep their keys meanwhile; - in Safe Mode, where no hotkey is reserved at all. The stop-all-actions hotkey on the **General** page is the exception: it works in every one of these states except Safe Mode. ## Conflicts {#conflicts} The Action editor shows a banner on the trigger, and a dot on the action's row in the list, for each of these: | Banner | What it means | | --- | --- | | **Another action uses these keys here** | Two actions in the same app group have the same combination and kind, and neither is limited to fewer profiles than the other. Only one of them runs where both apply; the banner says which. | | **This key combination is used twice** | The same combination is reserved on one action and not reserved on another. Both may run for one key press. Resolve it by changing one of them. | | **These keys stop all actions** | The combination is the stop-all-actions hotkey on the **General** page. Pressing it stops every action instead of running this one. | | **Ctrl+Break stops a macro recording** | A reserved Ctrl+Break hotkey keeps the recording stop key from working; stop recordings from the tray icon or the **Recorder** page instead. | | **Ctrl+Alt types characters on many keyboards** | Exactly Ctrl+Alt plus a character key. On keyboard layouts with an AltGr key, typing a character such as € or @ sets it off. Adding Shift avoids that. | | **This key is the draw key** | The final key is the draw key set on the **General** page. Where gestures work, pressing it starts a gesture instead, so this hotkey runs only where they don't. | | **No key set** | The trigger has no combination yet and never runs. | | **Windows or another program already uses these keys** | See [Keys another program holds](https://input.observer/help/manual-hotkeys#taken). | The same combination in two different app groups is not a conflict: the window in front decides which one runs ([Which action runs](https://input.observer/help/manual-hotkeys#scope)). ### Keys another program holds {#taken} Only one program can reserve a combination with Windows. When the engine can't reserve one of your hotkeys, it shows one **Configuration Warning** message listing every combination it could not reserve. It reserves your hotkeys again, and shows the message again if one still fails, at startup, after a save or Reload Config, and when Windows wakes from sleep or the displays change. Those hotkeys don't work until the engine reserves them successfully. The Action editor marks them **Windows or another program already uses these keys**. It also checks a reserved combination as soon as you set it, before you save. Windows itself also reserves some combinations, such as Win+L. To fix it, choose other keys, close the program that holds them and choose **Reload Config** from the tray menu, or turn **Registered** off to recognize the keys without reserving them. If you have just changed or removed an action that used the keys, save first: Input.Observer keeps its own reservation until then. # Text expansion URL: https://input.observer/help/manual-text-expansion > Type a short abbreviation and have it replaced with longer text or have it run steps or a script: how typed text is matched, what ends and clears it, capitalization, the ending key, the cursor position, the seven types, and the Settings tab. Text expansion replaces a short piece of typed text with something longer. Type `btw` and a space, and the program you type into receives "by the way" and the space. It works in any program that takes typed text. The **Text expansion** page lists the replacements of one app group at a time. Each replacement is an ordinary action whose only trigger is a typed text. It can type or paste text, or run steps, a script or AutoHotkey. An action is listed on the **Actions** page instead when it has other triggers as well, is limited to profiles (Advanced mode), or runs in a script language a plugin adds; there the typed text is under **+ Text expansion** in its **Triggers** card. Both follow the rules on this page. ## Add a replacement {#add} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Text expansion ② List: Replacements - By the way — btw (selected) - Address — ;addr Page: Text expansion (•) Replacements ( ) Settings App group ① [Global ▾] Card: Trigger Typed text ③ [btw] [x] Type the key that ended it [ ] Follow capitalization Card: What it does ④ [Text ▾] Replacement text [Insert cursor position] ⑤ [by the way] ``` 1. In **App group** ①, choose where the replacement works. **Global** works in every program that no other app group claims, and in groups that fall back to Global. 2. Click **+ New** at the bottom of the **Replacements** list ②. A replacement named **New replacement** appears; rename it in its **Name** box. 3. In **Typed text** ③, type the abbreviation, for example `btw`. 4. Choose the type ④ ([Types](https://input.observer/help/manual-text-expansion#types)). 5. Enter the **Replacement text** ⑤, or for RTF and HTML, copy the content in another program and click **Paste from clipboard**. For **Steps**, **Script** and **AutoHotkey**, the editor for that type appears in its own card below. 6. Save. The list shows the replacements in sections, one per **Category**, A–Z, with the ones that have no category last, and by name inside a section. Click a section's heading to collapse or expand it; while the filter box has text, every match is shown. With **All** chosen in **App group**, the list shows every group's replacements under the group's name, Global first, and a new replacement can't be created until you choose a group. **Advanced mode.** **Notes**, under **Category**, opens a box for your own reference; nothing shows it while you type. It opens by itself for a replacement that has notes. ## How typed text is matched {#matching} The engine remembers the characters you type since the last [boundary](https://input.observer/help/manual-text-expansion#boundaries) or [reset](https://input.observer/help/manual-text-expansion#resets). When you type a boundary, it compares what it remembered with every typed-text trigger: - **The whole word must match.** What you typed since the last boundary must equal the typed text exactly, from its first character. `btw` doesn't expand inside `abtw` or `concatbtw`. - **Case-sensitive**, unless the replacement follows capitalization ([Capitalization](https://input.observer/help/manual-text-expansion#case)). `btw` doesn't expand `BTW` or `Btw`. - **Shift is fine.** Holding Shift to type a capital or a symbol is ordinary typing. - **Corrections don't count.** Backspace clears what was remembered. If you type `bt`, press Backspace and type `tw`, the engine remembers only `tw`. | You type | Typed text | Result | | --- | --- | --- | | `btw` Space | `btw` | "by the way" and a space | | `btw.` | `btw` | "by the way." | | `abtw` Space | `btw` | Nothing: the word is `abtw`. | | `BTW` Space | `btw` | Nothing: different case (unless it follows capitalization). | | `;addr` Enter | `;addr` | The address, then Enter. | The typed text can start or end with characters such as `;` `:` `'` `"` and brackets, which are not boundaries. A leading `;` is a common way to keep abbreviations apart from real words. ## Capitalization {#case} **Follow capitalization** (under **Typed text**, for the **Text** and **Text via clipboard** types) makes a replacement work for two more ways of typing it, and capitalizes the replacement the same way. With `adm` for "administrator": | You type | Result | | --- | --- | | `adm` | administrator | | `Adm` | Administrator: the first letter is capitalized, the rest is left as it is. | | `ADM` | ADMINISTRATOR | | `aDm` | Nothing: only these three forms expand. | "First letter" means the first character that has a capital form, so `;adm` also expands as `;Adm` and `;ADM`. Capitals follow the rules of your Windows language and region settings. Changing the type to anything else turns **Follow capitalization** off. A replacement of another type that has it on anyway (from a configuration file edited by hand, for example) shows it with a note: the capitalized forms still run the replacement, but only **Text** and **Text via clipboard** change its capitalization. Turn it off there. When a typed text is a replacement's own typed text, that replacement runs, even if it is also a capitalized form of another one. So `Adm` for "Admin console" can sit beside `adm` with **Follow capitalization**: typing `Adm` gives "Admin console", and `ADM` still gives "ADMINISTRATOR". Two replacements that both follow capitalization and share a form, such as `adm` and `Adm`, both expand `ADM`; only one of them runs, and the page warns about it and names which. ## What ends the typed text {#boundaries} These keys end the typed text and make it expand when it matches: - **Space**, **Tab** and **Enter**, each while its switch is on in the Settings tab (all on by default). - Period, comma, exclamation mark and question mark: `.` `,` `!` `?`, the Arabic comma, question mark and full stop, and the ideographic and full-width comma, full stop, exclamation mark and question mark, while **Expand on punctuation** is on (on by default). Off, they are ordinary characters, so a typed text can contain them, such as `e.g`. Typed text that contains a boundary can never expand. The page says so under **Typed text**: **This never expands**, with the reason (a space while Space is a boundary, a control character, or one of the punctuation marks above while punctuation is a boundary). ## What clears the typed text {#resets} The remembered characters are thrown away, and you start a new word, when: - you press Backspace, Escape, Delete, an arrow key, Home, End, Page Up, Page Down or a function key, or any key that doesn't type a character; - you press any key while Ctrl, Alt or Win is held. A shortcut is never typing, so Alt+Tab or Ctrl+Enter right after an abbreviation never expands it; - you click any mouse button; - you switch to another window, or the keyboard focus moves to another field that is a window of its own; - a script types or presses keys; - you type more characters than the longest typed text you have set up, without a boundary. Focus moving between fields inside one window, as on a web page, doesn't clear them unless you turn on **Start over when focus moves inside a window** on the **Settings** tab. It is off by default because the suggestion lists of address bars move that focus on nearly every keystroke as you type. The same setting applies to [autocorrect](https://input.observer/help/manual-autocorrect). An editor's own completion list, such as Notepad++'s, never clears them: the keys still go to the editor. ## What happens when it expands {#expanding} When a boundary completes a typed text that has a replacement for the window in front: 1. The boundary key is held back from the program for now. 2. The typed text is erased with one Backspace per character. 3. The replacement goes in. 4. The boundary key goes in right after the replacement, while **Type the key that ended it** is on (the default). An Enter or Tab boundary therefore acts on the finished text: a chat program sends the replaced message, and a form moves to the next field only after the text is complete. Off, the key only makes the text expand and is never typed: `btw` Space gives "by the way" with no space. Keys you type while this happens are held and typed afterwards, in order, so they can't land in the middle of the replacement. If the replacement takes long to start (more than half a second with nothing sent) or holds keys for 10 seconds in all, the held keys are let go. Typing is paced by **Typing delay** on the **Scripts** page (Advanced mode; default 30 ms between keystrokes). Some programs, such as Notepad on Windows 11, scramble text that arrives with no pause ([Scripts settings](https://input.observer/help/manual-scripts-settings)). ## Types {#types} | Type | What it does | Use it for | | --- | --- | --- | | **Text** | Types the replacement as keystrokes. | Short text. Works almost everywhere; long text takes a moment to type. | | **Text via clipboard** | Puts the text on the clipboard and pastes it with Ctrl+V. | Long text and text with line breaks. Instant. | | **RTF** | Pastes formatted text (Rich Text Format). | Formatting in word processors and mail programs. | | **HTML** | Pastes an HTML fragment. | Formatting in browsers, web mail and editors that take HTML. | | **Steps** | Runs steps, edited as on the **Actions** page ([Steps](https://input.observer/help/steps)). | Anything a few steps do: press keys, type text in parts, work with windows. | | **Script** | Runs a script, edited as on the **Actions** page. | Text worked out when you type it, such as today's date in your own format. | | **AutoHotkey** | Runs an AutoHotkey v2 script ([Action engines](https://input.observer/help/manual-action-engines)). | An AutoHotkey script you already have. Offered while AutoHotkey is turned on in General settings, or when the replacement already uses it. | For **RTF** and **HTML**, **Paste from clipboard** stores exactly what you copied: copy the formatted content in another program first. The page shows a **Preview**. The HTML preview needs the Microsoft Edge WebView2 runtime; without it the page says so, and the replacement still works. RTF source typed by hand can use any character directly; it is written as RTF's own `\u` escape for you. RTF and HTML replacements also put a plain-text copy on the clipboard, so a program that only takes plain text pastes the words. Changing the type keeps what you had while the configuration window is open: steps of your own come back when you switch to **Steps** again, even after a look at **Script**, **AutoHotkey** or one of the text types, and the **Script** and **AutoHotkey** text stay as they are. Once the window closes, only what was saved is left: a replacement saved as **Text** or another text type keeps no steps of your own. While the **Script** text is still empty, switching to **Script** from **Text** or **Steps** offers to turn the replacement into a script. A **Steps** replacement whose steps are exactly what **Text** or a clipboard type would make opens as that type the next time you select it. For **Steps**, **Script** and **AutoHotkey**, the card warns when the chosen type has nothing to run but another one does, and its button switches the type to the one that does. ### Cursor position {#cursor} In **Text** and **Text via clipboard**, `$|$` in the replacement marks where the cursor ends up. **Insert cursor position** puts it where the cursor is in the box. With `Dear $|$,` the replacement types "Dear ," and moves the cursor back between the space and the comma, ready for the name. - The cursor is moved with the Left arrow key, once per character after the mark. A line break, an emoji (also one built from several, such as a flag, a family or one with a skin tone) and a letter with accents count as one character each. - Only the first `$|$` counts. Any later one is typed as it is, and the page warns about it. - At most 10,000 characters can follow the mark. With more, the `$|$` doesn't move the cursor and is typed as it is, and the page warns about it. - While the replacement has a cursor position, **Type the key that ended it** is off and greyed out: the key would otherwise land where the cursor ends up. This holds for the **Steps** or **Script** the replacement turns into when you change its type, as long as they still press the arrow key after the text. If the key is on anyway, the page warns, and you can turn it off. - A `$|$` at the very end moves nothing; it only stops the ending key being typed, and it isn't kept in the replacement. In a field where the text runs right to left, such as Arabic or Hebrew, the Left arrow key moves the cursor forward through the text, so the cursor would end up in the wrong place. For such a field, turn on **Text runs right to left**, shown under the text box while the replacement has a cursor position: the cursor is then moved with the Right arrow key instead. The setting belongs to the replacement, since Input.Observer can't tell which way a field runs. ### Restore the clipboard {#clipboard} The three clipboard types replace what is on the clipboard. **Restore the clipboard afterwards** (on by default) saves the clipboard first and puts it back after the paste. In Advanced mode, **Wait before restoring (ms)** (default 150, 0 to 60,000) gives the program time to finish pasting first. If a program pastes your old clipboard content instead of the replacement, increase it. A cursor position moves the cursor right after the paste, before the wait. :::note **Advanced mode.** **Wait before restoring (ms)** is shown in Advanced mode only. ::: ## Which replacement runs {#scope} A typed text has no window under the pointer. It uses the **window in front** at the moment you type the boundary: 1. If the window belongs to an [ignore group](https://input.observer/help/manual-ignore-groups), nothing expands, and the boundary key reaches the program normally. 2. Otherwise the window's app group is tried first, if it applies in the active profile. Within the group, an enabled replacement or action whose own typed text is exactly what you typed runs first; only then is a capitalized form of one that follows capitalization tried. When two have the same typed text, or share a capitalized form, an action limited to fewer profiles runs ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks)). When neither is, only one of them runs, and the page warns about it and names which. 3. If the group has nothing for it, the Global group is tried, unless **Fall back to Global** is off for the group or on the **General** page ([Scope and fallback](https://input.observer/help/manual-scope-bubbling)). 4. If nothing matches, nothing happens: the boundary key reaches the program as you typed it. **Gestures work here** and **Hotkeys work here** on an app group don't affect text expansion. [Autocorrect](https://input.observer/help/manual-autocorrect) also acts when you finish typing a word. When the same key completes a typed text that has a replacement or action for the window in front, text expansion wins: it runs, and the word isn't corrected. The **Autocorrect** page marks a typo that is also an enabled typed text. **Text expansion enabled** doesn't turn autocorrect on or off, and the autocorrect switch doesn't affect text expansion. ## The Settings tab {#settings} ```ui-mockup Card: When to expand ① Text expansion enabled: [x] — Expands typed text as you type: the replacements on this page and every action with a typed-text trigger. Off, none of them fire, and none are changed. ② Expand on Space: [x] Expand on Tab: [x] Expand on Enter: [x] ③ Expand on punctuation: [x] ④ Start over when focus moves inside a window: [ ] ``` - **Text expansion enabled** ① turns all text expansion on or off: the replacements on this page and every action with a typed-text trigger. Off, nothing expands and no replacement is changed. While it is off, the **Replacements** tab shows a notice, and the Actions page flags each typed-text trigger. - **Expand on Space** ②, **Expand on Tab** and **Expand on Enter** choose which of the three keys end typed text. They apply to every app group. Turning one off doesn't make the key ignored: - With **Expand on Space** off, a space becomes part of the typed text. A typed text can then contain spaces, such as `my addr`, and expand on a punctuation mark, Tab or Enter. - With **Expand on Tab** or **Expand on Enter** off, that key clears the typed text instead, like Backspace. - **Expand on punctuation** ③ makes the period, comma, exclamation mark and question mark (and their Arabic and full-width forms) end typed text. Off, they are part of it, as in StrokesPlus.net, so `e.g` can be a typed text that expands on Space, Tab or Enter. - **Start over when focus moves inside a window** ④ (off by default) clears the typed text when focus moves to another field of the same window, such as on a web page ([What clears the typed text](https://input.observer/help/manual-text-expansion#resets)). The same setting applies to autocorrect and is shown on its page too. :::note **Advanced mode.** **Expand on Space**, **Expand on Tab**, **Expand on Enter** and **Expand on punctuation** are shown in Advanced mode only. They are greyed out while **Text expansion enabled** is off. ::: ## When text doesn't expand {#limits} - **While the engine is disabled**, or paused by **Pause everything while focused** ([Ignore groups](https://input.observer/help/manual-ignore-groups#pause)), and while a gesture is being drawn. - **With an input method editor open.** With a Japanese, Chinese or Korean input method turned on in the window in front, typed keys are composition input and Space converts it, so nothing expands and the key goes to the input method. Switch it to direct input to expand. - **Characters typed with AltGr.** On layouts where AltGr types a character (such as `@` on a German keyboard), Windows reports it as Ctrl+Alt, which clears the typed text. Such characters can't be part of a typed text. - **Dead keys.** A dead key (an accent typed before its letter) clears the typed text, so accented characters composed that way can't be part of it. Characters your layout types with a single key work. - **Programs that erase differently.** The erase sends one Backspace per character. Combined characters and joined emoji count as one character each, and some programs erase them differently, so a typed text built from them may not erase cleanly. # Autocorrect URL: https://input.observer/help/manual-autocorrect > Replace a listed misspelling with its correction when you finish typing the word: turning it on, the list and its import formats, what counts as a word, capitalization, undo with Backspace, typed or pasted corrections, excluded apps, and the limits with password fields and input methods. Autocorrect fixes your own common misspellings. It recognizes a listed word when you finish typing it, erases it and types its correction in its place: type `qzx` and a space, and the program receives "quartz" and the space. It works in any program that takes typed text. The examples on this page use made-up words such as `qzx`; your list can hold words in any language that is written with spaces between words. Autocorrect is **off** until you turn it on, and its list starts empty: Input.Observer doesn't ship a list of misspellings. Import one you already have (a word list, or an AutoHotkey script of corrections), or add your own words one at a time. The **Autocorrect** page is in the **AUTOMATION** section, right after **Text expansion**, in Simple and Advanced mode alike. Its header shows how many corrections the list holds. ## Turn it on and add corrections {#start} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Autocorrect Page: Autocorrect (•) Corrections ( ) Settings ① Autocorrect enabled: [x] — Recognizes a listed misspelling when you finish typing the word, and types its correction instead. It works on its own: the Text expansion switch doesn't turn it on or off. ④ [‹Search typos and corrections…›] ③ [Add row] [Delete] ② [Import…] [Export…] [Clear all…] Table: | Typo | Correction | | qzx | quartz | | vbq | velvet | | rnr | rock'n'roll | | rck'n'rll | rock'n'roll | ``` 1. Open **Autocorrect** and turn on **Autocorrect enabled** ①. 2. Choose **Import…** ② to bring in a list ([Importing a list](https://input.observer/help/manual-autocorrect#import)), or **Add row** ③ to add one correction: a new empty row appears at the top of the list. Type the misspelling under **Typo** and what it should become under **Correction**. 3. Choose **Apply** in the save bar. The search box ④ shows only the rows whose typo or correction contains what you type, ignoring case. It filters a moment after you stop typing; Enter filters at once. To edit a row, double-click a cell or select it and start typing. To remove rows, select them (Ctrl+click and Shift+click select several) and choose **Delete** or press Delete; the list keeps its place, and the row after the ones you removed is selected. **Clear all…** empties the list after asking, and so does deleting every row at once (Ctrl+A, then Delete). Until you apply, **Discard** brings back everything you removed. The **Autocorrect enabled** switch is separate from text expansion's: **Text expansion enabled** doesn't turn autocorrect on or off, and this switch doesn't affect text expansion. ## Rows that can't be saved {#invalid} A row that can't be a correction is marked as not valid (a dot at its start and a tinted row), and **Apply** can't save your changes until you fix or delete it. To see why, point at the dot, or select the row: the line under the list says why, and a screen reader reads it with the row's cells. A row is not valid when: - **the typo isn't one word**: it holds a space, a hyphen, a period or anything else that isn't a letter, or an apostrophe that isn't between two letters ([What counts as a word](https://input.observer/help/manual-autocorrect#words)); - **the typo is a single character**. A typo needs at least two, since a one-letter word is never corrected; - **the typo holds a digit**. A word with a digit in it is never corrected, so a list can't hold one; - the typo is longer than 64 characters, or the correction longer than 256; - the correction is empty; - the correction is the same as the typo; - the same typo is listed twice (both rows are marked; delete one); - the list already holds 100,000 corrections: the rows added last are the ones marked. An empty row (both cells blank) is never saved and never blocks **Apply**. The whole list can be at most 8 MB as a file. Past that, **Apply** says the list is too large and saves nothing until you delete some rows. ## What counts as a word {#words} A word is a run of letters, typed one after another. Autocorrect looks a word up only when it ends: - **Letters of every script count**: Latin, Cyrillic, Greek, Arabic, Hebrew and the others. An accent typed as a separate mark stays part of its letter. - **An apostrophe between two letters is part of the word**, so `rnr` → `rock'n'roll` works, and `rck'n'rll` can itself be a typo. An apostrophe with no letter after it ends the word: `qzx'` corrects `qzx`. Both the straight (`'`) and the curly (`’`) apostrophe count. - **Digits.** A digit joins the word, and a word with a digit in it is never corrected. `mp3` and `h2o` are left alone, and so are `qzx2` and `2qzx`. - **Everything else ends the word**: Space, Tab and Enter, and every other character that isn't a letter or a digit — punctuation, hyphens, slashes, brackets, quotes, `@` and `_`. The word before it is checked on its own, so `(qzx` and `qzx:` are corrected, and in `velvet-qzx` the `qzx` is. - **The character that ended the word is always typed after the correction**: `qzx,` gives "quartz,". - **Enter and Tab correct the word too.** Turn off **Correct at Enter** or **Correct at Tab** on the **Settings** tab, and that key ends the word without correcting it: useful where Enter sends a message straight away, or Tab moves between the fields of a form. - **Backspace removes the last letter** of the word you're typing, so a word you fix as you type (`vbx`, Backspace, `q`) is still checked as `vbq`. A Backspace past the start of the word goes into the word before it. Erase that one back to where it began, and the word you type in its place is checked as usual: `vbx ` and four Backspaces, then `qzx `, gives "quartz ". Type a letter before getting there, and it continues the word in front of it, which isn't corrected. Backspace into a second word back, or into a word that ended with Enter or Tab, starts over. What you've typed of a word is forgotten, with nothing corrected, when you press an arrow key, Home, End, Escape, a function key or any key that doesn't type a character; when you press a key while Ctrl, Alt or Win is held; when you click; and when you switch to another window or field. Focus moving between fields inside one window, as on a web page, doesn't count unless **Start over when focus moves inside a window** is on (off by default; the suggestion lists of address bars move that focus as you type). An editor's own completion list, such as Notepad++'s, never counts as a move: the keys still go to the editor. The setting is on the **Settings** tab here and on the **Text expansion** page, and applies to both. After one of those, **the first word you type isn't corrected until a space or punctuation has been typed.** Autocorrect checks a word only when it knows where the word started, and after a click, an arrow key or a window change the text before the cursor could be the start of a longer word. From the next space or punctuation on, words are corrected as usual. To have that first word corrected too, for example a word typed at the start of a browser's address bar, turn on **Correct the first word after a click** on the **Settings** tab. Autocorrect still can't see the text before the cursor, so a typo typed right after an existing letter is corrected as well: after an `x`, typing `qzx` and a space gives "xquartz ". Some characters can't be part of a listed word: - **Characters outside the Basic Multilingual Plane**, such as emoji and the letters of a few historic scripts, end a word. - **A character typed with AltGr or a dead key** (an accent key that waits for the next letter) makes the word start over, so a word containing one is never corrected. ## Capitalization {#case} **Follow capitalization** (on the **Settings** tab, on by default) corrects two more ways of typing a typo, and capitalizes the correction the same way. With `qzx` → `quartz`: | You type | Result | | --- | --- | | `qzx` | quartz | | `Qzx` | Quartz: the first letter is capitalized, the rest as listed. | | `QZX` | QUARTZ | | `qZx` | Nothing: only these three forms are corrected. | "First letter" means the first character that has a capital form. Capitals follow the rules of your Windows language and region settings. With **Follow capitalization** off, a typo is corrected only when you type it exactly as listed. A typo listed with its own capital, such as `Qzx` → `Quasar`, wins over another row's capitalized form: typing `Qzx` then gives "Quasar". ## Undo with Backspace {#undo} With **Undo with Backspace** on (the default, on the **Settings** tab), pressing Backspace right after a correction puts back what you typed and removes the character that ended the word, as Backspace does: `qzx` Space → "quartz " → Backspace → "qzx", with the cursor right after it. Type a space or punctuation there and the word stays as you typed it. It undoes that one correction only: type `qzx` again, or change or erase the word and type it again, and it is corrected again. A word you never want corrected belongs off the list: delete its row. - **Not after Enter or Tab.** Enter may already have sent a message, and Tab may have moved to another field, so a Backspace there would land in the wrong place. After those, Backspace is an ordinary Backspace. - **Keep the ending character on undo** (off by default) puts the space or punctuation back too: "quartz " → Backspace → "qzx ". - **Only the first Backspace undoes.** A second one deletes as usual. - **Only right after.** Any other key, a click, a switch to another window or 10 seconds passing, and Backspace deletes as usual again. ## Typed or pasted {#paste} A correction replaces only what differs from what you typed: the letters the typo and its correction start with stay, and the rest is erased and typed again. `qzx` → `quartz` keeps the `q`, erases `zx` and types `uartz`. Each erased and typed character waits **Typing delay** on the **Scripts** page (Advanced mode; 30 ms by default), so a long correction takes a moment. **Paste corrections** (on the **Settings** tab, off by default) puts the correction on the clipboard and pastes it with Ctrl+V instead of typing it, which is faster for a long one. The correction is kept out of the Windows clipboard history (Win+V). A program that doesn't paste with Ctrl+V belongs in [Excluded apps](https://input.observer/help/manual-autocorrect#excluded). - **Restore the clipboard** (on by default) puts back what was on the clipboard after the paste. When corrections come one right after another, what you had before the first one goes back after the last. If you copy something in the meantime, your copy is kept and nothing is put back. - **Restore after** (150 ms by default, up to 5000 ms) is how long the clipboard waits, once the program has taken the paste, before it goes back. If a program still pastes what you had copied instead of the correction, raise it. - When the program doesn't take the paste within a second, or the clipboard is busy with another program, the correction is typed instead. The erased letters are never left missing. - Only the program you're typing in gets the correction from the clipboard. Clipboard managers and remote desktop tools that copy everything get nothing before it has taken the paste. ## Text expansion comes first {#text-expansion} When the key that ends a word also completes a [text expansion](https://input.observer/help/manual-text-expansion) that runs in that window, the text expansion runs and the word isn't corrected: with a text expansion whose typed text is `qzx`, typing `qzx` and a space runs the text expansion instead of giving "quartz". The list marks a typo that is also the typed text of an enabled text expansion with a dot (point at it for the reason), and the page says that text expansion takes those words. The two don't end words in quite the same way: a `;` or `:` ends a word for autocorrect, but can be part of a text expansion's typed text. When a text expansion has nothing to run in that window, autocorrect may still correct the word. ## Where it doesn't correct {#excluded} **Excluded apps** on the **Settings** tab lists the programs autocorrect leaves alone. It starts with common password managers and terminals: KeePass, KeePassXC, 1Password, Bitwarden, Windows Terminal, the classic console (`conhost.exe` and `cmd.exe`), PowerShell, mintty and PuTTY. - **Add a program** by typing its file name, such as `notepad.exe`, and choosing **Add**. Or press and hold the magnifier button beside it, then release it over the program's window. Names are compared ignoring case. - **Remove one** with the × on its chip. **Restore the default list** puts the starting list back. - An empty list is fine: then autocorrect works in every program. [Ignore groups](https://input.observer/help/manual-ignore-groups) apply too: nothing is corrected in a window an ignore group takes over. ## Password fields {#passwords} Autocorrect must not change a password, but **Input.Observer can't recognize every password field**: - **Recognized and left alone:** the classic Windows password box, as in many dialogs, installers and older programs. - **Not recognized:** password fields in web browsers, and in many modern programs (those built with WPF, WinUI or the Microsoft Store's app model, and Electron apps). **A listed typo typed in one of these is corrected**, just as in any other field. What keeps this rare: a word with a digit in it is never corrected, and most passwords hold one; the excluded apps start with the common password managers; and you can add any program whose password fields matter to you. Nothing typed on the Windows sign-in screen or in a User Account Control prompt reaches Input.Observer at all. ## Languages and input methods {#languages} Autocorrect suits languages written with spaces between words. Right-to-left languages such as Arabic and Hebrew work like any other; the Arabic comma and question mark end a word. - **With a Japanese, Chinese or Korean input method open, nothing is corrected.** What reaches Input.Observer then is what you type into the input method (romaji, pinyin, single Hangul letters), not the text it produces, and Space belongs to the input method. - **Chinese, Japanese, Thai, Lao, Khmer and Burmese** are written without spaces between words, so a word practically never ends where autocorrect looks. - **Korean** is written with spaces, but its syllables are put together by the input method and never reach autocorrect as typed. A typo in Chinese, Japanese or Korean characters does nothing; the list marks it and the page says so. ## Importing a list {#import} **Import…** opens a file, then shows what importing it would do: how many typos are new, how many are already listed with a different correction, how many are already listed as they are, and how many lines were skipped (with the first few line numbers). Then choose: - **Merge with the list** (the default): new typos are added, and a typo already listed takes the file's correction; - **Replace the list**: the list becomes the file's corrections, and the dialog says how many of your current typos would go. Nothing is saved until you choose **Apply**. A file larger than 8 MB isn't read. Two kinds of file are read, told apart by their content: a file is read as an AutoHotkey script when more of its lines are hotstrings than word-list lines, and a `.ahk` or `.ah2` file always is. Files are read as UTF-8. A file that isn't UTF-8 and has no UTF-8 characters in it is read in your Windows code page instead, as AutoHotkey v1 reads a script saved without a byte-order mark, and the summary says so; check that its accented letters look right after importing. In any other file, a line that isn't UTF-8 is skipped. ### A word list {#format} The list's own format, which **Export…** writes too: - plain text in UTF-8 (a byte-order mark is fine); - one correction per line: the typo, a Tab, then the correction; - blank lines and lines starting with `#` are ignored; - a line that breaks a rule in [Rows that can't be saved](https://input.observer/help/manual-autocorrect#invalid), has no Tab, or isn't UTF-8 is skipped; - when a typo is listed twice, the last line wins. ```text # My corrections qzx quartz vbq velvet rnr rock'n'roll ``` ### An AutoHotkey script {#ahk} The hotstrings of an AutoHotkey script (`.ahk` or `.ah2`), such as an AutoCorrect script, become corrections: - `::typo::correction` and `:options:typo::correction` lines are read, such as `::qzx::quartz` and `:*:vbq::velvet`. Every other line (code, comments, directives, hotkeys) is ignored and counted as "not a hotstring". - A hotstring with the `X` option (runs code) or `B0` (doesn't erase what you typed) is skipped. As in AutoHotkey, a later option turns an earlier one off again: `X0` and `B` don't skip. Every other option is dropped, so the hotstring becomes an ordinary whole-word correction. - Without the `T` or `R` option, a correction holding `{`, `}`, `^`, `!`, `+` or `#` is skipped, because AutoHotkey would send those as keys. - A replacement that continues over several lines (a section in parentheses below the hotstring, with or without text on the hotstring's own line), or a hotstring with code below it instead of a replacement, is skipped. - A correction with a backtick escape for a tab or a line break (`` `t ``, `` `n ``, `` `r ``) is skipped. The other backtick escapes are read as the character they stand for, and a `;` comment after a space is dropped. ## Exporting {#export} **Export…** saves the list as a word list ([A word list](https://input.observer/help/manual-autocorrect#format)), named `autocorrect.txt` unless you choose another name. Rows that aren't valid are left out, and the page says how many. ## Where the list is kept {#file} The list is its own file, `autocorrect.txt`, beside `config.toml` in your configuration folder ([The configuration file](https://input.observer/help/manual-config-file#location)), in the word-list format above, so you can back it up or edit it yourself. A missing file is an empty list. **Apply** saves it together with the configuration, and only when the rows changed: an edit you undo by hand, or an **Apply** of other pages, leaves a file you edited yourself as it is, comments included. - **Lines the engine can't use** in a file edited by hand are skipped, and the engine notes say how many and the first line number. Saving the list from this page writes only valid lines. - **With a password set**, the list is protected along with the configuration ([Security](https://input.observer/help/manual-security)), since it shows what you type. - **Reload Config** in the tray menu reads `autocorrect.txt` again when it is plain text. When the list is protected and the configuration file isn't, Reload Config keeps the list already loaded; **Apply** in this window, or a restart, picks up the new one. Two banners make the page read-only: - **The engine needs an update**: the running engine is an older version that can't share the list. The page is read-only until Input.Observer is updated, and **Apply** saves everything else. Changes you made to the list before the engine was replaced stay unsaved; **Discard** drops them. - **The autocorrect list can't be read**: the engine couldn't read `autocorrect.txt`, because it is protected with another password, larger than 8 MB, or damaged. Everything else in the window works as usual. # Ignored modifier keys URL: https://input.observer/help/manual-ignore-keys > Hold a key while you press the draw button to send a normal click instead of drawing a gesture. An ignored modifier key lets one press of a draw button through as an ordinary click. Hold the key, press the draw button, and the program under the pointer gets the press exactly as if Input.Observer weren't running: a right-click opens its context menu, a right-drag does whatever that program does with one. No gesture starts, no trail is drawn, and nothing is matched. The default ignored modifier key is **Ctrl**. With it, Ctrl+right-click and Ctrl+right-drag always reach the program. ## Choose the keys {#choose} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: General Page: General Card: Starting a gesture Draw buttons: [ ] Left button [x] Right button [ ] Middle button [ ] Side button 1 [ ] Side button 2 ① Ignored modifier keys: [x] Ctrl [ ] Shift [ ] Alt — Holding any of these keys when you press a draw button or the draw key skips gesture capture for that press. ``` 1. Open the **General** page. 2. In the **Starting a gesture** card, click the keys you want in **Ignored modifier keys** ①. Click a selected key again to remove it. 3. Save. ## The rules {#rules} - **Only Ctrl, Shift and Alt** can be ignored modifier keys. Win can't. A configuration file that names any other key has it removed when it loads. - **None, one or several.** With none selected, every draw-button press can start a gesture. - **Any one is enough.** With several selected, holding any one of them ignores the press. Releasing some of them doesn't matter while another one is still held. - **Either side.** Left and right Ctrl both count as Ctrl, and so on. - **Checked only at the press.** What counts is what you hold at the moment you press the draw button. Pressing the key after a gesture has started doesn't cancel it; it counts as a modifier pressed during the gesture ([Modifiers and timing](https://input.observer/help/manual-modifiers-timing)). - **One press at a time.** Each press of the draw button is checked on its own. There is nothing to switch on or off. - **The draw key too.** Holding an ignored modifier key when you press the draw key lets the key through the same way: the program gets, say, Ctrl+Caps Lock ([The draw key](https://input.observer/help/manual-drawing#draw-key)). An ignored modifier key affects only the press of a draw button. It does not affect hotkeys, text expansion or global events. A mouse-button global event for that button still fires ([Global events](https://input.observer/help/manual-global-events)); **Draw button released** does not, because no gesture started. ## Ignored keys as gesture modifiers {#as-modifiers} A key can be an ignored modifier key and a gesture modifier at the same time, with one limit: | Timing of the gesture trigger | Can it use an ignored modifier key? | | --- | --- | | **Before** | No. Holding the key when you press the draw button stops the gesture from starting, so this trigger could never match. The modifier picker refuses the key and says why. | | **After** | Yes. Press the key after the gesture has started. | | **Either** | Yes, but only the "pressed during" half can ever match. | Example, with Ctrl ignored and a **Swipe left** trigger that needs **Ctrl**, **Either**: - Hold Ctrl, then press the right button: the right-click goes to the program. No gesture. - Press the right button, start drawing, press Ctrl, finish: the trigger matches. Simple mode doesn't show timing, and a new trigger uses **Either**. So in Simple mode a gesture with Ctrl as a modifier works only when you press Ctrl after you start drawing, as long as Ctrl is an ignored modifier key. ## Other ways to pass a click through {#other-ways} - To leave a whole program alone, use an [ignore group](https://input.observer/help/manual-ignore-groups). - To leave a part of the screen alone, use an [exclusion zone](https://input.observer/help/manual-exclusion-zones). - To pause everything, turn off **Enabled** on the tray menu ([The tray icon](https://input.observer/help/manual-tray)). - To let only the next draw-button press through, run an action that calls the `EngineDisableNextGesture` builtin, for example from a hotkey ([Builtins](https://input.observer/help/script-builtins)). # Touch and pen URL: https://input.observer/help/manual-touch > Input.Observer doesn't support touch or pen input directly; what reaches it is what Windows turns into mouse input. Input.Observer doesn't support touch or pen input. It doesn't recognize finger strokes, multi-finger gestures or pen buttons. It reacts to mouse buttons, the mouse wheel and the keyboard. ## When touch or pen works anyway {#translated} When the program under your finger or pen doesn't handle touch or pen input itself, Windows turns compatible input into the matching mouse input for that program. Input.Observer sees that mouse input like any other: a pen tip pressed on such a program acts as the left mouse button. Whether and how Windows does this depends on the program and on your device, so it isn't something to rely on. If you do want to draw gestures with a pen this way, add **Left button** to **Draw buttons** on the **General** page, as that row's description suggests for pens and tablets with no separate secondary button. The left button is the one you click with all the time, so with it as a draw button: - A tap or click that doesn't move is passed on as a normal click. - A drag is a gesture. A drag that matches no action does nothing, so dragging to select text or move a window doesn't work directly. Hold still for the **Cancel timeout** (**Ending a gesture** card on the **General** page; default 500 ms) before you drag: the press is then passed on and the drag works as usual. - Hold an [ignored modifier key](https://input.observer/help/manual-ignore-keys) to make one press an ordinary click or drag, and use [ignore groups](https://input.observer/help/manual-ignore-groups) and [exclusion zones](https://input.observer/help/manual-exclusion-zones) for programs and screen areas where the left button should always work normally. See [Drawing a gesture](https://input.observer/help/manual-drawing) for how a press becomes a gesture or a click. # Actions URL: https://input.observer/help/manual-actions > What an action is, and the pages that build, store, record and test actions. An **action** is the unit of work in Input.Observer. It has two halves: - **Triggers** say when it runs: a gesture you draw, the wheel you turn while you hold a draw button, a second mouse button you click while you hold a draw button, a hotkey you press, or text you type. - **What it does** is a list of steps, a script, or an AutoHotkey script. Every action belongs to one app group, which decides in which programs its triggers work. Inside a group, when the triggers of several actions match, the most specific one runs ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks)). ## The pages in this section {#pages} | Page | What it is for | | --- | --- | | [The Actions page](https://input.observer/help/manual-action-editor) | Create, edit, order, enable and delete actions and their triggers. | | [Steps, Script and AutoHotkey](https://input.observer/help/manual-action-engines) | The three ways an action can run, and switching between them. | | [Snippets](https://input.observer/help/manual-snippets) | Reusable steps or scripts that actions call by name. | | [Macro recorder](https://input.observer/help/manual-recorder) | Record what you do with the mouse and keyboard, then reuse it as steps. | | [Sandbox](https://input.observer/help/manual-sandbox) | Try steps on pretend windows, without touching your real desktop. | | [Global events](https://input.observer/help/manual-global-events) | Actions that run on fixed events instead of triggers. | To build what an action does without writing code, see [Steps](https://input.observer/help/steps). To write it as code, see the [Script language reference](https://input.observer/help/script). :::tip The quickest way to make a first action is **Quick create…** in the configuration window ([Make a gesture do something](https://input.observer/help/qs-new-action)). It builds the trigger and the steps for you, and you can change both on the Actions page afterwards. ::: - [The Actions page](https://input.observer/help/manual-action-editor) — Create, edit, enable and delete actions, and give them gesture, wheel, button chord, tap sequence, hotkey and text triggers. - [Steps, Script and AutoHotkey](https://input.observer/help/manual-action-engines) — The three ways an action can run, when to choose each, and what happens when you switch. - [Snippets](https://input.observer/help/manual-snippets) — Your library of reusable steps and scripts: naming, categories, calling one from an action, and what deleting one affects. - [Macro recorder](https://input.observer/help/manual-recorder) — Record what you do with the mouse and keyboard, then reuse the recording as steps in a snippet or an action. - [Sandbox](https://input.observer/help/manual-sandbox) — Try steps or a script on a pretend desktop with stand-in windows, and watch the run replayed, without touching your real desktop. - [Global events](https://input.observer/help/manual-global-events) — Scripts that run when something happens anywhere: a mouse button, the wheel, a gesture's outcome, startup, shutdown, hardware and focus changes. # The Actions page URL: https://input.observer/help/manual-action-editor > Create, edit, enable and delete actions, and give them gesture, wheel, button chord, tap sequence, hotkey and text triggers. The **Actions** page lists the actions of one app group at a time and edits the one you select. The configuration window opens on this page. ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Actions ② List: Actions [search box] - Maximize or restore — Swipe Up (selected) - Close tab — Ctrl+W - Next screen — Swipe Right (disabled) [+ New] Page: Actions ① App group: [Global ▾] ③ Card: Maximize or restore [Maximize or restore] [x] Enabled [Windows] ④ Card: Triggers [+ Gesture] [+ Wheel] [+ Hotkey] [+ Text expansion] Trigger (GESTURE): Swipe Up · Any draw button (collapsed) ⑤ Card: What it does Steps: 1. Target window → $window 2. If WindowIsMaximized($window) 3. Restore window $window 4. Otherwise 5. Maximize window $window 6. End if ``` ① The app group whose actions the list shows. ② The actions, by category and name. ③ The action's name, switch and labels. ④ Its triggers. ⑤ What it does. ## Choosing an app group {#app-group} An action always belongs to exactly one app group. The **App group** drop-down at the top of the page picks which group's actions the list shows: - **All** first, then the Global group, then every enabled app group A–Z, then the disabled groups A–Z. Ignore groups are not listed, because they hold no actions. - The page opens on the Global group, so a new action never lands in another group by accident. - With **All**, every group's actions are listed under a heading with the group's name, in the drop-down's order: Global first. **+ New** then asks you to select an app group first, because a new action needs a definite group. - If the group you are viewing is deleted or turned into an ignore group, the page falls back to **All**. How a window is matched to an app group is described in [App groups](https://input.observer/help/manual-app-groups). ## The action list {#list} The list shows the group's actions in sections, one per **Category**, A–Z, with the actions that have no category last. Inside a section, actions are listed by name. - Click a section's heading to collapse or expand it; the heading shows how many actions it holds. With **All**, a group's heading collapses the whole group the same way. Right-click any heading for **Expand all** and **Collapse all**. The window remembers which sections you collapsed. - A group whose actions have no category at all is one list A–Z, with no sections. - While the **Filter…** box has text, every action that matches is shown, even in a collapsed section. - The order of the list doesn't decide which action runs. When the triggers of two actions in the same group fit, the more specific one runs: one limited to fewer region cells, to fewer profiles, to one draw button, or to a modifier timing wins over one that isn't. The full rules are in [Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks). - Each row shows the action's name and up to two triggers: - The first mouse trigger (a gesture, wheel, button chord or tap sequence trigger, after a mouse icon) with any modifiers it needs held as small keys, for example **Ctrl** or **LMB** for the left button. Hover a short key to see its full name. - The first keyboard trigger (a hotkey's keys after a keyboard icon, or the typed text of a text expansion), whatever its place in the trigger list. - A count such as **+1** after the last one when the action has more triggers. - A disabled action stays in its place, dimmed, with **· disabled** after its name. - A row with a conflict is marked; select it to see the details at the top of the editor. - The **Filter…** box searches names, hint notes, notes, categories, triggers and the text of what the action does. - An action whose only trigger is a typed text is listed on the **Text expansion** page, not here, whatever it does. It stays here when it is also limited to profiles or runs in a script language a plugin adds, since that page can't show those. An action you are editing stays in this list until you select another one, even when an edit (removing its other triggers) moves it to the **Text expansion** page ([Text expansion](https://input.observer/help/manual-text-expansion)). ### Creating, duplicating and deleting {#create-delete} - **+ New** adds an action named **New action** to the selected group. It has no triggers and no steps. - The duplicate button beside **+ New** copies the selected action, triggers and all, named "*name* (copy)", in the same category. - The delete button on a row deletes that action after a confirmation that says how many triggers and steps go with it. Nothing takes effect until you apply your changes ([The configuration window](https://input.observer/help/manual-config-window)). ## The action card {#action-card} The first card is the action itself. Its header shows the app group the action belongs to. | Field | What it does | | --- | --- | | **Name** | The name in the list, the hint window and the logs. Names don't have to be unique. | | **Enabled** | Off means the action never runs. Its triggers still appear here, and nothing is lost. | | **Category** | The section the action is listed under, in this window only. It suggests the categories already in use. The engine ignores it. | | **Hint note** | Shown under the action's name in the hint window while its gesture is drawn ([Hints and messages](https://input.observer/help/manual-hints-messages)). | **Advanced mode.** **Notes**, under **Category**, opens a box for your own text about the action, such as what it's for or where its script came from. Nothing else shows it, not even the hint window. It opens by itself for an action that has notes. ### Moving or copying to another group {#move-copy} **Move or copy** opens a menu with **Move to app group** and **Copy to app group**, each listing every other app group. The action (or a copy with the same name) is added to that group, and the page follows it. Region cells belong to a group's grid. When the other group's grid has a different shape, a **Clear region cells?** confirmation says the cells chosen on this action's gesture triggers will be cleared. **Clear and continue** moves or copies the action; cancelling leaves everything as it was. ## Problems with an action {#problems} Under the action card, a banner appears for each problem with the action's triggers. Each banner names the other action involved, if there is one, and says which one wins. The page reports: - another action in the same group whose trigger fits the same gesture, wheel turn, button chord, tap sequence, keys or typed text and is just as specific (the banner names the one that runs); - a button chord whose other button draws gestures but has to be held first, which never runs; - a button chord set to a key with no key chosen; - a tap sequence with a button that isn't a draw button, which never runs, and a tap sequence while **Tap sequences** is off on the **General** page; - the same keys used by a reserved hotkey in one place and a hotkey that isn't reserved in another (both may run); - a hotkey on the draw key, which runs only where that key doesn't start a gesture; - a hotkey with no key, a hotkey on the stop-all shortcut, a reserved hotkey on Ctrl+Break, exactly Ctrl+Alt on a character key (AltGr on many keyboard layouts), and keys another program holds; - a gesture that isn't in the library, has no drawings, needs a draw button that isn't turned on, or has no region cell (or a cell outside the grid) in a group that uses regions; - typed text that can never expand, and text expansion being turned off. What each rule means is explained on [Hotkeys](https://input.observer/help/manual-hotkeys), [Text expansion](https://input.observer/help/manual-text-expansion), [Drawing a gesture](https://input.observer/help/manual-drawing) and [Regions](https://input.observer/help/manual-regions). ## Triggers {#triggers} The **Triggers** card holds one card per trigger. **+ Gesture**, **+ Wheel**, **+ Button chord**, **+ Tap sequence**, **+ Hotkey** and **+ Text expansion** add a trigger of that kind at the end; it opens ready to edit. An action runs when any of its triggers matches. ```ui-mockup Card: Triggers If two of these triggers fit the same input, the more specific one is used, with its own settings such as Held modifier keys. If they're just as specific, the first one is used. ① Trigger (GESTURE): Swipe Up · Any draw button [gesture drawing: Swipe Up] Draw button [x] Any draw button [ ] Right button Modifiers [ ] Ctrl [ ] Shift [ ] Alt [ ] Win ② Trigger (HOTKEY): Ctrl+Alt+M · Reserved with Windows (collapsed) ``` - Each card shows its kind (**GESTURE**, **WHEEL**, **CHORD**, **TAPS**, **HOTKEY** or **EXPAND**) and a one-line summary. On a closed gesture, wheel or chord card, highlighted chips show what limits when it fires: the modifiers to hold (with a gesture's **Modifier timing** when it is not **Either**) and, for a gesture or wheel trigger, a specific draw button. - Only one card is open at a time ①. Click a closed card ② to open it; the open one closes. - Drag a card by its handle, or press Alt+Up / Alt+Down on its header, to change the order. When two triggers fit the same input, the more specific one is used, and the order only breaks ties ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling#tie-breaks)). The same action runs either way, but the trigger that is used decides which settings apply: its **Held modifier keys** and, for a hotkey, its **Swallow the final key**. - An action with no triggers shows **This action has no triggers, so nothing can run it.** in place of the note above the cards. - The two buttons on a card duplicate it or remove it. ### Gesture triggers {#gesture-trigger} | Field | What it does | | --- | --- | | **Gesture** | The shape. Click the picture to open **Choose a gesture**, which lists the library with a search box. **New…** draws a new shape instead: give it a name and draw it three times the same way. If the drawings look like a gesture you already have, a warning names it and **Use it** picks that one; another warning says when the drawings don't match each other. **Save** adds the gesture to the library and uses it. A new gesture trigger starts with the first gesture in the library. | | **Draw button** | **Any draw button**, or one specific button. Only the buttons turned on as draw buttons on the **General** page are offered, plus **Draw key** while a draw key is set ([The draw key](https://input.observer/help/manual-drawing#draw-key)), but not a **Combinations only** button, which never draws ([Combinations only](https://input.observer/help/manual-drawing#combinations-only)). **Any draw button** includes the draw key. | | **Modifiers** | Keys or mouse buttons that must be held for the gesture to count. | The rules behind these fields are in [Drawing a gesture](https://input.observer/help/manual-drawing), [The gesture library](https://input.observer/help/manual-gesture-library) and [Modifiers and timing](https://input.observer/help/manual-modifiers-timing). :::note **Advanced mode.** A gesture trigger also has **Timing** under **Modifiers** (whether the modifier is held before drawing, while drawing, or either), **Held modifier keys** once a keyboard modifier is chosen (**Release, then restore** or **Leave held**), and **Regions** when the app group uses regions: the grid cells the gesture applies to ([Regions](https://input.observer/help/manual-regions)). ::: ### Wheel triggers {#wheel-trigger} A wheel trigger runs the action while you hold a draw button and turn the mouse wheel: once for each wheel tick. Use it to zoom, page through a document or change a value without letting go. ```ui-mockup Card: Triggers Trigger (WHEEL): Wheel up Direction ① (•) Wheel up ( ) Wheel down ( ) Wheel left ( ) Wheel right Draw button ② [ ] Any draw button [x] Right button Modifiers ③ [ ] Ctrl [ ] Shift [ ] Alt [ ] Win ``` | Field | What it does | | --- | --- | | **Direction** ① | **Wheel up**, **Wheel down**, **Wheel left** or **Wheel right**. Left and right are a tilt wheel or a sideways scroll. To run an action in both directions, give it two wheel triggers. | | **Draw button** ② | The button you hold, or **Any draw button**, which includes the draw key. The same choice as a gesture trigger's. While the middle button or a side button isn't a draw button, a note under the choice says you can hold it instead and links to the **General** page, where you turn it on ([Use the side buttons as extra buttons](https://input.observer/help/steps-recipes#side-buttons)). | | **Modifiers** ③ | Ctrl, Shift, Alt or Win: the keys that must be held when the wheel turns, exactly: a trigger with **Shift** doesn't run while you hold Shift and Ctrl, and one with no keys doesn't run while you hold any of them. It doesn't matter whether you pressed them before or after the draw button. | Rules: - Hold the draw button over the program, then turn the wheel. The action runs once for each tick. A wheel or touchpad that scrolls in smaller steps runs it once for each tick's worth of turning. - The program that counts is the one you pressed over, and app groups and the Global group apply as they do for a gesture ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling)). - Once a wheel trigger has run, the press is used up: letting go runs no gesture, gives no click back (so no context menu opens), and **Nothing matched** doesn't run. Moving the mouse while you turn the wheel draws no trail and shows no hint. - Holding still between ticks is fine: once a wheel trigger has run, the cancel timeout no longer applies. Before the first tick it does: if you hold still for longer than the cancel timeout before you turn the wheel, the press goes back to the program. If that happens to you, raise the app group's cancel timeout ([App groups](https://input.observer/help/manual-app-groups#advanced)). - A tick that runs no wheel trigger counts as a wheel modifier for the gesture ([Wheel turns](https://input.observer/help/manual-modifiers-timing#wheel)). - The runs for the ticks happen one after another, in order, never at the same time. If ticks arrive faster than the action finishes, up to 8 wait their turn; ticks beyond that are dropped. - Each run is a complete run of the action, with its before and after actions ([Before and after actions](https://input.observer/help/manual-before-after)), and the keys go to the program you pressed over (**Activate the window under the gesture**, [Drawing a gesture](https://input.observer/help/manual-drawing#after-match)). - A script reads the tick with `ContextGetWheelDelta` (120 up or right, -120 down or left) and the draw button with `ContextGetStrokeButton`. - Of two wheel triggers in one app group that fit the same tick, the more specific one runs: one limited to fewer profiles, then one for a specific draw button. When they are just as specific, the page marks the pair and names the one that runs. - Wheel triggers don't use regions: in an app group with regions on, a wheel trigger works in every cell. A worked example: [Zoom with the right button and the wheel](https://input.observer/help/steps-recipes#wheel-zoom). :::note **Advanced mode.** A wheel trigger also has **Held modifier keys** once a key is chosen (**Release, then restore** or **Leave held**). With **Release, then restore**, the keys are released before each run and pressed again after it if you still hold them ([Held modifier keys](https://input.observer/help/manual-modifiers-timing#held)). ::: ### Button chord triggers {#chord-trigger} A button chord trigger runs the action when you press two mouse buttons together, without drawing: for example, hold the right button and click the left one. StrokesPlus.net calls these rocker gestures. It can also run the action when you hold a draw button and press a key ([Hold a button, press a key](https://input.observer/help/manual-action-editor#key-chord)). ```ui-mockup Card: Triggers Trigger (CHORD): Hold Right button, click Left button Draw button ① [ ] Any draw button [x] Right button Then press ② (•) Another button ( ) A key Other button ③ (•) Left button ( ) Right button ( ) Middle button ( ) Side button 1 ( ) Side button 2 Modifiers ④ [ ] Ctrl [ ] Shift [ ] Alt [ ] Win ``` | Field | What it does | | --- | --- | | **Draw button** ① | The button you hold, or **Any draw button**, which includes the draw key. The same choice as a gesture trigger's, with the same note about the middle and side buttons as a wheel trigger's. | | **Then press** ② | **Another button**, or **A key** ([Hold a button, press a key](https://input.observer/help/manual-action-editor#key-chord)). | | **Other button** ③ | The button you click while you hold the draw button. It can't be the draw button itself: choosing that button for one field moves the other. | | **Modifiers** ④ | Ctrl, Shift, Alt or Win: the keys that must be held at the chord, exactly, as for a wheel trigger. | Rules: - Hold the draw button over the program, then click the other button. The action runs at once. Click the other button again while you still hold the draw button, and it runs again. - Neither click reaches the program, so no context menu opens and nothing is clicked under the pointer. - Click before you move the mouse. Once you have moved far enough to start a gesture, the other button is a [modifier](https://input.observer/help/manual-modifiers-timing#buttons) for that gesture instead. That way a chord and a gesture that uses the same button as a modifier both work. - Click before the cancel timeout: if you hold the draw button still for longer than that first, the press goes back to the program ([Cancel timeout](https://input.observer/help/manual-drawing#cancel-timeout)). - A chord that no trigger uses changes nothing: the other button counts as a modifier, and a draw button you let go without moving is a normal click. - The program that counts is the one you pressed over, and app groups and the Global group apply as they do for a gesture ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling)). - Each run is a complete run of the action, with its before and after actions. Runs happen one after another, in order, never at the same time. - A script reads the draw button with `ContextGetStrokeButton`, and where the pointer was with `ContextGetEventX` and `ContextGetEventY`. - Of two chord triggers in one app group that fit the same chord, the more specific one runs: one limited to fewer profiles, then one for a specific draw button, then one with a set **Order** over **Either order**. When they are just as specific, the page marks the pair and names the one that runs. - Button chords don't use regions: in an app group with regions on, a chord trigger works in every cell. A worked example: [Middle-click with the right and left buttons](https://input.observer/help/steps-recipes#chord-middle-click). :::note **Advanced mode.** A button chord trigger also has **Order**: - **Draw button first** (the default): hold the draw button, click the other button, as above. - **Other button first**: hold the other button, then click the draw button without moving. The action runs when you let go of the draw button. The other button's own press and release still reach the program, because nothing could know a chord was coming when you pressed it. The other button can't be a draw button for this order: pressing it would start its own gesture, and the page marks the trigger. - **Either order**: both. It also has **Held modifier keys** once a key is chosen, as a wheel trigger does. ::: ### Hold a button, press a key {#key-chord} With **Then press** set to **A key**, a button chord trigger runs the action when you hold a draw button and press a key, without drawing: for example, hold the side button and press F. A click of the side button on its own still reaches the program as a click. | Field | What it does | | --- | --- | | **Draw button** | The button you hold, as above. | | **Key** | Click it, then press the key, together with any of Ctrl, Shift, Alt or Win that must be held, as for a hotkey's key combination. Ctrl, Shift, Alt and Win can't be the key itself. The held keys must match exactly. | Rules: - Hold the draw button over the program, then press the key. The action runs at once. Press the key again while you still hold the button, and it runs again. Holding the key down runs it once. - The key never reaches the program, and letting go of the button gives no click back. - The button always comes first, so there is no **Order**: a key you press before the button has already reached the program. - Press the key before you move the mouse and before the cancel timeout, as for a button chord. - While you hold a draw button, a key that no trigger uses is held back as always ([Drawing a gesture](https://input.observer/help/manual-drawing#while-drawing)). - A key you were already pressing when you pressed the button runs nothing until you press it again. - The action runs as a hotkey's would: an AutoHotkey script gets the key and the keys held with it ([Action engines](https://input.observer/help/manual-action-engines)), and `ContextGetStrokeButton` returns the draw button. - Of two key chords in one app group that fit the same keys, the more specific one runs: one limited to fewer profiles, then one for a specific draw button. When they are just as specific, the page marks the pair and names the one that runs. ### Tap sequence triggers {#sequence-trigger} A tap sequence trigger runs the action when you quickly tap one draw button and then another, or the same one twice: for example, tap the back side button, then the forward one. With **Second tap** set to **None**, it is a single tap: one tap of the button runs the action instead of clicking. A tap is a press you let go without moving the mouse. Tap sequences are off until you turn on **Tap sequences** on the **General** page ([Starting a gesture](https://input.observer/help/manual-general#starting)), because they hold back some clicks (see the rules below). While the switch is off, the page marks every tap sequence trigger. ```ui-mockup Card: Triggers Trigger ([TriggerCardSequenceBadge]): Tap Side button 1, then Side button 2 First tap ① [ ] Right button [x] Side button 1 [ ] Side button 2 Second tap ② [ ] None [ ] Right button [ ] Side button 1 [x] Side button 2 Modifiers ③ [ ] Ctrl [ ] Shift [ ] Alt [ ] Win ``` | Field | What it does | | --- | --- | | **First tap** ① | The button you tap first. Only draw buttons are offered: a button that isn't one can't be held back. | | **Second tap** ② | The button you tap next, which can be the same one, or **None** for a single tap. A new trigger starts as a double tap of the first draw button. | | **Modifiers** ③ | Ctrl, Shift, Alt or Win: the keys that must be held at the last tap, exactly, as for a wheel trigger. | Rules: - Tap the first button, then the second within the time set by **Tap sequences** (300 milliseconds by default). The action runs when you let go of the second. Neither tap's click reaches the program. - **A single tap** runs the action when you let go of the button, and its click doesn't reach the program. Holding the button for the wheel, another button or a key still works as before; only a tap runs it. Where no single tap fits, such as in another program or with other keys held, the button clicks as usual. - **Clicks arrive late.** While the switch is on, a tap of a button that starts a two-tap sequence doesn't reach the program at once: Input.Observer holds its click until the second tap could have followed. When no second tap comes, the click goes to the program then, at the point where you tapped, or the button's single tap runs. A button that starts no two-tap sequence clicks, or runs its single tap, at once. - **Other input can overtake the held click.** A click of a button that isn't a draw button, or a key you press, while a click is held back reaches the program first. - A double-click of a button that starts a tap sequence still reaches the program as a double-click, unless the double tap itself is a tap sequence. - If the second press draws a gesture, or runs a wheel or button chord trigger, the held click goes to the program first, and the second press does what it always does. - Stop all actions, or reloading or disabling Input.Observer, while a click is held back drops that click. - A script reads the first tap's button with `ContextGetStrokeButton`, and where you let go of the last tap with `ContextGetEventX` and `ContextGetEventY`. For a single tap, `ContextGetStrokeButton` is the button you tapped. - A button that isn't a draw button never takes part: the page marks such a trigger. - The program that counts is the one you tap over, and app groups and the Global group apply as they do for a gesture ([Scope and fallback rules](https://input.observer/help/manual-scope-bubbling)). - Of two tap sequences in one app group that fit the same taps, the one limited to fewer profiles runs. When they are just as specific, the page marks the pair and names the one that runs. - Tap sequences don't use regions, and they don't run while you train gestures. :::note **Advanced mode.** A tap sequence trigger also has **Held modifier keys** once a key is chosen, as a wheel trigger does. ::: ### Hotkey triggers {#hotkey-trigger} **Key combination** captures the keys you press: click it, then press the combination. The rules are in [Hotkeys](https://input.observer/help/manual-hotkeys). :::note **Advanced mode.** A hotkey trigger also has **Registered** (on by default: reserved with Windows so no other program receives it; off: recognized without reserving it), **Swallow the final key** (only when not reserved), and **Held modifier keys**. In Simple mode every hotkey is reserved with Windows. ::: ### Text expansion triggers {#expansion-trigger} **Typed text** is what you type to run the action. It expands when followed by Space, Tab or Enter, or by a period, comma, exclamation mark or question mark, as the **Text expansion** page's **Settings** tab allows. Below it: - **Type the key that ended it** (on by default): the key that ended the typed text is typed after the action. Off, it only runs the action. It is off and greyed out while the action moves the cursor back for a cursor position: its replacement, steps or script presses the Left arrow key after the text. If it is on anyway, a warning says so, and you can turn it off. - **Follow capitalization**, shown when the action types or pastes plain text as the **Text expansion** page writes it: the capitalized and all-capitals forms of the typed text run it too, with the text capitalized to match. Shown with a warning when it is on for any other action, so you can turn it off. The full rules are in [Text expansion](https://input.observer/help/manual-text-expansion). ## What it does {#what-it-does} The **What it does** card holds the action's steps or script. - **Written as** chooses **Steps**, **Script** or **AutoHotkey**. Each keeps its own content, and only the selected one runs ([Steps, Script and AutoHotkey](https://input.observer/help/manual-action-engines)). - In Steps, you build the action from steps ([The Steps editor](https://input.observer/help/steps-editor)). - In Script or AutoHotkey, you type the code in an editor with completion and syntax colors. - In Script, a tip below the line shows the parameters of the call the cursor is in. **Show parameter tips** above the editor, or Ctrl+T in the editor, turns these tips off or on in every script editor at once. Esc hides the tip until you type again. - The button at the card's top-right corner expands the card to fill the page, and collapses it again. Esc also collapses it. In Simple mode, **Written as** appears only once the action already has a script or an AutoHotkey body. A new action in Simple mode is built from steps. ## Profile restriction {#profiles} :::note **Advanced mode.** The **Only in these profiles** card limits the action to the profiles you pick. In any other profile the action is skipped, as if it weren't there. Leave every profile unselected for the action to work in all of them. See [Profiles](https://input.observer/help/manual-profiles). ::: ## What Simple mode hides {#simple-mode} Simple mode hides the gesture modifier **Timing**, **Regions**, how a hotkey is detected, **Swallow the final key**, **Held modifier keys**, the profile restriction, and in the Steps editor the code view and each step's script name and signature help. Every kind of step, variables, conditions and loops included, can be added in either mode. Hidden settings keep their values and keep working. A banner at the bottom of the page counts the hidden settings, says when any of them is not at its default, and has a **Show advanced** button. # Steps, Script and AutoHotkey URL: https://input.observer/help/manual-action-engines > The three ways an action can run, when to choose each, and what happens when you switch. What an action does can be written three ways. **Written as**, on the **What it does** card of the **Actions** page, chooses which one runs. ```ui-mockup Card: What it does Written as ① (•) Steps ( ) Script ( ) AutoHotkey Each mode keeps its own content. Only the selected one runs. ``` | Mode | What it is | Choose it when | | --- | --- | --- | | **Steps** | A list of steps you pick and fill in, one row each. No code to type. | You want to build the action without writing code. Most actions fit: send keys, type text, move or close windows, wait, ask a question. | | **Script** | Input.Observer's own script language, typed in a code editor. | You need arithmetic, building text from pieces, loops that count with a variable, or anything Steps can't express. | | **AutoHotkey** | An AutoHotkey v2 script, run by AutoHotkey itself. | You already have AutoHotkey code, or need something only AutoHotkey does. | Steps and Script run inside Input.Observer and call the same builtins: Steps is a visual way to write what a script would. See [Steps](https://input.observer/help/steps) and the [Script language reference](https://input.observer/help/script). ## Each mode keeps its own content {#separate-bodies} An action holds a Steps body, a Script body and an AutoHotkey body side by side. Switching **Written as** ① changes which one runs. It never deletes the others, so you can switch back. If the mode you select is empty while another mode has content, a notice under the switch says that running the action does nothing, and offers a button to use the mode that has content. ## Switching from Steps to Script {#steps-to-script} When you switch from **Steps** to **Script** while the action has steps and its Script body is empty, Input.Observer offers to translate the steps: **Convert steps to a script?** Choose **Convert** to put the translation in the Script editor. - The steps stay as they are. Switching back to **Steps** shows them unchanged. - Nothing converts back. A script can't be turned into steps. - Steps that use **Repeat while…**, **Repeat until…**, **Exit the loop** or **Stop the steps** are not offered for translation, because Script has no matching statements. You can still switch; the Script body just starts empty. - AutoHotkey is never converted to or from. - When the steps are a recording from the **Recorder** page, the dialog also says that the script ignores **Replay speed** and **Replay mouse path detail**: its waits run at recorded speed and every recorded mouse move replays ([Recorder settings](https://input.observer/help/manual-recorder#settings)). [From Steps to Script](https://input.observer/help/steps-to-script) shows what each kind of step becomes. ## AutoHotkey {#autohotkey} AutoHotkey is a separate program that Input.Observer starts when an AutoHotkey action runs. It is not included; you install AutoHotkey v2 yourself and tell Input.Observer where it is. 1. Install AutoHotkey v2. 2. On the **General** page, turn on **Enable AutoHotkey** and set **AutoHotkey executable** to its program file, such as `AutoHotkey64.exe`. 3. **AutoHotkey** now appears under **Written as**. Apply your changes so the engine uses the new setting. The rules: - **AutoHotkey** is offered under **Written as** only while **Enable AutoHotkey** is on, or when the action already runs as AutoHotkey. An AutoHotkey action with AutoHotkey turned off does nothing, and the page says so. - Use a normal AutoHotkey build. The builds with `_UIA` in their name, such as `AutoHotkey64_UIA.exe`, can't run scripts from Input.Observer. - When AutoHotkey is turned on but its program can't be found at startup or when the configuration is reloaded, Input.Observer asks you to **Browse for the AutoHotkey executable** or **Leave as-is**. - Each run starts a new AutoHotkey process with your script. It can't call Input.Observer's builtins. With **Wait for it to finish** on, the action runs until the script ends by itself, and the stop-all-actions hotkey ends it ([Scripts that keep running](https://input.observer/help/manual-action-engines#keep-running)). - Before your script, Input.Observer sets variables that describe the trigger, such as `IO_ActionName`, `IO_TriggerKind` and the gesture's or hotkey's window ([AutoHotkey variables](https://input.observer/help/manual-action-engines#ahk-variables)). The editor's **Variables available here** list shows the ones the action's triggers provide; click one to insert it. - What the script writes to its standard output appears in the diagnostic console, starting with `AHK:` ([The diagnostic console](https://input.observer/help/manual-console)). A Steps or Script action can also run a piece of AutoHotkey code with the `AutoHotkeyExecuteScript` builtin, which waits for it to finish, or start one with `AutoHotkeyStartScript`, which doesn't. The same setting and executable apply. ## Scripts that keep running {#keep-running} An AutoHotkey script with hotkeys, hotstrings or a timer keeps running after its last line. To start one like that from Input.Observer, turn off **Wait for it to finish** under the AutoHotkey editor. The switch is there wherever an AutoHotkey body is: actions, **Before and after** scripts, global events and snippets. | | **Wait for it to finish** on | **Wait for it to finish** off | | --- | --- | --- | | The action | Runs until the script ends | Is done as soon as AutoHotkey starts | | What the script writes | Appears in the diagnostic console, starting with `AHK:` | Is not shown | | A syntax error | Appears in the diagnostic console | AutoHotkey shows its own error box | | The stop-all-actions hotkey | Ends the script | Leaves it running | | Saving settings or **Reload Config** | Ends the script, with the other running actions | Leaves it running, unless the **Config loaded** event started it | | Input.Observer exits | Ends the script | Ends the script | A script that **Config loaded** started ends when the settings are saved or reloaded, because that event then runs again and starts a fresh copy. Without that, each save would leave one more copy running. To keep one copy of a script running all session, put it in **Config loaded** with **Wait for it to finish** off. `AutoHotkeyStartScript` works the same way as the switch turned off, and returns the process id of the AutoHotkey it started. ## AutoHotkey variables {#ahk-variables} Every AutoHotkey run starts with a few lines Input.Observer adds ahead of your script, setting `IO_` variables from what triggered the action. This applies to an action written as AutoHotkey and to code run with `AutoHotkeyExecuteScript` or `AutoHotkeyStartScript`, which gets the variables of the action that called it. **Every run** sets these three: | Variable | Holds | | --- | --- | | `IO_ActionName` | The action's name. For a [global event](https://input.observer/help/manual-global-events), `Global_Event_` followed by the event's name in the configuration file, such as `Global_Event_release` or `Global_Event_foreground_changed`. Empty when nothing triggered the run, such as a script run from the console. | | `IO_AppGroupName` | The name of the app group the action was found in, such as `Global`. Empty for a global event. | | `IO_TriggerKind` | What triggered the run: `Gesture`, `Hotkey` (a hotkey, or a button chord trigger set to a key), `TextExpansion`, `MouseButton` (a button chord trigger, a tap sequence trigger, or a mouse-button or **Draw button released** global event), `Wheel` (a wheel trigger or a wheel global event), or `None`. | **The rest depend on the trigger**, and only that trigger's are set: | Trigger | Variable | Holds | | --- | --- | --- | | Gesture | `IO_GestureWindow` | The window the gesture started over | | | `IO_GestureButton` | The draw button: `left`, `right`, `middle`, `x1` or `x2`, or `key` for the draw key | | | `IO_GestureStartX`, `IO_GestureStartY` | Where the stroke started | | | `IO_GestureEndX`, `IO_GestureEndY` | Where it ended | | | `IO_GestureBoundsLeft`, `IO_GestureBoundsTop`, `IO_GestureBoundsRight`, `IO_GestureBoundsBottom` | The rectangle around the whole stroke | | | `IO_GesturePoints` | Every point of the stroke in drawing order, as an array of `[x, y]` arrays | | Hotkey, or a button chord set to a key | `IO_HotkeyWindow` | The window in front when the hotkey was pressed; for a key chord, the window you pressed the draw button over | | | `IO_HotkeyVkCode` | The final key's Windows virtual-key code, such as 75 for K | | | `IO_HotkeyModifiers` | The modifier keys of the combination, added together: Ctrl 1, Shift 2, Alt 4, Win 8 (Ctrl+Alt is 5) | | Text expansion | `IO_TextExpansionWindow` | The window you typed in | | | `IO_TextExpansionPattern` | The abbreviation you typed | | Mouse-button event, button chord or tap sequence | `IO_MouseWindow` | The window under the pointer | | | `IO_MouseButton` | The button: `left`, `right`, `middle`, `x1` or `x2`; for a button chord, the other button; for a tap sequence, the last tap's; for **Draw button released** after a gesture drawn with the draw key, `key` | | | `IO_MouseX`, `IO_MouseY` | Where the pointer was | | Wheel trigger or wheel event | `IO_WheelWindow` | For a wheel trigger, the window you pressed the draw button over; for a wheel event, the window under the pointer | | | `IO_WheelDelta` | How far the wheel turned, as Windows reports it: 120 for one notch of an ordinary wheel (smooth-scrolling wheels and touchpads send smaller steps), positive away from you (or to the right), negative toward you (or to the left). A wheel trigger always gets 120 or -120 | | | `IO_WheelHorizontal` | `true` for a sideways wheel turn, `false` for an ordinary one | | | `IO_WheelX`, `IO_WheelY` | Where the pointer was | | | `IO_WheelButton` | For a wheel trigger, the draw button you held: `left`, `right`, `middle`, `x1` or `x2`, or `key` for the draw key. Empty for a wheel event | - **Windows** are window handles, numbers AutoHotkey reads as a window id: `"ahk_id " IO_GestureWindow` names the window in `WinActivate`, `WinGetTitle` and the other window functions. - **Positions** are screen coordinates in physical pixels, from the top-left corner of the main monitor. Set `CoordMode "Mouse", "Screen"` before using them with AutoHotkey's mouse functions, which otherwise work relative to the active window. - **Text** arrives exactly as it was; quotes, backticks and line breaks in an action or group name are escaped for you. - **A variable the trigger doesn't provide isn't set at all**, and AutoHotkey stops the script when it reads an unset variable. An action with several kinds of trigger, or a snippet called from different actions, should check `IO_TriggerKind` first, or use `IsSet(IO_GestureWindow)`. For example, an action that runs from a gesture or a hotkey, bringing the window it was used on to the front and showing its title: ```text CoordMode "Mouse", "Screen" win := IO_TriggerKind = "Gesture" ? IO_GestureWindow : IO_HotkeyWindow WinActivate "ahk_id " win MsgBox WinGetTitle("ahk_id " win), IO_ActionName ``` ## Plugin script engines {#plugin-engines} A plugin can add a script engine of its own. It then appears under **Written as** with the plugin's name, and the text you type there goes to the plugin exactly as written; Input.Observer doesn't check it. See [Plugins](https://input.observer/help/manual-plugins). - **No registered plugin provides the engine**, for example because the plugin was removed: **Written as** marks the engine as not registered, and a warning under it says the script is skipped when it runs. The action then does nothing, and no message says so. - **The plugin is registered but can't take the run**, for example because it is disabled, stopped or restarting: the action doesn't run and isn't retried later. A line in the console's **System** section names the plugin and the engine ([Console](https://input.observer/help/manual-console)), and a Windows notification names the action and the plugin. The notification appears only while **Windows notifications** is on ([General settings](https://input.observer/help/manual-general)). ## In Simple mode {#simple-mode} Simple mode shows **Written as** only for an action that already has a script or an AutoHotkey body. For any other action the card shows the steps directly. To write a new action as a script, switch the window to Advanced mode ([The configuration window](https://input.observer/help/manual-config-window)). # Snippets URL: https://input.observer/help/manual-snippets > Your library of reusable steps and scripts: naming, categories, calling one from an action, and what deleting one affects. A **snippet** is a named piece of steps or script that isn't tied to any trigger. Actions, before and after scripts, global events and other snippets run it by name. Write something once as a snippet, and every action that calls it uses the same copy: change the snippet, and they all change. ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Snippets List: Your snippets [search box] - Center window — Used by 2 (selected) - Paste plain text [+ New] Page: Snippets Card: Center window ① [Center window] ② [Windows] Display only. It doesn't change how the snippet runs. Card: Script ③ SnippetExecuteScript("Center window"); (•) Steps ( ) Script Steps: 1. Center window Target window ④ Card: Called by Swipe Left Browser: before script ``` ## The snippet list {#list} The list shows every snippet in the library, under a heading per category: categories A–Z, then **Uncategorised**, and A–Z by name inside each. A snippet that something calls shows **Used by** and the number of callers. - **+ New** adds a snippet named **New snippet** in the selected snippet's category, written as Steps. - The duplicate button beside **+ New** copies the selected snippet under a new, unique name. - The delete button on a row deletes a snippet ([Deleting a snippet](https://input.observer/help/manual-snippets#delete)). ## Name and category {#name} - **Name** ① is how callers find the snippet. It must be unique across the whole library, whatever the category, and two names that differ only in upper and lower case count as the same. It can't contain a double quote, a backslash or a control character. A name that breaks a rule is shown in red with the reason, and goes back to the old name when you leave the box. - **Renaming** a snippet rewrites every call that names it in quotes, everywhere in your configuration ([Who calls a snippet](https://input.observer/help/manual-snippets#callers)). - **Category** ② only groups the list. It doesn't change how the snippet runs. ## What the snippet does {#body} **Written as** chooses **Steps** or **Script**, the same as for an action ([Steps, Script and AutoHotkey](https://input.observer/help/manual-action-engines)). Switching from Steps to Script offers to translate the steps, as it does on the Actions page. - In Steps, the editor is the same as an action's ([The Steps editor](https://input.observer/help/steps-editor)). - In Script, **Check syntax** checks the script with the engine's own compiler. It reports **Parses OK** with the line count, or the first error, and underlines the problem in the editor. - AutoHotkey is offered only for a snippet that already runs as AutoHotkey. - There is no button to run a snippet here. To try steps safely, use the [Sandbox](https://input.observer/help/manual-sandbox). :::note **Advanced mode.** Above the editor, the call that runs this snippet ③ is shown in Script form, with a button that copies it. ::: ## Calling a snippet {#calling} A snippet runs when a step or a script calls the builtin `SnippetExecuteScript` with its name: - In Steps, add a **Run a snippet** step (`SnippetExecuteScript`) from the list of all builtins ([Adding steps](https://input.observer/help/steps-adding#all-builtins)) and type the snippet's name as its **Name**. - In Script, write the call: ```io SnippetExecuteScript("Center window"); ``` How it runs: - The caller waits until the snippet finishes, then continues. - The snippet sees what started the caller (its target window, gesture and so on), so **Target window** inside a snippet is the caller's target window. - The snippet has its own variables. It can't read the caller's, and the caller can't read its. - The name must match exactly, including upper and lower case. If no snippet has the name, nothing runs and the call gives `false`. - The call gives `true` only when the snippet ran to the end. It also gives `false` when the snippet is empty, has an error or is stopped. - A snippet can call other snippets. Nothing stops a snippet from calling itself, so make sure such a chain ends. ## Who calls a snippet {#callers} The **Called by** card ④ lists every action, before or after script, global event (even a turned-off one) and snippet that calls this snippet. A global event is marked **Global event**, and a snippet **Snippet**. Only calls that write the snippet's name out in quotes are found. A call that builds the name while it runs is not listed, and a call inside a comment is. AutoHotkey bodies are not searched. ## Deleting a snippet {#delete} You can't delete a snippet while anything listed under **Called by** still calls it. The delete button then shows **Can't delete** with the list of callers; change or remove those calls first. A snippet nothing calls is deleted after a confirmation. A call the list can't see (a name built while the script runs) is not protected: if you delete that snippet, the call finds nothing and gives `false`. ## Snippets from elsewhere {#sources} - **Create Snippet** on the [Recorder](https://input.observer/help/manual-recorder) page turns a recording into a snippet. - **Save as snippet** on the [Sandbox](https://input.observer/help/manual-sandbox) page saves the steps or script you tried there. Both open the new snippet on this page with the cursor in its **Name**, ready to rename. A name already taken gets `-1`, `-2` and so on added. # Macro recorder URL: https://input.observer/help/manual-recorder > Record what you do with the mouse and keyboard, then reuse the recording as steps in a snippet or an action. The **Recorder** page captures what you do with the mouse and keyboard once and turns it into steps. It is a capture tool, not an archive: you copy a recording into a snippet or an action, and that is where it runs. :::note **Advanced mode.** The **Recorder** page is in the navigation only in Advanced mode. ::: ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Recorder List: Recordings [search box] - macro_20261005_141502 — 38 events · 6.4s · 10/5/2026 2:15 PM (selected) - Fill the order form — 212 events · 41.0s · 10/2/2026 9:03 AM Page: Recorder — Capture what you do once, then copy it into a script or a snippet. (•) Recordings ( ) Settings ① [Start recording] [Open Recordings folder] Card: macro_20261005_141502 [macro_20261005_141502] ② Card: Script (•) Steps ( ) Script Steps: 1. Move mouse 812, 440 2. MacroExpectWindowAt 812, 440, notepad.exe, Notepad 3. Press mouse button MouseButton.Primary 4. Release mouse button MouseButton.Primary 5. Wait 350 ③ [Copy] [Create Snippet] ``` ## Recording {#record} 1. Click **Start recording** ①. 2. A **Recording started** message says to press Ctrl+Break to stop. Click **OK**. The configuration window minimizes, and after a short pause (300 ms by default) recording starts. With **Recording start confirmation** turned off ([Settings](https://input.observer/help/manual-recorder#settings)), the window minimizes and recording starts at once. 3. Do what you want to record. 4. Press Ctrl+Break, or bring the configuration window back and click **Stop recording**. While recording, the page shows the elapsed time. The new recording is saved and selected. If nothing was recorded, no file is saved and a message says so. What you do in the configuration window at the end of a recording, such as clicking **Stop recording**, is left out. If a script is making a recording of its own at the time, **Start recording** is unavailable until it stops. If another program, or one of your own actions with a reserved Ctrl+Break hotkey, already holds Ctrl+Break, a **Configuration Warning** message says so when recording starts. The recording still starts; stop it with **Stop recording** on this page. :::warning Every key is recorded, including passwords typed into password boxes. A recording stores them as plain keystrokes and types them again when it runs. Stop recording before you type a password. ::: ## What is recorded {#what-is-recorded} A recording is a list of steps, one per thing you did, in the order you did it: - mouse movement, kept at most every 15 ms or every 4 pixels, whichever comes first; - each mouse button press and release, and each wheel turn; - each key press and release; - the pauses between them, as **Wait** steps. It also adds a **window check** wherever the window you click in, scroll over or type into changes. When the recording runs, a window check waits until the right program's window is there: it must have the same program file name and the same window class (upper and lower case don't matter; the window title is never recorded or compared). If the window doesn't appear in time, a notification says so and the recording stops, so its clicks and keys never land in the wrong window. ## The recordings list {#list} The **Recordings** tab lists your recordings, newest first, with the number of events, the length and when it was made. Recordings are files in a **Recordings** folder next to your configuration file; **Open Recordings folder** opens it. - A new recording is named `macro_` followed by the date and time. Type a new **Name** to rename it; if the name is taken, `-1`, `-2` and so on are added. - The delete button on a row deletes the recording after a confirmation. ## Using a recording {#use} The selected recording opens as **Steps** ②. Switch to **Script** to see it translated to the script language. - **Copy** ③ copies the steps (or the script, while **Script** is selected) to the clipboard, to paste into the code view of an action's steps or into a script. - **Create Snippet** makes a new snippet from the recording, as Steps or as Script, whichever is showing, and opens it on the **Snippets** page ([Snippets](https://input.observer/help/manual-snippets)). Edits you make to a recording on this page are not saved to the recording; they only change what **Copy** and **Create Snippet** take. A recording runs wherever you put it: call the snippet from an action, or paste the steps into an action ([Calling a snippet](https://input.observer/help/manual-snippets#calling)). ## Settings {#settings} The **Settings** tab holds two cards. **Capture settings:** | Setting | Default | What it does | | --- | --- | --- | | **Recordings retention** | 50 | How many recordings to keep. After each new recording, the oldest beyond this number are deleted. 0 keeps them all. | | **Recording start confirmation** | On, 300 ms | Shows the "press Ctrl+Break to stop" message before recording starts, then waits this long (0–10000 ms) before capturing. | | **Recording stop notice** | On | Shows a notification when Ctrl+Break ends a recording that a script started. | Retention counts only recordings that still have their `macro_` name. A recording you rename is yours to keep and is never deleted automatically. When you are within five recordings of the limit, the five oldest are marked in the list. Starting a recording at the limit asks **Delete the oldest recording?** first; **Delete oldest and start** deletes it and starts. **Replay settings:** | Setting | Default | What it does | | --- | --- | --- | | **Replay speed** | 100 % | Speed of the recorded pauses, 1–1000 %: 200 % plays twice as fast. Hand-written actions aren't affected. | | **Replay mouse path detail** | 1 of every 1 | Replays 1 of every N recorded mouse movements, N from 1 to 1000. Clicks and wheel turns always land where they were recorded. | | **Replay window wait** | 2000 ms | How long a window check waits for the recorded window, up to 60000 ms. 0 checks once without waiting. | **Replay speed** and **Replay mouse path detail** apply only to a recording kept as Steps. A recording translated to Script plays its pauses at recorded speed and replays every recorded mouse movement. When you switch a recording's steps to **Script**, on this page or in any other Steps editor, the **Convert steps to a script?** dialog says so before you convert. :::note **Advanced mode.** All the capture settings, **Replay mouse path detail** and **Replay window wait** are Advanced settings. ::: # Sandbox URL: https://input.observer/help/manual-sandbox > Try steps or a script on a pretend desktop with stand-in windows, and watch the run replayed, without touching your real desktop. The **Sandbox** page is a practice area. You lay out pretend windows on a pretend desktop, build some steps, and run them. The engine runs them against the pretend windows only and sends back what happened, which the page replays step by step. Nothing on your real desktop is touched: the pretend windows are drawings, not real windows. ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Sandbox Page: Sandbox — Try Steps on pretend windows. Nothing on your real desktop is touched. ① Screen: - Window: Untitled - Notepad (highlighted) - Window: Documents - File Explorer [Add window] Message boxes: first button ② [Run] [Practice desktop ▾] ③ (•) What to run ( ) Before the run Steps: 1. Maximize window Target window (selected) 2. Wait 500 3. Type text Hello from the sandbox 4. Restore window Target window [Copy steps] [Save as snippet] ``` ① The pretend desktop. ② Run the steps. ③ What to run, and what the run starts with. ## The pretend desktop {#desktop} The desktop has one or two screens and up to 16 pretend windows, called stand-ins. The first time you open the page, it holds a **Practice desktop** layout with a few stand-ins and a short example. - **Select** a stand-in by clicking it; click empty desktop to clear the selection. Drag its title bar to move it, and its corner to resize it (in the **Normal** state only). - The selected stand-in has a toolbar: **Window settings**, **Start the gesture over this window**, **Bring forward**, **Send backward**, **Duplicate** and **Remove**. - **Window settings** sets its **Title**, **Class name**, **Program name**, position and size, **State** (**Normal**, **Minimized** or **Maximized**) and **Always on top**. Steps that look for a window by title, class or program find the stand-ins by these values. - One stand-in carries the **Gesture** badge: the run behaves as if the gesture had been drawn over it, so it is the **Target window**. At the start of a run, the front-most visible stand-in has the focus, and the pointer is in the middle of the gesture's window. - A minimized stand-in is drawn faded at the place it would return to, so you can still select it. - **Add window** adds a stand-in. Each screen has a chip in its bottom-right corner, such as "Main screen · 1920 × 1080". Click it to set the screen's size; the second screen's chip also has **Remove screen**. With one screen, **Add screen** adds a second one to the right of the first. :::note **Advanced mode.** A screen's settings also hold its **Scale** (100–500 %) and its **Friendly name**, and show its **Device path**. Scripts can find a screen by its device path or by this name. ::: The desktop is always drawn left to right, in every language, because screen positions don't mirror. ### Using the keyboard {#keyboard} Press Tab to move between stand-ins; the focused one is selected. Arrow keys move it 10 pixels (1 pixel with Ctrl), Shift+arrow keys resize it, Enter or F2 opens its settings, and Delete removes it. Esc closes a settings box. ### Layouts {#layouts} A layout is a desktop with its stand-ins, screens, starting clipboard and message box answers. Pick a layout from the **Layout** list. The **Layout options** button next to it holds **New layout** (a copy of the current one), **Rename layout** and **Delete layout**. The last layout can't be deleted, and a name must be unique. Layouts and the steps you were trying are kept on this computer for your Windows account, separately from your configuration. They are not exported and not part of the configuration file. ## What to run {#what-to-run} The **What to run** tab holds a Steps editor, the same as an action's ([The Steps editor](https://input.observer/help/steps-editor)). :::note **Advanced mode.** A **Steps** / **Script** switch above the editor lets you try a script instead. Switching to Script with steps offers to translate them, as on the Actions page. Back in Simple mode, the page shows Steps again; the script is kept. ::: ## Before the run {#before-the-run} The pretend desktop has its own clipboard and its own message boxes. The **Before the run** tab sets them up. The line under the desktop summarizes both; click it to open the tab. - **Clipboard**: the text the clipboard holds when a run starts (up to 256 characters). Leave it empty to start with an empty clipboard. Your real clipboard is never read or changed. - **Message box answers**: one row per message box the run shows (**Box 1**, **Box 2** and so on), up to 16. Each box gets the next answer in the list. If that answer isn't one of the box's buttons, or the list has run out, the box's first button is pressed. ## Running and the replay {#run} Click **Run** ②. The steps go to the engine, which runs them against the layout and sends back everything that happened. The page then replays it on the desktop: - Each step plays as its own beat, with the step highlighted in the list. Waits play in the run's own time. - **Play** / **Pause**, **Step** (to the next beat), **Replay**, a **Speed** from 0.5× to 4×, and **Back to layout**. Changing the layout or the steps also ends the replay. - During the replay, a line under the desktop shows what the clipboard holds at that moment. A message box the run showed is drawn on the main screen with the pressed button lit. - Anything the steps wrote to the log appears under **Printed output**. - At the end the page says **The run finished.**, or which step failed and why. In Script, it names the line instead. A run stops early, with a message, when it: - uses a builtin that would reach outside the sandbox, such as files, other programs, plugins, snippets or the power and sign-out builtins (**not available in the sandbox**); - runs more than 200,000 instructions, records more than 2,000 events, or reaches 10 minutes of its own time (for example a loop that never ends); - is longer than 8,000 characters (it doesn't run at all). A compile error, or no answer from the engine, is shown without a replay. ## What the sandbox doesn't simulate {#fidelity} The sandbox only pretends, and real programs can behave differently: - Focus rules, the controls inside windows, and programs running as administrator are not simulated. - A stand-in has no selection, so a copy key combination copies nothing. Typing and pasting add text to the active stand-in. - A minimized stand-in reports the position Windows gives minimized windows. - A pretend screen's device path is made up, so a step that names a real monitor's device path finds nothing. Its friendly name does match. ## Taking the steps with you {#hand-off} - **Copy steps** (**Copy script** in Script) copies what runs to the clipboard. - **Save as snippet** makes a snippet from it, as Steps or Script, and opens it on the **Snippets** page ([Snippets](https://input.observer/help/manual-snippets)). From there, an action can call it, or you can copy the steps into an action. # Global events URL: https://input.observer/help/manual-global-events > Scripts that run when something happens anywhere: a mouse button, the wheel, a gesture's outcome, startup, shutdown, hardware and focus changes. A global event runs a script when something happens, whichever program is in front. There are 13 of them, always the same 13: you set each one up, turn it on or off, and never add or remove one. Unlike actions, global events don't belong to an app group. :::note **Advanced mode.** The **Global events** page is in the **Engine** section of the navigation, which the configuration window shows in Advanced mode only. ::: ## Set up an event {#set-up} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Global events Page: Global events — 13 events the engine can react to, whichever app is in front Card: Mouse & wheel Table: | Event | Script | When it fires | | Middle button | Steps, 1 step | Down & up | (selected) | Right button | Nothing set up | Down only | | Wheel — vertical | Nothing set up | Per tick | ① [x] Enable this event ② [Edit script →] ③ [ ] Swallow the input Run this as ④ (•) Steps ( ) Script [Done] ``` 1. Find the event's row. Turn on its switch ① to enable it. 2. Click **Set up →** (or **Edit script →** when it already has one) ②. The row opens in place; one row is open at a time. 3. For a mouse button or wheel, choose whether to **Swallow the input** ③ ([Swallow the input](https://input.observer/help/manual-global-events#swallow)). 4. Under **Run this as** ④, choose **Steps** or **Script** (or **AutoHotkey**, when AutoHotkey is turned on in General settings), and write what it does ([Actions](https://input.observer/help/manual-actions)). 5. Click **Done**, then save. The row's middle column summarizes the script, for example **Steps, 3 steps**, or **Nothing set up**. An event that is on with nothing set up shows that summary as a warning: it runs nothing. The navigation badge counts the enabled events. ## The 13 events {#events} | Event | Card | Fires | | --- | --- | --- | | **Left button**, **Middle button**, **Right button**, **Side button 1**, **Side button 2** | **Mouse & wheel** | When the button goes down, and again when it comes up (**Down & up**). For a draw button, only when it goes down (**Down only**). | | **Wheel — vertical** | **Mouse & wheel** | For each wheel tick (**Per tick**). | | **Wheel — horizontal** | **Mouse & wheel** | For each tick of a tilt wheel or sideways scroll (**Per tick**). | | **Draw button released** | **Gesture outcomes** | When the draw button that started a gesture is released (**After each capture**). | | **Nothing matched** | **Gesture outcomes** | When a drawn gesture ran no action (**After a gesture ends**). | | **Config loaded** | **System & lifecycle** | When the engine starts, and again after every save or **Reload Config** (**Start, save and reload**). | | **Engine shutting down** | **System & lifecycle** | When the engine exits (**Prompts if it overruns**). | | **Hardware added or removed** | **System & lifecycle** | When a device is plugged in or removed (**Real arrivals only**). | | **Foreground window changed** | **System & lifecycle** | Each time another window comes to the front (**Skipped while disabled**). | A script can tell what fired it with the `Context` builtins: for example whether a mouse button went down or up, and which button and window were involved ([Builtins](https://input.observer/help/script-builtins)). ## Mouse buttons {#mouse} A mouse-button event fires for every press of that button, wherever the pointer is: over ignored programs, inside exclusion zones, and during a gesture (a button pressed during a gesture also counts as a gesture modifier). It never fires for clicks that Input.Observer's own scripts send. For a button that is also a draw button (**General**, **Draw buttons**), the event fires only when the button goes down; the row says **Down only** and notes the button is used to draw gestures. The press still starts a gesture as usual. To react to the release, use **Draw button released**. To run an action instead of the button's click when you only tap it, without holding it for anything, use a single tap ([Tap sequence triggers](https://input.observer/help/manual-action-editor#sequence-trigger)): it can differ per app group, and the click doesn't reach the program. When Windows has the mouse buttons switched, button names follow Windows: **Right button** is the one that opens context menus. ## The wheel {#wheel} A wheel event fires for each tick, whatever the program under the pointer, and also during a gesture, even when the tick runs a [wheel trigger](https://input.observer/help/manual-action-editor#wheel-trigger) too. It doesn't fire inside an [exclusion zone](https://input.observer/help/manual-exclusion-zones) that covers that wheel. The scripts for one wheel event run one at a time, in order. If ticks arrive faster than the script finishes, up to 8 wait their turn; ticks beyond that are dropped. A wheel event's script reads which way the wheel turned with `ContextGetWheelDelta` (above 0 away from you or to the right, below 0 toward you or to the left) and where the pointer was with `ContextGetEventX` and `ContextGetEventY`; in Steps these are **Wheel turn**, **Event X position** and **Event Y position** under **From what started the action**. **Target window** is the window under the pointer. Example: [Scroll over the taskbar to change the volume](https://input.observer/help/script-examples#ex-context-wheel-volume). **Minimum gap between ticks** (Advanced mode, inside the open row; default 0) sets the shortest time between two ticks that run the script. 0 runs it for every tick. With a gap, a tick that arrives sooner after the last accepted one is dropped, never queued. The vertical and horizontal wheels each have their own gap. The same two values appear as **Wheel throttle** on the **General** page; changing one changes the other. ## Swallow the input {#swallow} The five mouse buttons and the two wheels can **Swallow the input**: the click or scroll never reaches any program, and the script becomes responsible for whatever should happen instead. A swallowed press also swallows its release. - A draw button can't be swallowed, because its press must always reach gesture capture. The switch is unavailable and says why. If the configuration file turns it on anyway, the engine turns it off when it loads, and the row shows a warning until you turn it off here too. - Swallowing with no script is allowed, but the row warns you: the click or scroll simply disappears. - Swallowing a wheel that has a minimum gap: a tick inside the gap is swallowed **and** dropped. It doesn't scroll and doesn't run the script. The row warns about this too. ## Gesture outcomes {#outcomes} **Draw button released** fires when the draw button whose press started a gesture is released, whatever happened: the gesture ran an action, matched nothing, turned out to be a plain click and was passed on, was drawn for training, or the press ran wheel or button chord triggers. Each tap of a tap sequence is a release of its own, so it fires for both. It does not fire when the press never started a gesture (an ignored program, an exclusion zone, an ignored modifier key held, an app group with **Draw buttons start gestures here** off), or when the gesture had already ended before the release (the cancel timeout, or a **Combinations only** button moved far enough to give its press back, see [Combinations only](https://input.observer/help/manual-drawing#combinations-only)). It fires the same way when the draw key is released after it started a gesture ([The draw key](https://input.observer/help/manual-drawing#draw-key)). **Nothing matched** fires when you drew a gesture (moved at least the minimum gesture movement) and no action matched it in the window's app group or in Global. It does not fire for a plain click or a tap, for a press that ran a wheel or button chord trigger, or while gestures are being trained. ## System and lifecycle events {#system} - **Config loaded** runs at engine start. If it is still running after **Start and shutdown wait** (**Scripts** page; default 10 seconds), you are asked whether to keep waiting. It runs again after every save from the configuration window and every **Reload Config**, after scripts still running have been stopped; that run has no time limit and no prompt, and is skipped while the engine is disabled. For an AutoHotkey script that should keep running, turn off **Wait for it to finish** ([Scripts that keep running](https://input.observer/help/manual-action-engines#keep-running)). - **Engine shutting down** runs when the engine exits, never on a reload. If it is still running after **Start and shutdown wait**, you are asked whether to keep waiting or let the engine exit. It is never cut off without asking, except when Windows is signing out, restarting or shutting down: then nothing can be asked, and the engine closes after that wait. - **Hardware added or removed** fires when a device actually arrives or is removed, not for the routine device notifications Windows sends in between. It is skipped while the engine is disabled. - **Foreground window changed** fires each time a different window comes to the front. It is skipped while the engine is disabled. :::warning A **Foreground window changed** script that shows a window (a message box, for example) brings that window to the front, which fires the event again, and again. If that happens, press the stop-all actions hotkey (**General** page): it stops every script and turns off input handling and this event until you choose **Reload Config** from the tray menu. ::: ## When global events don't fire {#not-firing} - While the engine is disabled from the tray, or paused because a window with **Pause everything while focused** has focus ([Ignore groups](https://input.observer/help/manual-ignore-groups#pause)). **Config loaded** still runs at startup. - In Safe Mode, where no configured script runs. - For input sent by Input.Observer's own scripts. Ignore groups, app groups and profiles don't affect global events. # On screen URL: https://input.observer/help/manual-on-screen > What Input.Observer draws on your screen while you work: gesture trails, hints and messages, and where it never reacts to a click. While Input.Observer runs, it draws on your screen only when there is something to show: the trail under the pointer while you draw a gesture, a hint naming the action the stroke matches, and messages that actions show. Between gestures nothing is drawn, and clicks always reach the windows you see. What draws each of these is your choice: Input.Observer's own classic trail, hint window and message window, or the renderer — a plugin such as the Styles plugin, which draws animated trail styles and decorates hints and messages to match. Whatever you choose, gestures, hotkeys and actions work the same. | Page | What it covers | | --- | --- | | [Appearance](https://input.observer/help/manual-appearance) | The **Appearance** page: theme and language, its sections, what applies at once, sounds, free and purchased styles | | [Gesture trails](https://input.observer/help/manual-trails) | Choosing a trail style, the gallery, each style's settings and preview, Shuffle, a style per draw button, keeping trails light | | [Hints and messages](https://input.observer/help/manual-hints-messages) | When the hint appears and what it shows, every hint setting, and how messages from actions look and close | | [Exclusion zones](https://input.observer/help/manual-exclusion-zones) | Areas of the screen where the buttons, the draw key and the wheel you choose go straight to the window, never starting a gesture | The renderer itself is managed on the [Plugins](https://input.observer/help/manual-plugins) page. - [Appearance](https://input.observer/help/manual-appearance) — The Appearance page: theme and language, the gesture trail, hints, on-screen messages, sounds and style packs. - [Gesture trails](https://input.observer/help/manual-trails) — Choosing a trail style, the style gallery, each style's settings and preview, Shuffle, a style per draw button, and keeping trails light. - [Hints and messages](https://input.observer/help/manual-hints-messages) — The hint that names the matching action while you draw, and the on-screen messages actions show: when they appear, how they look and how to change them. - [Exclusion zones](https://input.observer/help/manual-exclusion-zones) — Areas of the screen where a draw-button press never starts a gesture: drawing zones on the monitor picture, their fields, and what each zone follows. # Appearance URL: https://input.observer/help/manual-appearance > The Appearance page: theme and language, the gesture trail, hints, on-screen messages, sounds and style packs. The **Appearance** page decides how everything Input.Observer draws on your screen looks: the trail that follows a gesture, the hint that names the action while you draw, and the messages that actions show. It also holds the theme and the language of Input.Observer itself. ## The page {#layout} The page has a list of sections on the left and the selected section's settings on the right. Each section in the list shows a one-line summary of its current settings, and a count such as "2 changed" when some of its settings differ from their defaults. ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Appearance Page: Appearance — How gesture trails, hints and messages look Card: Theme & language System · English (United States) ① Gesture trail Neon glow · 4 px · 100% ② Hint window Match style · Follow the cursor · 85% ③ On-screen messages Match style Card: Gesture trail (•) In use ( ) Gallery ( ) Trail options Trail — What draws your gesture trail: the renderer, the classic line, or nothing. ``` | Section | What it controls | Shown in | | --- | --- | --- | | **Theme & language** | The light or dark theme and the language of Input.Observer | Simple and Advanced mode | | **Gesture trail** ① | What draws your gesture trail, the style gallery, and the classic line's options | Simple and Advanced mode | | **Hint window** ② | Whether and where the hint appears while you draw | Simple and Advanced mode | | **Hint text** | The fonts and colors of the classic hint window's three lines | Advanced mode only | | **On-screen messages** ③ | What shows the messages that actions display | Simple and Advanced mode | :::note **Advanced mode.** The **Hint text** section and several rows in the other sections are hidden in Simple mode. A banner at the foot of the page counts them, and says so when one of them holds a value other than its default. Hidden settings stay in effect. ::: ## What applies at once and what waits for Apply {#saving} Most settings on this page are part of your configuration: they take effect when you choose **Apply** or **Save and close** (see [The configuration window](https://input.observer/help/manual-config-window)). Some choices take effect the moment you make them, and **Discard** does not undo them: - choosing a trail style, **Classic line**, **None** or **Shuffle**, and giving a draw button its own trail; - the **Hints** choice **Match style** or **Classic**, and the **Messages** choice; - every setting in a style's settings window, in **Customize…**, and the speaker on a style tile (these are saved by the plugin that draws the styles, not in your configuration); - the **Theme**, which is saved even when you close the window without saving anything else. Choosing **Off** for **Hints** is the one exception among the choices: it waits for **Apply**. Until then the row shows "Your hint choice takes effect when you save." ## Theme & language {#theme-language} | Setting | What it does | Default | | --- | --- | --- | | **Theme** | **System**, **Light** or **Dark**. **System** follows the light or dark app mode chosen in Windows settings. The configuration window, the engine's own windows (the console, its dialogs) and the splash screen all follow it. The theme button in the window's title bar sets the same value. | **System** | | **Language** | The language of Input.Observer and of the configuration window. The first entry, "Windows default", follows the Windows display language. | Windows default | After you change the language, the configuration window keeps its current language until you close and open it again; a note under the list says so. The engine uses the new language as soon as you apply the change. Names you gave your own groups, actions and gestures never change with the language. ## Gesture trail {#trail} The **Trail** row chooses what draws the line that follows a gesture: - a **style** from the style gallery, drawn by the renderer (the plugin that draws styles — see [Plugins](https://input.observer/help/manual-plugins#renderer)); - **Shuffle**, a different style from a set you choose for each gesture; - **Classic line**, Input.Observer's own plain line, which uses the least memory and processor time; - **None**, no trail at all. Gestures still work. The section has three tabs: **In use** (what draws now), **Gallery** (every style, by category) and **Trail options** (color, width and the classic line's settings). [Gesture trails](https://input.observer/help/manual-trails) explains all three, the settings each style has, and what to change when drawing feels slow. ## Hint window and Hint text {#hint} The **Hints** row chooses how the hint appears while you draw: **Match style** (drawn by the renderer in the look of the style in use), **Classic** (Input.Observer's own hint window) or **Off**. The rest of the section sets where the hint appears and when. **Hint text** sets the classic window's fonts and colors. [Hints and messages](https://input.observer/help/manual-hints-messages) lists every setting with its default and range. ## On-screen messages {#messages} The **Messages** row chooses how messages that actions show (with the `UIShowDisplayMessage` builtin, in a script or a Steps step) appear: **Match style**, **Classic** or **Off**. The action itself chooses each message's text, fonts, colors, position and how long it stays. [Hints and messages](https://input.observer/help/manual-hints-messages#messages) has the details. ## When the renderer isn't drawing {#live-status} **Match style** and the gallery's styles need the renderer to be running. When something on this page is set to the renderer but the renderer can't draw it right now, a banner at the top of every section says so, and Input.Observer's classic trail, hint window and message window draw instead until the renderer is back. The page checks every few seconds. | Banner | What it means | What to do | | --- | --- | --- | | "No renderer is chosen" | No plugin is the renderer. | Choose one on the **Plugins** page (the banner's link switches to Advanced mode and opens it). | | "… isn't drawing right now" — it's starting | The renderer is starting up. | Nothing; it takes a few seconds. | | "… isn't drawing right now" — switched off | The renderer is disabled on the **Plugins** page. | Enable it on the **Plugins** page. | | "… isn't drawing right now" — stopped running | The renderer's program stopped. | Choose **Restart**. If it stops again, see [Plugins](https://input.observer/help/manual-plugins#failures). | | "… isn't drawing right now" — its own settings switch this off | The renderer runs, but its own settings turn trail drawing off. | Choose **Customize…** and switch **Draw gesture trails** back on. | Rows that have no effect under the current choice stay visible but are dimmed. For example, while the renderer draws the trail, **Opacity** is dimmed because it applies to the classic line only, and while hints are **Off**, every row of the **Hint window** section is dimmed. ## Sounds {#sounds} Every style from the Styles plugin has its own sounds for the start of a gesture, while you draw, and the release. **Every style starts silent.** To hear a style, click the speaker on its tile in the gallery; click it again to silence it. The first time the Styles plugin runs, it shows a message, "Gesture sounds are available", at the bottom right of the main screen for about 12 seconds to point this out. [Gesture trails](https://input.observer/help/manual-trails#sounds) covers the shared sound settings and custom sound files. ## Free styles, locked styles and purchases {#purchases} The Styles plugin contains every style, but only some are yours to use from the start. These six are free: **Comet**, **Fire**, **Vibrant rainbow**, **Firework**, **Neon glow** and **Paint brush**. A new installation draws **Neon glow**. Every other style shows **Locked** with a padlock on its tile. You can still open a locked style to watch its live preview and see every setting it has, but you can't change its settings or put it in use. A locked style's tile and its settings window have a **Buy** button, which opens that style's page in the store at https://input.observer/styles in your web browser. Input.Observer itself never connects to the internet. **Auto** draws a different style depending on the date. It needs at least one of its calendar styles to be unlocked. On a date whose style you don't own, Auto draws the free default style, **Neon glow**, instead. ### Adding a purchase {#add-purchase} A purchase comes as a file ending in `.ioentitlement`. To unlock the styles it holds: 1. On **Appearance**, choose **Gesture trail**, then the **Gallery** tab. 2. Choose **Add purchased styles…** ①. 3. Choose the purchase file. A line under the button says what happened: which styles it unlocked, or why it didn't. ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Appearance Page: Appearance Card: Gallery [Customize…] ① [Add purchased styles…] Styles unlocked: Autumn Drift, Sleigh Ride ``` A purchase belongs to the email address of the license it was bought with: - **Bought for this license's email:** its styles unlock at once. - **Bought for another email**, or **added during the trial:** the file is kept, and its styles unlock as soon as a license with that email is active on this computer. - **Already added:** nothing changes. Input.Observer keeps each purchase file in an `Entitlements` folder beside your configuration file ([The configuration file](https://input.observer/help/manual-config-file#location)). A file you copy into that folder yourself is read the next time the Styles plugin starts; **Add purchased styles…** takes effect at once. The button shows only while the Styles plugin is the renderer. If a style you use becomes locked again (for example, because the license changed), it draws **Neon glow** until it is unlocked again. Your choice of style is kept. # Gesture trails URL: https://input.observer/help/manual-trails > Choosing a trail style, the style gallery, each style's settings and preview, Shuffle, a style per draw button, and keeping trails light. The trail is the line drawn under the pointer while you draw a gesture. It is only a picture: what you draw is matched the same way whatever the trail looks like, and turning the trail off changes nothing about which action runs. You choose the trail on the **Appearance** page, in the **Gesture trail** section. ## What can draw the trail {#choices} | Choice | What draws | Notes | | --- | --- | --- | | A style | The renderer, a plugin. On a standard installation this is the Styles plugin, with over a hundred animated styles. | Needs the renderer running ([Plugins](https://input.observer/help/manual-plugins#renderer)). | | **Shuffle** | The renderer, with a different style for each gesture | Never repeats the previous gesture's style while another one qualifies. | | **Classic line** | Input.Observer itself: a plain line in one color | The lightest choice. Draws whenever the renderer can't. | | **None** | Nothing | Gestures still work. | Whatever you choose, if the renderer is stopped, starting or switched off, the classic line draws in its place until the renderer is back ([Appearance](https://input.observer/help/manual-appearance#live-status)). ## The three tabs {#tabs} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Appearance Page: Appearance ① ( ) In use (•) Gallery ( ) Trail options Card: Gallery ② [Customize…] [Add purchased styles…] ③ [‹Search all styles›] ④ (•) Light & energy ( ) Seasons & nature ( ) Celebrations ( ) Playful ( ) All ⑤ Gesture gallery: - Neon glow (selected) - Comet - Fire - Lightning ``` - **In use** shows the basic choices (**Classic line**, **None**, **Shuffle**, **Auto**), the style in use, and any tile a draw button uses as its own choice. - **Gallery** ① shows every style, one category at a time ④: the style categories, then **More styles** for anything else the renderer offers, **All**, and **Archived** while you have archived styles. **Customize…** ② opens the settings every style shares. Typing in the search box ③ searches every style by name, ignoring case and accents, and shows the matches under **All**; clearing the box goes back to the tab you were on. - **Trail options** holds the trail's color and width and the classic line's settings ("Trail options" below). The page remembers the section, the tab and the gallery category you last used. ## Choosing a style {#choose} Each tile ⑤ shows a picture of the style, its name, and its state in words: **In use**, **Free**, or **Locked** with a padlock. 1. On **Appearance**, choose **Gesture trail**, then **Gallery**. 2. Find the style: pick a category, or type part of its name in the search box. 3. Choose **Use** on its tile. The style is in use from your next gesture; you don't need to choose **Apply**. To see a style before you choose it, click the tile itself. Its settings window opens with a live preview ("A style's settings window" below). **Use this style** there does the same as **Use** on the tile. The tile in use has **Preview** where **Use** would be, on both the **In use** and **Gallery** tabs. It does the same as **Preview** on the **Plugins** page ([Preview](https://input.observer/help/manual-plugins#preview)): the style in use follows your pointer without a real gesture. **Gestures are paused** while it runs. It ends when you press Esc, choose **Stop preview**, leave the page or the **Gesture trail** tiles, or put **Classic line** or **None** in use; those two have no preview. To go back to the plain line or to no trail, choose **Use** on **Classic line** or **None** on the **In use** tab. Clicking **Classic line** opens the **Trail options** tab. A locked style has no **Use** button. See [Free styles, locked styles and purchases](https://input.observer/help/manual-appearance#purchases). Some styles aren't offered in every country. When your Windows region setting is Saudi Arabia, **Green Haze** isn't in the gallery, Shuffle never picks it and Auto never switches to it (its switch isn't shown). If it's already your style, it keeps drawing and keeps its tile until you choose another. ### Auto {#auto} **Auto** follows the calendar. On a holiday or festival it switches to that day's style; otherwise it follows the season: First Snow, then Northern Lights in winter, Cherry Blossom in spring, Firefly Meadow in summer and Autumn Drift in autumn. When two dated styles fall on the same day, the one with the shorter period wins. South of the equator the seasons are swapped; holidays are not. Its tile names the style it draws today, for example "Today: Autumn Drift". Click the **Auto** tile to open its settings: the hemisphere (from your Windows region setting by default), and a switch for each dated style. A switch you turn off keeps Auto away from that style. National holidays follow the country in your Windows region setting unless you choose otherwise. A gesture keeps the style it started with. Auto needs at least one of its calendar styles unlocked. On a day whose style you don't own, it draws **Neon glow**. ### Shuffle {#shuffle} **Shuffle** draws a different style for each gesture. ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Appearance Page: Appearance ( ) In use (•) Gallery ( ) Trail options Card: Gallery ① Banner (info): Choosing Shuffle's styles — Tick the styles Shuffle picks from. With every one ticked, styles added later join in too. ② Ticked: 12 of 40 ③ [Every style] ④ [Done] Gesture gallery: - Neon glow - Comet - Fire ⑤ [x] In Shuffle [ ] In Shuffle [x] In Shuffle ``` 1. On the **In use** tab, choose **Choose styles** on the **Shuffle** tile. The **Gallery** tab opens with the **Choosing Shuffle's styles** bar ① above the tiles, and every unlocked style tile shows an **In Shuffle** box ⑤. 2. Tick the styles Shuffle may pick. Each box takes effect at once. The last ticked box can't be cleared. 3. The bar counts the ticked styles ②, for example "Ticked: 12 of 40". With every box ticked it says "Shuffle picks from every style.", and styles you unlock later join in too. 4. **Every style** ③ ticks every box again. It is unavailable while every style is already ticked. 5. Choose **Done** ④. Picking ends and the **In use** tab shows again. Choose **Use** on the **Shuffle** tile if Shuffle isn't in use yet. While you pick, the **Shuffle** tile's own button on the **In use** tab reads **Done** instead of **Choose styles**, and also ends picking. ### A different trail for each draw button {#per-button} When you draw gestures with two or more buttons (**General** page, **Draw buttons**), each button can have its own trail. Open the **⋯** menu on a tile and choose **Use for** and the button, for example **Use for Middle button**. The tile then carries a badge for that button, and the **In use** tab lists it. Choose the same entry again to give the button back to the trail in use. **Classic line**, **None**, **Shuffle** and any unlocked style can be a button's own choice. A button's own style belongs to the renderer it was chosen with. If you make another plugin the renderer, that button draws the trail in use instead. If you stop using a button for gestures, its own choice is dropped. A **Combinations only** button draws no gestures, so it has no trail and doesn't count as one of the two buttons ([Combinations only](https://input.observer/help/manual-drawing#combinations-only)). The draw key ([The draw key](https://input.observer/help/manual-drawing#draw-key)) always draws the trail in use, with the trail's own color and width. ### Archiving styles you don't want to see {#archive} The **⋯** menu on a style tile has **Archive**, which moves the tile to the **Archived** tab. **Restore to gallery** moves it back. Archiving only tidies the gallery for you in this window: an archived style can still be chosen from the **Archived** tab, and one in use stays on the **In use** tab. ### A different style per program {#per-program} Input.Observer has no per-program trail setting. An action can change the style with the `StyleSet` builtin, for example from the **Foreground window changed** global event ([Global events](https://input.observer/help/manual-global-events)). See the `Style` builtins in the [builtin reference](https://input.observer/help/script-builtins). Each such change is saved in your configuration. ## A style's settings window {#style-view} Clicking a style tile opens the style's own settings window. ```ui-mockup Dialog: Northern Lights ① [Use this style] Changes take effect right away and are saved as you make them; they don't wait for Apply. Card: Live preview The preview plays with the settings below and starts over after each change. ② [gesture drawing] [Pause] [ ] Light backdrop Card: Northern Lights Curtain height (×): ─[50%]─ [1.0] ③ Card: Tuning Amount along the path (×): ─[30%]─ [1.0] [Restore defaults] [Close] ``` - **Use this style** ① puts it in use. A style already in use shows **In use** instead. - **Live preview** ② plays the style's demonstration stroke over and over, with a sample hint and a sample message in that style's look under it. It starts over after each change you make, so you see the change on the next stroke. **Pause** stops it; **Play** starts it again. **Light backdrop** plays it over a light background instead of a dark one; the window remembers that choice for every style. The preview comes down while you move the window or switch to another window, and plays again once the window is in front and still. - The settings ③ are grouped in cards: the style's own look and motion under its name, then **Tuning**, **Sounds**, **Hint panel skin** and **Message skin**. A dot beside a setting means it differs from the style's default. - **Changes take effect at once and are saved as you make them.** They don't wait for **Apply**, and **Discard** in the configuration window doesn't undo them. A slider, number or color is sent once it has stayed unchanged for a quarter of a second. If the plugin adjusts a value to fit its range, the setting shows the value it uses. The first time, the window may take a few seconds to load while the plugin starts. - **Restore defaults** puts every setting in this window back to the style's defaults. - A locked style's window shows every setting with its value but takes no change, and has **Buy** in place of **Use this style**. Its preview still plays. The style's settings are kept by the plugin that draws it, in its own settings file beside your configuration file, not in your configuration. They are not part of an export. ## Settings every style shares: Customize… {#customize} **Customize…** on the **Gallery** tab opens the settings that aren't tied to one style, in the same kind of window, with a list of sections on the left. With the Styles plugin as the renderer, the sections are: | Section | What it holds | | --- | --- | | **What this plugin draws** | **Draw gesture trails** (off makes the classic line draw instead; hints and messages are chosen on the **Appearance** page), **Get a newly chosen style ready before its first gesture**, **Keep the drawing layer behind windows between gestures** | | **Style and calendar** | **Auto draws today**, **Hemisphere for the seasons**, and Auto's switch for each dated style | | **Line** and **Particles** | The line under the effect and the particle limits of Comet, Lightning, Fire, Vibrant rainbow, Firework, Neon glow, Water splash, Paint brush and Dot chomper | | **Size and particles** | **Size of everything the trail draws (×)** and the particle limit for every other style | | **Hint panel** | The fonts, sizes, colors and opacity of the hint panel when hints are set to **Match style** | | **Sounds** | **Play styles' sounds**, a custom sound file for each sound, and each sound's volume | | **Memory** | **Release graphics memory when idle** and how long to wait first | The same window opens from the gear on the renderer's row of the **Plugins** page, where it also lists every style's own section. ## Sounds {#sounds} Each style has three sounds: one when a gesture starts, one that plays while you draw and follows your speed, and one on release. - **Every style starts silent.** The speaker on a style's tile switches that style's sounds on and off; its picture and tooltip say which. The same switch is in the style's settings window, in the **Sounds** card. - **Play styles' sounds** in **Customize…** > **Sounds** switches the styles' own sounds off for every style at once (on by default). - A custom sound file (uncompressed PCM `.wav`) set for a sound plays in that sound's place for every style. A file that can't be played falls back to the style's own sound. A style whose own speaker is off plays nothing, custom files included. - Sounds load only for the style in use (about 0.6 MB each), not for every style. ## Trail options {#trail-options} The **Trail options** tab holds the trail's color and width, which both the renderer and the classic line use, and the classic line's own settings. | Setting | What it does | Default | Range | Applies to | | --- | --- | --- | --- | --- | | **Trail color** | The line's color, as `#RRGGBB`. Click the swatch for a palette and red, green and blue sliders. | `#5B8CFF` (blue) | Any color | Renderer and classic line | | **Line width** | The line's thickness | 4 px | 1–50 px | Renderer and classic line | | **Per-button trail** | A color and a width of its own for each draw button. A button with its switch off uses **Trail color** and **Line width**. | Off for every button | 1–50 px | Renderer and classic line | | **Opacity** | How solid the line looks | 100% | 5–100% | Classic line only | | **Draw after moving** | How far, in a straight line from where the stroke started, the pointer must move before the line appears. The line never appears before **Minimum gesture movement** (General) either. | 8 px | 0–500 px | Classic line only | | **Trail length limit** | 0 keeps the whole stroke visible. Otherwise only the most recent part, this long, stays visible. | 0 | 0–10000 px | Renderer and classic line | | **Keep the drawing layer behind windows between gestures** | Moves Input.Observer's drawing layer behind other windows whenever no gesture is being drawn | Off | On or off | Classic line only | :::note **Advanced mode.** **Per-button trail**, **Draw after moving**, **Trail length limit** and **Keep the drawing layer behind windows between gestures** are hidden in Simple mode. ::: - Many styles draw in their own colors or at their own size. While such a style is in use, a note under **Trail color** or **Line width** names it and says the setting doesn't change it. - Comet, Lightning, Neon glow and Paint brush have a switch at the top of their own settings to draw in **Trail color** or in a color of their own. Those four, Fire, Vibrant rainbow, Firework, Water splash and Dot chomper have one to draw at **Line width** or at a width of their own. - `#FF00FF` is the color Input.Observer's drawing layer treats as see-through, so a trail in exactly that color would be invisible. Input.Observer draws `#FF00FE` instead, and the row shows a warning. - Only the color's red, green and blue are used. A pasted `#AARRGGBB` keeps its color part; transparency is **Opacity**'s job. ## Keeping trails light {#performance} Input.Observer draws only while you gesture, but a drawing layer that covers your screens takes memory while it exists. These are the settings that change what the trail costs. - **Classic line** uses the least memory and processor time. With the trail, hints and messages all on the classic choices or off, the renderer doesn't run at all; the **Plugins** page shows it as "Not in use". - **Release graphics memory when idle** (**Customize…** > **Memory**, off by default) makes the Styles plugin give back its full-screen drawing surface after the set number of seconds with nothing on screen (30 by default, 1–3600). It is the plugin's largest use of graphics memory: about 16.6 MB for one 1920 × 1080 screen, 29.5 MB at 2560 × 1440, 66.4 MB at 3840 × 2160, and more for several screens side by side. The next gesture rebuilds it before drawing its first point, which costs that gesture a short moment. - **Keep the drawing layer behind windows between gestures** helps when a full-screen game or video stutters or behaves differently while Input.Observer runs, or a program reacts badly to a window covering it. It can also remove a delay when tray icon menus open. The Styles plugin has its own switch in **Customize…** > **What this plugin draws**; the classic line's is on the **Trail options** tab. Both are off by default. - **Get a newly chosen style ready before its first gesture** (on by default) prepares a style you just chose out of sight, so its first stroke doesn't start with a stutter. It doesn't cover a draw button's own style or Shuffle's picks. - **Most particles on screen** (**Line** / **Particles**, and **Size and particles**) caps how many sparks, leaves or other pieces a style keeps on screen. Lower it if busy styles feel heavy. - **Trail length limit** keeps only the last part of a long stroke on screen. # Hints and messages URL: https://input.observer/help/manual-hints-messages > The hint that names the matching action while you draw, and the on-screen messages actions show: when they appear, how they look and how to change them. Input.Observer shows two kinds of text on screen. The **hint** appears while you draw a gesture and names the action the stroke matches so far. **Messages** appear when an action shows one. Both are set up on the **Appearance** page. ## The hint {#hint} The hint has up to three lines: 1. the name of the app group whose action matches — **Global** when the gesture fell back to the Global group ([Scope and fallback](https://input.observer/help/manual-scope-bubbling)); 2. the name of that action; 3. the action's **Hint note**, if it has one ([The Actions page](https://input.observer/help/manual-action-editor)). It follows these rules: - **It shows only a match.** As soon as the stroke so far matches no action, the hint disappears; it comes back the moment the stroke matches one again. There is no "no match" text. - **It waits a moment.** A stroke counts as a gesture once the pointer has moved **Minimum gesture movement** (General, 5 px by default). The hint can appear once the stroke has lasted **Wait before showing hint** (150 ms) or travelled **Distance before showing hint** (24 px), whichever comes first, so it doesn't flicker on the first few pixels. A quick stroke released before then shows no hint, and its action still runs. - **It can wait longer.** **Points before showing** and **Show delay** hold back a hint that has already found a match: it appears only once the stroke has that many points and the same match has held for the delay. Both are 0 (off) by default. - **It changes nothing about matching.** The hint shows what the stroke matches; it never decides it. With hints off, the finished stroke is matched once when you release the button, and the same action runs. - **It follows the pointer** by default, 12 pixels away from it. In a fixed position it moves only when the match changes. ### Who shows the hint {#hint-choice} The **Hints** row at the top of the **Hint window** section has three choices: | Choice | What you see | | --- | --- | | **Match style** | The renderer draws the hint as a panel in the look of the gesture's trail style. Offered only while the renderer can show hints. | | **Classic** | Input.Observer's own hint window: dark text on a light panel with a thin border. | | **Off** | No hint. Input.Observer also skips matching while you draw, which saves a little work on every pointer move. Takes effect when you choose **Apply**. | **Match style** and **Classic** take effect at once. If the renderer can't show hints right now, the classic hint window shows them meanwhile. ### Hint window settings {#hint-settings} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Appearance Page: Appearance Card: Hint window ① Hints: [Match style ▾] — Show which action a gesture will run while you draw it: in the renderer's style, in the classic hint window, or not at all. ② Position: [Follow the cursor ▾] — Where the hint appears. Opacity: [85] % — How solid the hint looks. (disabled) ``` | Setting | What it does | Default | Range | Used by | | --- | --- | --- | --- | --- | | **Hints** ① | Who shows the hint (above) | **Classic**, or **Match style** after a standard installation that chose styles | **Match style**, **Classic**, **Off** | — | | **Position** ② | **Follow the cursor**, one of nine places on a monitor (**Top left** to **Bottom right**, **Center**), or **Custom offset** | **Follow the cursor** | — | Renderer and classic | | **Monitor** | The monitor a fixed position is on: **Primary monitor** or **Monitor of the window under the gesture**. With **Custom offset** it only decides which monitor's text scaling the hint uses. Not shown for **Follow the cursor**. | **Monitor of the window under the gesture** | — | Classic | | **Horizontal offset**, **Vertical offset** | Where the hint's top-left corner goes, in pixels from the top-left corner of the primary monitor. A monitor left of or above the primary one needs negative values. Shown only for **Custom offset**; a point on no connected monitor is warned. | 0, 0 | −32768 to 32767 px | Classic | | **Cursor distance** | Gap between the pointer and a hint that follows it. Shown only for **Follow the cursor**. | 12 px | 0–500 px | Classic | | **Opacity** | How solid the hint looks | 85% | 5–100% | Classic | | **Background color** | The fill behind the text, as `#RRGGBB`. The thin border around the hint is a shade darker than this color, or a shade lighter when the color is dark. | `#F7F7F5` (soft white) | Any color | Classic | | **Wait before showing hint** | How long a stroke must last before the hint can appear (or the distance below, whichever comes first) | 150 ms | 0–10000 ms | Renderer and classic | | **Distance before showing hint** | How far a stroke must travel before the hint can appear (or the time above, whichever comes first) | 24 px | 0–1000 px | Renderer and classic | | **Points before showing** | Least number of stroke points before a found match may appear | 0 | 0–1000 | Renderer and classic | | **Show delay** | Extra wait after a match is found before the hint appears | 0 ms | 0–10000 ms | Renderer and classic | :::note **Advanced mode.** **Monitor**, **Cursor distance**, **Wait before showing hint**, **Distance before showing hint**, **Points before showing** and **Show delay** are hidden in Simple mode. ::: "Classic" in the last column means the setting has no effect while the renderer draws the hint; such rows are dimmed then. With a position other than **Follow the cursor**, the renderer's hint stays where the gesture was first recognized. ### Hint text {#hint-text} :::note **Advanced mode.** The **Hint text** section is hidden in Simple mode. ::: **Hint text** sets the classic hint window's three lines. Each row has a font, a size, **Bold**, **Italic** and a color. | Row | Line | Default | | --- | --- | --- | | **Group name** | The app group | Segoe UI, 14 pt, `#1F1F1F` (dark gray) | | **Action name** | The action | Segoe UI, 14 pt, `#1F1F1F` (dark gray) | | **Note** | The action's hint note | Segoe UI, 12 pt, `#1F1F1F` (dark gray) | Sizes go from 6 to 72 pt. The font list shows the fonts installed on this computer; a font named in your configuration but not installed here is kept, and Windows substitutes a similar one. When Input.Observer's language is Japanese, Korean or Chinese, a line left at Segoe UI is drawn in that language's own Windows font (Yu Gothic UI, Malgun Gothic, Microsoft YaHei UI or Microsoft JhengHei UI), and so is a message shown in Segoe UI. Choose any other font to use it instead. ### The renderer's hint panel {#hint-panel} With **Match style**, the Styles plugin draws the hint as a panel decorated in the look of the style the gesture is drawn in. Its fonts, sizes, colors and opacity come from **Customize…** > **Hint panel** on the **Gallery** tab (Segoe UI 15, 14 and 12 pt, the action name bold, 88% opacity by default), not from **Hint text**. Each style's own hint colors and decoration are in the **Hint panel skin** card of its settings window ([Gesture trails](https://input.observer/help/manual-trails#style-view)), which also has a switch to draw a plain panel instead. ## On-screen messages {#messages} A message is a panel with a title line and a message line. Actions show them with the `UIShowDisplayMessage` builtin, in a script or as a Steps step ([builtin reference](https://input.observer/help/script-builtins)). **The action decides everything about each message**: the two lines of text, each line's font, size, bold, italic and alignment, the text color and background color, opacity, the padding, where it appears (one of nine places on a monitor, or an exact point on the screen), whether it goes on the primary monitor or the one the pointer is on, and how long it stays. There are no message settings to change on the **Appearance** page apart from who shows them. - **Several messages can be on screen at once.** An action can change a message it showed, or close it. - **A message closes** when its time is up, when an action closes it, or — in the classic message window only — when you double-click it. A message with no time limit stays until an action closes it (or you double-click a classic one). - **The monitor is chosen when the message appears** (and again when an action changes it). A message doesn't follow the pointer afterwards. ### Who shows messages {#message-choice} The **Messages** row in the **On-screen messages** section has three choices. Each takes effect at once. | Choice | What you see | | --- | --- | | **Match style** | The renderer draws the message with the decoration of the style in use, keeping the action's fonts and colors. These panels can't be clicked: clicks go to the window underneath, and they close only by time or by the action. | | **Classic** | Input.Observer's own message window, with a thin border a shade darker than the action's background color (a shade lighter when that color is dark). Double-click it to close it. | | **Off** | Nothing appears. The action carries on normally. | While the renderer can't show messages, the classic message window shows them instead. :::tip If you switch who shows messages, or the renderer stops, while a message is on screen, an action can no longer close that message: it stays until its time is up. An action that must be able to close its message should give the message a time limit. ::: ### Other messages you may see {#other-messages} - **"Gesture sounds are available"** — shown once, at the bottom right of the main screen for about 12 seconds, the first time the Styles plugin runs. See [Sounds](https://input.observer/help/manual-trails#sounds). - **Plugin preview** — the **Preview** button on the **Plugins** page shows a sample hint and a sample message ([Plugins](https://input.observer/help/manual-plugins#preview)). - **Windows notifications** are a different thing: the **Show a notification** step sends a notification to Windows' notification center, which Windows itself shows. They are switched on and off with **Windows notifications** on the [General](https://input.observer/help/manual-general) page. # Exclusion zones URL: https://input.observer/help/manual-exclusion-zones > Areas of the screen where a draw-button press never starts a gesture: drawing zones on the monitor picture, their fields, and what each zone follows. An exclusion zone is a rectangle on the screen where Input.Observer stays out of the way. A draw-button press inside it goes straight to the window underneath: no gesture starts. Use one for a spot where you need the plain right-click, such as a toolbar, a game's mini-map or a corner of a remote desktop. :::note **Advanced mode.** The **Exclusion zones** page is in the **Engine** section of the navigation, which the configuration window shows in Advanced mode only. So are the zones on the App groups page. ::: ## What a zone does {#what} ```ui-mockup Screen: - Window: Paint - Zone: Toolbar - A gesture drawn across the screen ``` - **A press inside the zone.** A press of a mouse button the zone covers is passed to the window as a normal press. No gesture, no trail, no **Draw button released** event. - **A gesture that starts outside.** A zone only matters where the press happens. A gesture that starts outside a zone and is drawn across or into it is not affected, as with the stroke in the picture. - **The wheel.** A zone that covers the vertical or horizontal wheel never stops scrolling. Wheel ticks inside it just don't count as wheel modifiers for a gesture ([Modifiers and timing](https://input.observer/help/manual-modifiers-timing#wheel)) and don't fire the wheel global events ([Global events](https://input.observer/help/manual-global-events)). While a gesture is being drawn, its wheel ticks still count for that gesture. - **Only draw buttons and the draw key.** Only the draw buttons and the draw key chosen on the **General** page start gestures, so a zone has an effect only on them. A zone that covers the draw key passes the key's press to the program when the pointer is inside the zone ([The draw key](https://input.observer/help/manual-drawing#draw-key)). The mouse-button global events still fire inside a zone. - **Training.** While you train gestures, zones don't apply. A zone that follows **The window** is checked a moment after the press, because the window's size has to be read first. The press then reaches the window a moment late, which you normally don't notice. ## Draw a zone {#draw} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Exclusion zones Page: Exclusion zones — Screen areas where gestures never start Card: Zones for every window ③ [+ Zone] [Duplicate] [Delete] [Refresh picture] [Show on screen] ① Screen: - Window: Paint - Zone: Toolbar Drag on empty screen space to draw a zone. Drag a zone to move it, or the selected zone's edges to resize it. Arrow keys nudge the selected zone; hold Shift for 10 pixels. Zones Toolbar: [x] — 1344 × 130 px at 96, 151 · Stays put Selected zone ② [96] px [151] px [1344] px [130] px Mouse buttons and draw key ④ [ ] Left button [x] Right button [ ] Middle button [ ] Side button 1 [ ] Side button 2 [ ] Draw key ``` The page shows a picture of every connected monitor, with your zones on it, then the list of zones and the selected zone's fields. 1. On the picture ①, drag across empty screen space to draw a zone. Or click **+ Zone**: it adds a zone a quarter of the size of the main monitor, in its center, covering every current draw button and the draw key, if you set one. 2. Drag the zone to move it, and drag the selected zone's edges or corners to resize it. The arrow keys move the selected zone by one pixel, or 10 pixels with Shift. To set it exactly, type **Left**, **Top**, **Width** and **Height** ②. 3. To place a zone to the exact pixel over your real screens, click **Show on screen** ③. Every zone appears at full size over the screen; drag it, or its edges, then press Esc or click **Done**. 4. Under **Mouse buttons and draw key** ④, choose which buttons the zone lets through. Turn on **Vertical wheel** or **Horizontal wheel (tilt)** if it should cover the wheel too. 5. Name the zone, and save. The picture of your screens is taken when the page opens. **Refresh picture** takes a new one and reads the monitor layout again. The picture stays in memory and is never saved, and the configuration window itself is left out of it. ## The zone's fields {#fields} | Field | What it does | | --- | --- | | **Name** | For you only. A new zone is named **Zone 1**, **Zone 2** and so on. | | **Active** | Off keeps the zone without using it. The switch is also on the zone's row in the list. | | **Left**, **Top** | Where the zone's top-left corner is, in physical screen pixels: the pixels Windows counts before display scaling. Values can be negative for a monitor left of or above the main one. | | **Width**, **Height** | The zone's size in physical pixels, at least 16. | | **Mouse buttons and draw key** | The buttons whose press passes through, and **Draw key** for the draw key. Only draw buttons and the draw key matter. | | **Vertical wheel**, **Horizontal wheel (tilt)** | Whether wheel ticks inside the zone are kept from counting as gesture modifiers and from firing wheel global events. | | **Follows** | Advanced mode. What the zone's position is measured against ([What a zone follows](https://input.observer/help/manual-exclusion-zones#follows)). | A zone that is anchored to a monitor (**Any monitor** or **The window**) is kept on one monitor while you edit it: moving it hands it to the monitor under its center, and resizing it stops at that monitor's edge. A **Stays put** zone can span monitors, but stays on the desktop. ## What a zone follows {#follows} **Follows** chooses how the zone's rectangle is used when you press a button: | Choice | The zone is | | --- | --- | | **Stays put** (the default) | Exactly where it is drawn, whichever monitor the pointer is on. | | **Any monitor** | The same distance from the top-left corner of the monitor the pointer is on, at the same size. It is not scaled to a bigger or smaller monitor. | | **The window** | Placed on the top-level window under the pointer instead of a monitor. The monitor the zone is drawn on stands in for that window. | For **The window**, four more choices say how the zone follows the window's size: | Choice | Options | | --- | --- | | **Left edge**, **Top edge** | **Proportional**: the edge stays at the same share of the window's width or height. **Fixed distance** (the default): the edge stays the same number of pixels from the window's left or top. | | **Width**, **Height** | **Proportional**: the size stays the same share of the window's size. **Fixed size** (the default): the size never changes. **Fixed margin**: the zone's right or bottom edge stays the same distance from the window's right or bottom edge, so the zone grows and shrinks with the window. | Example: a zone drawn over the top 120 pixels of a monitor, with **The window**, **Fixed distance** for both edges, **Proportional** width and **Fixed size** height, covers the top 120 pixels of whatever window is under the pointer, across its full width. :::note **Advanced mode.** **Follows** and the edge choices are shown in Advanced mode only. In Simple mode a note under the zone says when the selected zone follows something other than **Stays put**. ::: ## Zones for one app group {#groups} The zones on the **Exclusion zones** page apply to every window. An app group can have zones of its own, which apply only to windows in that group, on top of the zones for every window. Edit them in the **Exclusion zones** tab on the **App groups** page (Advanced mode); they work exactly like the zones on this page. When any app group has zones of its own, this page names those groups. A press inside either kind of zone passes through. In an ignored program, no press starts a gesture anyway ([Ignore groups](https://input.observer/help/manual-ignore-groups)). ## Problems shown under a zone {#issues} | Message | Meaning | | --- | --- | | **This zone lets nothing through** | No mouse button and no wheel is chosen, so the zone has no effect. | | **None of these buttons draws gestures** | The chosen buttons aren't draw buttons on the **General** page, and the zone doesn't cover a draw key that is set, so the zone has no effect until it does. | | **Not on a connected monitor** | The zone overlaps no monitor that is connected now. It is kept as it is; move it if that monitor is gone for good. | | **Has no area** | The width or height is zero or less (only possible from an edited configuration file). Enter a width and height. The zone's row in the list carries a warning dot. | # Settings and maintenance URL: https://input.observer/help/manual-settings > General settings, script settings, plugins, security, import and export, the configuration file, the console, the license and troubleshooting. These pages cover the settings that shape Input.Observer as a whole, and looking after it: protecting, moving and recovering your configuration, reading what the engine reports, and fixing problems. | Page | What it covers | | --- | --- | | [General settings](https://input.observer/help/manual-general) | The **General** page: draw buttons, starting and ending a gesture, the stop-all hotkey, AutoHotkey, startup | | [Script settings](https://input.observer/help/manual-scripts-settings) | The **Scripts** page: timeouts, limits and behavior for running actions | | [Plugins](https://input.observer/help/manual-plugins) | Adding, enabling and removing plugins, the renderer, plugin settings, what happens when a plugin fails | | [Security](https://input.observer/help/manual-security) | Password protection for your configuration, license and console, and what a forgotten password means | | [Import and export](https://input.observer/help/manual-import-export) | Copying all or part of your configuration to a file and back, and importing from StrokesPlus.net | | [The configuration file](https://input.observer/help/manual-config-file) | Where your configuration lives, automatic backups, recovery, pointing Input.Observer at another file, editing it by hand | | [Console](https://input.observer/help/manual-console) | The diagnostic console: running a script, reading engine and script output, the **Console** page | | [About and license](https://input.observer/help/manual-about-license) | The **About** page, the trial, entering a license key, the license agreement and third-party notices | | [Troubleshooting](https://input.observer/help/manual-troubleshooting) | Symptoms, causes and fixes | - [General settings](https://input.observer/help/manual-general) — Every setting on the General page — starting and ending a gesture, what happens on a match, the stop-all hotkey, AutoHotkey, notifications, startup and the config file — with defaults and ranges. - [Script settings](https://input.observer/help/manual-scripts-settings) — The Scripts page: timeouts and limits for running actions and plugin calls, the typing delay, and how actions send media keys and bring windows to the front. - [Plugins](https://input.observer/help/manual-plugins) — Managing plugins: the Plugins page, adding a plugin, the renderer, enabling and removing, plugin settings, preview, what happens when a plugin fails, and what trusting a plugin means. - [Security](https://input.observer/help/manual-security) — Password protection for your configuration, autocorrect list, license and console settings: setting, changing and removing the password, when you are asked for it, and what a forgotten password means. - [Import and export](https://input.observer/help/manual-import-export) — Exporting all or part of your configuration to a file, importing one back with a preview of every change, what merges and what replaces, and importing from StrokesPlus.net. - [The configuration file](https://input.observer/help/manual-config-file) — Where your configuration lives, the automatic backups, what happens when the file can't be loaded, keeping it somewhere else, and editing it by hand. - [Portable copy](https://input.observer/help/manual-portable) — Running Input.Observer from a folder without installing it: the three ZIP files, what each one adds, what a portable copy can't do, and updating or removing it. - [Console](https://input.observer/help/manual-console) — The diagnostic console: running a script, reading what the engine and your scripts report, Script Help, and the Console page's settings. - [About and license](https://input.observer/help/manual-about-license) — The About page: version, the trial and your license, entering a license key, the license agreement, third-party notices and the welcome. - [Troubleshooting](https://input.observer/help/manual-troubleshooting) — Symptoms, causes and fixes: gestures, right-clicks, hotkeys, text expansion, programs running as administrator, input other programs send, starting up, the configuration window, plugins, Safe Mode, recovering from a bad change and recording a trace. # General settings URL: https://input.observer/help/manual-general > Every setting on the General page — starting and ending a gesture, what happens on a match, the stop-all hotkey, AutoHotkey, notifications, startup and the config file — with defaults and ranges. The **General** page holds the settings that apply to every gesture and every action: which buttons draw gestures, when a gesture starts and ends, what happens when one matches, the safety hotkey, AutoHotkey, startup, and where the configuration file is. Changes take effect when you choose **Apply** or **Save and close**. ## Finding a setting {#filter} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: General Page: General — Capture behavior, script basics, startup, and the config file. ① [‹Filter…›] ② (•) All ( ) Changed 2 changed Card: Starting a gesture ③ Draw buttons: [ ] Left button [x] Right button [x] Middle button [ ] Side button 1 [ ] Side button 2 Ignored modifier keys: [x] Ctrl [ ] Shift [ ] Alt ``` - **The filter box** ① shows only the rows whose label or description contains every word you type (case doesn't matter). "No settings match the filter." appears when nothing does. - **All / Changed** ② narrows the page to the rows you changed from their defaults. In Advanced mode a third choice, **Advanced only**, shows only the rows Simple mode hides. The count beside it ("2 changed") counts the rows that differ from their defaults. - **The changed dot** ③: a row whose value differs from its default has a dot beside its label ("Changed from its default"). - Each row is one line; its description opens from the chevron beside it and shows on the label's tooltip. :::note **Advanced mode.** The **Fine-tuning** and **Config file** cards, and several rows in the other cards, are hidden in Simple mode. A banner at the foot of the page counts them and says when one holds a non-default value. The tables below mark them "Advanced". ::: Some settings that belong with these are on the pages where they are used: | Setting | Page | | --- | --- | | Match threshold, stroke smoothing quality and the other gesture matching settings | **Gestures**, **Settings** tab ([Gesture library](https://input.observer/help/manual-gesture-library)) | | Text expansion on or off, and expanding on Space, Tab, Enter or punctuation | **Text expansion**, **Settings** tab ([Text expansion](https://input.observer/help/manual-text-expansion)) | | Timeouts and limits for running actions | **Scripts** ([Script settings](https://input.observer/help/manual-scripts-settings)) | | Recording and replay settings | **Recorder**, **Settings** tab ([Macro recorder](https://input.observer/help/manual-recorder)) | | Console and engine fonts | **Console** ([Console](https://input.observer/help/manual-console#console-page)) | | Theme and language | **Appearance** ([Appearance](https://input.observer/help/manual-appearance#theme-language)) | | How long a password is remembered | **Security** ([Security](https://input.observer/help/manual-security#remember)) | ## Starting a gesture {#starting} | Setting | What it does | Default | Range | Mode | | --- | --- | --- | --- | --- | | **Draw buttons** | The mouse buttons that start a gesture: **Left button**, **Right button**, **Middle button**, **Side button 1**, **Side button 2**, in any combination. The left button is unusual but valid, for example for a pen or tablet with no separate second button. With none chosen, the mouse draws no gestures, and Input.Observer receives mouse input only if something else needs it (such as a mouse global event). An app group can turn its draw buttons off with **Draw buttons start gestures here** ([App groups](https://input.observer/help/manual-app-groups#behavior)). | **Right button** | Any combination | Simple | | **Combinations only** | Draw buttons that never draw a gesture. Holding one still works with the wheel, another button, a key and tap sequences; moving it gives the press to the window, so dragging with it works as usual. Only draw buttons are offered. See [Combinations only](https://input.observer/help/manual-drawing#combinations-only). | None | Any of the draw buttons | Simple | | **Draw key** | A keyboard key that draws a gesture while you hold it, like a draw button. On a Japanese keyboard, **Caps Lock** can't draw, so pick another key. See [The draw key](https://input.observer/help/manual-drawing#draw-key). | **None** | **None**, **Caps Lock**, **Scroll Lock**, **Pause**, **Insert**, **Menu key**, **F13**–**F24** | Advanced | | **Ignored modifier keys** | Holding any of these keys when you press a draw button or the draw key makes that press an ordinary click, drag or key press: no gesture starts. See [Modifiers and timing](https://input.observer/help/manual-modifiers-timing). | **Ctrl** | **Ctrl**, **Shift**, **Alt**, in any combination | Simple | | **Minimum gesture movement** | How far the pointer must move with a draw button held before the press counts as a gesture. A shorter movement is passed on as a normal click — for example, a right-click still opens the window's menu. At 0, the slightest movement makes it a gesture. | 5 px | 0–200 px | Advanced | | **Combinations-only drag distance** | How far the pointer must move with a **Combinations only** button held before the press goes to the window as a drag. Keep it above the small movement of pressing the button, so holding it for the wheel or a key isn't cut short. At 0, the slightest movement gives the press back. | 20 px | 0–200 px | Advanced | | **Wheel modifier window** | A wheel turn this soon before you press a draw button counts as part of the gesture, the way a key held before it does. | 500 ms | 0–10000 ms | Advanced | | **Tap sequences** | Runs [tap sequence triggers](https://input.observer/help/manual-action-editor#sequence-trigger): tap a draw button once, or tap one and then another or the same one again within the time set here. While it is on, a tap of a button that starts a two-tap sequence reaches the window up to that time late, and a click of a button that isn't a draw button, or a key you press, during that wait can reach the window first. Off, no tap sequence runs and nothing is delayed. | Off, 300 ms | 100–1000 ms | Simple | When Windows has the left and right mouse buttons switched, a note on this card says so. The names here follow Windows: **Right button** is the button that opens context menus, which is the physical left button on your mouse. ## Ending a gesture {#ending} | Setting | What it does | Default | Range | Mode | | --- | --- | --- | --- | --- | | **Cancel timeout** | Cancels a gesture you are still drawing after this long without input, and hands the button press to the window under the pointer. Switched off, a gesture stays open until you release the button. At 0, every gesture is cancelled the moment it starts, so no gesture can be drawn. An app group can set its own value ([App groups](https://input.observer/help/manual-app-groups)). | On, 500 ms | 0–10000 ms | Simple | | **Drawing extends the cancel timeout** | While on, any mouse or keyboard input during a gesture starts the cancel timeout again, so the timeout only ends a gesture when the pointer stays still. Off, the whole gesture must be finished within the cancel timeout, counted from the press — a slow gesture is cut off while you are still drawing it; the row warns about this. | On | On or off | Advanced | | **Maximum gesture duration** | Ends a gesture still being drawn after this long, even while you keep drawing. It exists for the rare case where the button release never reaches Input.Observer (for example, the release happened on the Windows sign-in screen): until a gesture ends, Input.Observer holds back your keys and other buttons. 0 means no limit. | 10000 ms | 0–600000 ms | Advanced | ## When a gesture matches {#matched} | Setting | What it does | Default | Mode | | --- | --- | --- | --- | | **Activate the window under the gesture** | Brings the window you drew over to the front before its action runs, so anything the action types goes there. Mouse gestures only. | On | Simple | | **Fall back to Global** | When an app group has nothing for a gesture, hotkey or typed text, or doesn't apply in the active profile, the Global group's actions are tried. Each app group can also turn this off for itself. Off, no group ever falls back, and a window that belongs to no app group gets no actions at all. See [Scope and fallback](https://input.observer/help/manual-scope-bubbling). | On | Simple | ## Fine-tuning {#fine-tuning} :::note **Advanced mode.** The whole **Fine-tuning** card is hidden in Simple mode. ::: | Setting | What it does | Default | Range | | --- | --- | --- | --- | | **Release keys let go during a gesture** | Keyboard input is held back while you draw a gesture. If a key that was already down is let go during the gesture, its release is sent afterwards, so the window doesn't think the key is still held. | On | On or off | | **Remember each window's program** | Looks up which program a window belongs to once, so app groups that match a program name or path don't slow clicks and keystrokes down. Remembers up to 32 windows. It changes speed only, never which app group a window gets. | On | On or off | | **Wheel throttle** | The least time between two wheel-tick global events of the same kind, **Vertical** and **Horizontal** separately. The same values are on the **Global events** page ([Global events](https://input.observer/help/manual-global-events)). 0 means no throttle. | 0 ms, 0 ms | 0–60000 ms each | ## Scripts & actions {#scripts} | Setting | What it does | Default | Range | Mode | | --- | --- | --- | --- | --- | | **Stop all actions hotkey** | Stops every running action, including a stuck one, then switches off gestures, hotkeys, text expansion, timers, folder watches and serial monitors until you choose **Reload Config** from the tray menu. Works even while a gesture, a recording or gesture training is in progress. The switch turns the hotkey off; the key combination is kept. The combination must include **Ctrl**, **Alt** or the Windows key. | On, Ctrl+Shift+Alt+F9 | — | Simple | | **Enable AutoHotkey** | Lets actions run as AutoHotkey scripts ([Action engines](https://input.observer/help/manual-action-engines)). Off by default: turning it on lets Input.Observer start an AutoHotkey program you choose. | Off | On or off | Simple | | **AutoHotkey executable** | The AutoHotkey v2 program, chosen with **Browse…**. "Not set" until you choose one. Disabled while AutoHotkey is off. The builds whose name ends in `_UIA` (such as `AutoHotkey64_UIA.exe`) can't run scripts for Input.Observer; choose the plain build, such as `AutoHotkey64.exe`. | Not set | — | Simple | | **Windows notifications** | Lets actions show Windows notifications (the **Show a notification** step). Showing one needs a Start menu shortcut for Input.Observer, which it creates the first time if setup didn't; turning this off also stops it from adding that shortcut. | On | On or off | Simple | ### The stop-all hotkey {#stop-all} Press Ctrl+Shift+Alt+F9 (or the combination you chose) when an action runs away. Everything stops and stays off until you choose **Reload Config** from the tray menu, which starts gestures, hotkeys and the rest again with your configuration as saved. If Windows or another program already uses the combination, Input.Observer shows "Configuration Warning" at startup and runs without it; choose a different combination here. If AutoHotkey is on but the chosen program can't be found when Input.Observer starts or reloads its configuration, it asks whether to browse for it or leave it; AutoHotkey actions don't run until it's fixed. ## Startup {#startup} | Setting | What it does | Default | Range | Mode | | --- | --- | --- | --- | --- | | **Start with Windows** | Starts Input.Observer when you sign in to Windows. Saved with the rest of the page; it is stored in Windows, not in your configuration file, so it is never exported or imported. | Chosen during setup (on unless you cleared it) | On or off | Simple | | **Splash screen duration** | The shortest time the splash screen shows when Input.Observer starts. The splash always appears, even briefly: while it is the active window, Windows lets Input.Observer give other programs (the configuration window, plugins, your actions) permission to bring their windows to the front. At 0 it shows only while startup work runs. | 1000 ms | 0–10000 ms | Advanced | ## Config file {#config-file} :::note **Advanced mode.** The **Config file** card is hidden in Simple mode. ::: **Effective config file** shows the configuration file the running engine actually uses, with "(redirected)" after it when the usual file points to another one, and whether it is **Encrypted** or **Plain text**. **Reveal** opens File Explorer with the file selected. To change where the configuration lives, see [The configuration file](https://input.observer/help/manual-config-file#redirect). # Script settings URL: https://input.observer/help/manual-scripts-settings > The Scripts page: timeouts and limits for running actions and plugin calls, the typing delay, and how actions send media keys and bring windows to the front. The **Scripts** page holds the settings that control how actions run, whatever they are written in (Steps, Script or AutoHotkey). Changes take effect when you choose **Apply** or **Save and close**. :::note **Advanced mode.** The whole **Scripts** page is hidden in Simple mode; it is in the **Engine** section of the navigation. The settings keep working in Simple mode with whatever values they have. ::: For how actions run in general — one thread each, what stops them, what a failing step does — see [How scripts run](https://input.observer/help/script-how-scripts-run). The AutoHotkey switch and program are on the [General](https://input.observer/help/manual-general#scripts) page. ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Scripts Page: Scripts — Timeouts, limits and behavior for running actions and scripts. Card: Limits and timeouts Before and after timeout: [3000] ms Maximum running actions: [50] Card: Behavior Typing delay: [30] ms ``` ## Limits and timeouts {#limits} | Setting | What it does | Default | Range | | --- | --- | --- | --- | | **Before and after timeout** | How long each Before or After script may run ([Before and after actions](https://input.observer/help/manual-before-after)). One still running after this is stopped and the next step starts; the stop is written to the console's **System** section, with no prompt. The matched action itself is never cut short. At 0, each Before or After script gets one very short wait before it is stopped. | 3000 ms | 0–60000 ms | | **Start and shutdown wait** — **Started**, **Shutting down** | How long the **Config loaded** event (when Input.Observer starts) and the **Engine shutting down** event can run before you are asked whether to keep waiting ([Global events](https://input.observer/help/manual-global-events)). Input.Observer never stops them on its own: if you choose to keep waiting, it asks again after the same time. When Windows signs out, restarts or shuts down, nothing is asked: the engine closes after this time. When a save or **Reload Config** runs **Config loaded** again, there is no time limit and no prompt. At 0 you are asked at once. | 10000 ms each | 0–600000 ms each | | **Maximum running actions** | A safety limit on how many actions and scripts run at the same time. Reaching it does what the stop-all hotkey does: every running action stops, and gestures and other input handling stay off until you choose **Reload Config** from the tray menu. It protects against an action that keeps starting itself. | 50 | 1–10000 | | **Maximum time scripts can block input** | The longest `EngineConsumePhysicalInput` or a replay of a temporary macro recording can keep your own mouse and keyboard input from reaching other programs. A longer request is shortened to this. | 120 s | 1–86400 s | | **Plugin command queue size** | How many `PluginSendMessage` calls can wait for one plugin at a time. One more is refused, which stops the script that made it with an error. 0 queues none: a call made while another is waiting for the same plugin is refused. | 10 | 0–1000 | | **Plugin call timeout** | How long a script waits for a plugin to answer a call to one of its script functions, or a run on its script engine ([Plugins](https://input.observer/help/manual-plugins)). After that, the call is cancelled and the script stops with an error. Time spent running the plugin's [call-backs](https://input.observer/help/manual-plugins#callbacks) doesn't count. 0 waits until the plugin answers or you stop all actions. | 10000 ms | 0–2147483647 ms | | **Plugin calls waiting at once** | How many calls to one plugin's script functions or script engine can wait for an answer at the same time, from all running scripts together. One more is refused at once, which stops the script that made it with an error. | 16 | 1–2147483647 | ## Behavior {#behavior} | Setting | What it does | Default | Range | | --- | --- | --- | --- | | **Typing delay** | The pause between characters when an action types text, and between the keystrokes of a text expansion. Some programs, such as Notepad on Windows 11, scramble text typed with no pause. 0 sends the characters back to back. | 30 ms | 0–1000 ms | | **Send media and browser keys as commands** | Sends the media, volume and browser keys (play, next track, volume up, browser back and so on) to the control that last had the keyboard focus as commands, instead of as keystrokes. Some controls respond to these keys only that way. Every other key is sent as a keystroke either way. | Off | On or off | | **Allow bringing windows to the front** | Lets Input.Observer turn off Windows' delay that stops programs from taking the focus, once, when it starts, so its actions can bring windows to the front immediately. Off, Windows may only flash a window's taskbar button instead of activating it. This setting applies to your whole Windows session, not only to Input.Observer. | On | On or off | # Plugins URL: https://input.observer/help/manual-plugins > Managing plugins: the Plugins page, adding a plugin, the renderer, enabling and removing, plugin settings, preview, what happens when a plugin fails, and what trusting a plugin means. A plugin is a separate program that works with Input.Observer. Most draw things: the **Styles** plugin, which comes with Input.Observer, draws the animated trail styles and the decorated hints and messages. Others can add functions that scripts call, or run actions written in another language. Input.Observer starts, watches and stops every plugin itself; you never start a plugin by hand. This page covers managing plugins. Writing one is described in the separate plugin developer documentation. :::note **Advanced mode.** The **Plugins** page is in the **Engine** section of the navigation, which is hidden in Simple mode. Plugins keep running in Simple mode, and the **Appearance** page shows and controls the renderer's styles in either mode. ::: **Changes on this page take effect at once.** They are not part of your configuration's unsaved changes: **Apply** isn't needed, and **Discard** doesn't undo them. Plugins are never exported or imported. ## The Plugins page {#page} ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Plugins Page: Plugins — 2 registered · 2 healthy [Refresh] ① [Add Plugin…] Plugins are separate programs that draw gesture trails, hints and messages for the engine. Changes here apply immediately; they are not part of the saved configuration. ② Table: | Name | Path | Capabilities | Status | Actions | | Input.Observer.Styles | C:\Program Files\Input.Observer\Input.Observer.Styles.exe | Styles | Healthy | Disable | | Sample Plugin | D:\Tools\SamplePlugin.exe | Script functions | Not in use | Use as renderer | ``` The page lists every registered plugin ②, with a search box and a status filter (**All statuses**, **Healthy**, **Needs attention**, **Disabled**) above the list. The title line counts the registered and the healthy plugins. | Column | What it shows | | --- | --- | | **Name** | The plugin's name. The renderer's row has a **Renderer** badge. The copy button copies the name exactly, which is what a script's `PluginSendMessage` call needs. | | **Path** | The plugin's program file. The button at its end opens File Explorer with the file selected. | | **Capabilities** | What the plugin offers: **Gesture trail**, **Hint**, **Display message**, **Styles**, **Script commands**, **Script functions**, **Script engine**, **Settings**, **Settings here**. A plugin that isn't running shows what it offered when it last ran. | | **Status** | See the table below. | | **Actions** | The buttons that apply to this plugin right now (below). | | Status | Meaning | | --- | --- | | **Healthy** | Running and answering. | | **Starting…** | Being started. The page checks again every second until it settles. | | **Not in use** | A drawing plugin that isn't the renderer, or the renderer while nothing is set to it. It isn't running, and uses no memory ("Not in use" below). | | **Not responding** | Running but hasn't answered for 10 seconds. Input.Observer restarts it. | | **Disabled** | Switched off with **Disable**. | | **Auto-disabled -- failed to start** | Failed to start several times in a row. Input.Observer stopped trying ("When a plugin fails" below). | | **Closed by the plugin** | The plugin closed itself on purpose. It stays closed until you choose **Retry**, disable and enable it, or restart Input.Observer. | The buttons in **Actions**: | Button | Shown when | What it does | | --- | --- | --- | | **Use as renderer** | A drawing plugin that is switched on and isn't the renderer | Makes it the renderer (below). | | Settings (gear) | The plugin has settings and is running or not in use | Opens its settings (below). | | **Preview** / **Stop preview** | The plugin draws a trail, a hint or messages, and is running or not in use | Shows what it draws (below). | | **Retry** | Auto-disabled, or closed by the plugin | Starts it again and clears the failure count. | | **Allow call-backs** / **Block call-backs** | The plugin provides script functions or a script engine | See "Call-backs" below. | | **Enable** / **Disable** | Always | Starts or stops the plugin and keeps it registered. | | **Remove** | Always | Stops the plugin and forgets it. The program itself is not deleted. | **Disable** and **Remove** ask first when scripts in your configuration need the plugin — scripts that run in its script engine or call its functions — and list them. Those scripts stop working while the plugin is gone. ## Adding a plugin {#add} 1. Choose **Add Plugin…** ① and pick the plugin's program (`.exe`). 2. Input.Observer starts the program once to ask for its name, then starts it again and checks that it connects and answers. This takes a few seconds. 3. If it passes, the plugin is added at the top of the list and keeps running. If it draws trails, hints or messages, it also becomes the renderer, and a "Renderer changed" note says so. If the plugin doesn't pass, "Couldn't Add Plugin" explains why: the file isn't there, the program didn't answer or answered wrongly (it may not be an Input.Observer plugin), it took too long, its name is already used by another registered plugin, or its script functions or script engine use names another plugin already uses. In each case nothing is added. Input.Observer keeps the plugin's path relative to its own folder when the plugin is inside it, so a plugin installed beside Input.Observer keeps working if Input.Observer moves. ### Trusting a plugin {#trust} - **Adding a plugin runs it.** Step 2 starts the program at once, with your permissions, and from then on Input.Observer starts it every time it starts. Input.Observer doesn't check who made a plugin or whether it is signed. Add only programs from sources you trust, as you would before running any program. - A plugin runs as its own program. It never runs inside Input.Observer, and Input.Observer never waits for a plugin while handling your mouse and keyboard, so a slow or broken plugin can't make your input lag. - A plugin that draws gets your gesture strokes and the text of hints and messages, so it can draw them. - A plugin with script functions gets the values scripts pass to those functions. ## The renderer {#renderer} The renderer is the one plugin that draws for Input.Observer: the trail styles, and hints and messages when those are set to **Match style** on the **Appearance** page. Only one plugin is the renderer at a time. A standard installation registers the Styles plugin as the renderer. To make another drawing plugin the renderer, choose **Use as renderer** on its row. The engine switches at once: the new renderer starts, the previous one stops and shows **Not in use**, and the trail, hints and messages the new plugin can draw are set to it. Your choices on the **Appearance** page then decide what it draws ([Appearance](https://input.observer/help/manual-appearance)). A plugin that offers no styles shows as a single tile in the gallery, under its own name; its own settings decide how it draws. Disabling or removing the renderer leaves no renderer: Input.Observer's classic trail, hint window and message window draw until you choose another. ## Not in use {#not-in-use} Input.Observer doesn't run a plugin that has nothing to do. A drawing plugin runs only while it is the renderer and something on the **Appearance** page is set to it. A plugin that provides script functions or a script engine always runs while it is enabled. A plugin that isn't in use is started for a moment when you open its settings or preview it, and goes back to **Not in use** afterwards. The Styles plugin stops about a minute after your last change in its settings. A script's `PluginSendMessage` call to a drawing plugin that isn't running fails with an error saying so; it does not start the plugin. ## Plugin settings {#settings} The gear on a plugin's row opens its settings: - A plugin marked **Settings here** shows its settings in a window drawn by the configuration window, with a section list on the left. The Styles plugin's are described in [Gesture trails](https://input.observer/help/manual-trails#customize). - Any other plugin with **Settings** opens its own settings window. A plugin that isn't running is started first, so the window may take a few seconds to fill. **Changes take effect at once and are saved by the plugin itself**, in its own file beside your configuration file; they don't wait for **Apply**, and **Discard** doesn't undo them. **Restore defaults** puts the selected section back to the plugin's defaults. If a change can't be made, a note in the window says why: the plugin didn't start or doesn't offer these settings, didn't answer in time, refused the change, or made it but couldn't save it. ## Preview {#preview} **Preview** shows what a drawing plugin would draw, without a real gesture: a trail that follows your pointer, a sample hint and a sample message. Right-click to see the trail end and start again; the right-click opens nothing while previewing. While a preview runs, **gestures are paused** everywhere, and a banner on the page says so. The preview ends when you press Esc, choose **Stop preview**, leave the **Plugins** page, or the plugin stops. A preview can't start while a macro recording or gesture training is running. ## When a plugin fails {#failures} Input.Observer checks every running plugin every 5 seconds. - **A plugin that stops answering** for 10 seconds (two missed checks) shows **Not responding** and is restarted. - **A plugin that exits unexpectedly** is restarted 10 seconds later. - **A plugin that fails to start** is tried again after 2, 5 and 10 seconds. After the third failed attempt it is **Auto-disabled -- failed to start** and Input.Observer leaves it alone, even across restarts, until you choose **Retry**. The failure count goes back to zero once a plugin has run without trouble for 5 minutes. - **A plugin that closes itself on purpose** shows **Closed by the plugin** and isn't restarted until you choose **Retry**, disable and enable it, or restart Input.Observer. While the renderer is down, Input.Observer's classic trail, hint window and message window draw in its place, and the **Appearance** page says so with a **Restart** button. Each time this happens, a line goes to the console's **System** section ([Console](https://input.observer/help/manual-console)). When Input.Observer starts, it starts each plugin that has work to do and waits up to about 5 seconds for each; the splash screen names the plugin it is loading. A plugin that misses that time is picked up a little later. When Input.Observer exits, it closes every plugin, and a plugin can never keep running after Input.Observer has stopped. In Safe Mode no plugin is started ([Troubleshooting](https://input.observer/help/manual-troubleshooting#safe-mode)). ## Call-backs {#callbacks} A plugin that provides script functions or a script engine may ask to run Input.Observer script while it handles a call. This is blocked unless you choose **Allow call-backs** on its row and confirm. Allow it only for a plugin you trust: its requests can then do anything a script here can — press keys, move and close windows, run programs — including in windows running as administrator, which the plugin can't reach on its own. **Block call-backs** takes the permission away again. # Security URL: https://input.observer/help/manual-security > Password protection for your configuration, autocorrect list, license and console settings: setting, changing and removing the password, when you are asked for it, and what a forgotten password means. Your configuration can hold things you'd rather others didn't read: text that actions type, paths, script code. A password encrypts the files that hold them, so someone who copies or opens the files sees nothing useful without the password. Protection is a deterrent against casual reading, not a vault: while Input.Observer runs, it has your configuration open, and anything an action does is visible on screen as usual. **There is no way to recover a forgotten password.** Nobody, including you and the makers of Input.Observer, can decrypt a protected file without it. Read [If you forget the password](https://input.observer/help/manual-security#forgotten) before you set one. **Changes on the Security page take effect at once.** They don't wait for **Apply**, and **Discard** doesn't undo them. ## What the password protects {#protected-files} One password protects these files, all kept together in your configuration folder ([The configuration file](https://input.observer/help/manual-config-file#location)): | File | Holds | | --- | --- | | **Configuration (config.toml)** | Everything you set up: groups, actions, gestures, settings | | **License (license.dat)** | Your license email and key | | **Console (console.toml)** | The console's script editor text and window position | | **Autocorrect list (autocorrect.txt)** | The [autocorrect](https://input.observer/help/manual-autocorrect) list, which shows words you type | They are all protected or none is; there is no password per file. A file that doesn't exist yet (for example, the license file before you activate a license) is protected as soon as it is created. The **Protection status** card shows all four. An older engine that has no autocorrect list shows only the first three. These are **not** protected: - which gesture profile is active; - values scripts store between runs (the `Storage` builtins); - macro recordings, in the `Recordings` folder; - trace files, in the `Logs` folder ([Recording a trace](https://input.observer/help/manual-troubleshooting#trace)); - plugin settings, such as the Styles plugin's settings file, and style purchase files; - exported files: an export is always plain text, and the export dialog warns you when your configuration is protected ([Import and export](https://input.observer/help/manual-import-export)). When you turn protection on, the plain-text backups of your configuration in its `Backup` folder are deleted, so an older copy can't give away what you just protected. Backups made from then on are encrypted ([Backups](https://input.observer/help/manual-config-file#backups)). ## The Security page {#page} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: Security Page: Security — Password protection for your configuration, license, console and autocorrect list. Changes here apply immediately. Card: Protection status Configuration (config.toml): Not protected License (license.dat): Not protected Console (console.toml): Not created yet Autocorrect list (autocorrect.txt): Not created yet Card: Password ① Not set: [Set password…] ② Remember for: ─[20%]─ [60] — How long a correctly-typed password is remembered before you're asked again. 0 asks every time. ``` **Protection status** shows each file as **Password protected**, **Not protected**, or **Not created yet**. The **Password** card shows whether a password is **Set** or **Not set**. ## Setting a password {#set} 1. On the **Security** page, choose **Set password…** ①. 2. Type the password in **New password** and again in **Confirm password**, and choose **OK**. The files are encrypted at once. The tray menu's **Set Password...** does the same. ## Changing or removing the password {#change} Once a password is set, the button reads **Change or remove…** (the tray menu's item reads **Change Password...**). ```ui-mockup Dialog: Change or remove password Current password: [••••••••] ① New password: [‹›] Confirm password: [‹›] Leave New password blank to remove protection instead. [OK] [Cancel] ``` - **To change it**, type the current password, then the new one twice. - **To remove protection**, type the current password and leave **New password** ① and **Confirm password** blank. All the files are decrypted. If the current password is wrong, nothing is changed and the page says so. ## When you are asked for the password {#asked} - **Every time Input.Observer starts.** It can't read your configuration without it. Cancelling closes Input.Observer. - **When you open the configuration window**, unless the password is still remembered (below). - **When you open the console**, unless it is still remembered. - When something saves a protected file and the password isn't remembered, for example the tray menu's **Global Actions** switch. ### Remember for {#remember} **Remember for** ② on the **Password** card sets how long a correctly typed password is remembered, so you aren't asked several times in a row — at startup, for example, the configuration, the license and the console settings may all need it within seconds. | Setting | Default | Range | | --- | --- | --- | | **Remember for** | 60 s | 0–300 s; 0 asks every time | While the configuration window or the console is open, the remembered password doesn't run out; the time starts again when you close the window. A remembered password is held encrypted in memory and is always checked against the file again before it is used. Changing this setting while your configuration is protected saves the configuration, which needs the password. If none is at hand, the page says so: open **Change or remove…** once to confirm the password, then try again. ## When the files don't match {#mixed} If some of the files are protected and others aren't (for example, a file was restored from an old copy), the **Security** page shows "Your protected files are not all in the same state", with **Protect them all…** and **Remove protection from them all…**. Input.Observer also asks at every start until it is fixed, offering to encrypt all the files (recommended), to remove protection from all of them, or to leave the files as they are. ## If you forget the password {#forgotten} There is no reset and no recovery code. What you can do depends on the file: - **Configuration.** After three wrong passwords at startup (or when opening the console), Input.Observer offers **Browse for a configuration file**, **Start fresh with a new default configuration** or **Close Input.Observer** ([Recovery](https://input.observer/help/manual-config-file#recovery)). Browsing or starting fresh renames the protected file aside, still encrypted, rather than deleting it, so it can still be opened if you remember the password later. An exported file you kept is plain text and can be imported into the fresh configuration ([Import and export](https://input.observer/help/manual-import-export)). Backups in the `Backup` folder are encrypted with the password that was in use when each was made. - **License.** If you cancel the license password prompt at startup, Input.Observer says it can't read your license file and then asks you to activate, as if no license were there. Enter your license email and key again ([About and license](https://input.observer/help/manual-about-license#activate)). - **Console.** The console won't open without the password. Its file only holds the console's script editor text and window position; deleting `console.toml` from your configuration folder lets the console open again, empty. If Input.Observer then reports that the protected files aren't all in the same state, choose to protect them all. # Import and export URL: https://input.observer/help/manual-import-export > Exporting all or part of your configuration to a file, importing one back with a preview of every change, what merges and what replaces, and importing from StrokesPlus.net. Export writes all or part of your configuration to a file you can keep, share or take to another computer. Import reads such a file back, shows you every change it would make, and makes none until you agree. Both are on the **⋯** menu in the configuration window's title bar, with **Import from StrokesPlus.net…**. ```ui-mockup Menu: ① Import… Import from StrokesPlus.net… ② Export… ──── Show welcome… ``` The file is a plain-text configuration file in the same form as your own `config.toml`, holding only the parts you chose. A file you write by hand with some of `config.toml`'s sections imports the same way. ## Exporting {#export} 1. Open the **⋯** menu and choose **Export…** ②. 2. In **Choose what to export**, tick what you want. Nothing starts ticked; **Select all** and **Select none** help, and **Filter by name…** finds an item. Space ticks the selected item. 3. Choose **Export…** and pick where to save the file (`input-observer-export.toml` by default). ```ui-mockup Dialog: Export configuration Choose what to export [‹Filter by name…›] List: Choose what to export - App groups — Global, Web browsers, Excel (selected) - Gestures — Used by checked items: 3 - Profiles - Snippets - Exclusion zones - Global events - Appearance - Settings Plugins, the AutoHotkey settings, the password cache time and Start with Windows are never exported. [Select all] [Select none] [Cancel] [Export…] ``` What you can export: | Category | What's under it | | --- | --- | | **App groups** | Each app group, with a **Group settings** item (its window rules, exclusion zones, profiles, before and after scripts and switches) and its actions, in folders by action category | | **Gestures** | Each gesture shape | | **Profiles** | Each gesture profile | | **Snippets** | Each snippet, in folders by category | | **Exclusion zones** | The zones that apply to every window | | **Global events** | Each global event, and the global before and after scripts | | **Appearance** | The hint window, the gesture trail and display messages | | **Settings** | General settings, gesture matching and text expansion | - **What the ticked items need comes along.** A gesture or profile that a ticked action or group uses is ticked for you and can't be unticked; it shows how many ticked items use it. A snippet that a ticked script calls by name is ticked for you, but you can untick it. If a script calls a snippet your configuration doesn't have, the export says so after writing the file. - **A group's settings with only some of its actions** exports as that group holding just those actions. Actions without their group's settings export on their own, and the import asks which group they go to. - **Ticking everything** exports your whole configuration. - **Never exported:** plugins, the AutoHotkey settings, how long a password is remembered, and **Start with Windows**. These belong to one computer, or would let a shared file choose a program Input.Observer runs. Your license is never in your configuration at all. - **An export is always plain text**, even when your configuration is password-protected; the dialog warns you. Anyone who can open the file can read your scripts. ## Importing {#import} 1. Open the **⋯** menu and choose **Import…** ①, then pick the file. 2. The **Import** preview lists everything in the file and what would happen to each item. Decide each item the preview asks about (below). 3. Choose **Import**. 4. The result shows in the configuration window as unsaved changes. Look it over, then choose **Apply** or **Save and close** to keep it, or **Discard** to drop it. ```ui-mockup Dialog: Import Banner (warn): This file contains scripts (marked below). An imported script runs with your permissions whenever it's triggered, so only import files from people you trust. This file is a whole configuration ① (•) Merge it into your configuration ( ) Replace your configuration with it In this file ② Table: | Action | | | | Close tab | Already in your configuration | Overwrite | | Paste as plain text | New | Add | [Overwrite all] [Keep all] [Cancel] [Import] ``` ### What happens to each item {#decisions} Items in the file that your configuration doesn't have are added. Where an item matches one you already have, the preview asks ②, and **Import** stays unavailable until every such item is decided. **Overwrite all** and **Keep all** decide every open item at once. | Item | Matches yours when | Choices | | --- | --- | --- | | Gesture | It is the same gesture (it came from your configuration) | **Overwrite** (takes the file's shape and name) or **Keep yours** | | Gesture | A different gesture has the same name | **Keep yours**, **Overwrite**, or **Add alongside**. With the first two, the file's actions use your gesture. | | Action, profile | It is the same item | **Overwrite**, **Keep yours** or **Import as a copy** (a copy of a profile gets a new name ending in `-1`, `-2`…) | | App group | It is the same group; the file's Global group always matches yours | **Overwrite** or **Keep yours**, for the group's settings only. Its actions are listed one by one and merged into your group, so actions of yours the file doesn't hold stay. | | Snippet | It is the same snippet | **Overwrite**, **Keep yours** or **Import as a copy**. A snippet whose name you already use for a different one is added with `-1`, `-2`… after its name. | | Settings, a global event, the global before or after script | Always (there is one of each) | **Overwrite** or **Keep yours**. A settings section from the file changes only the settings it contains. | | Exclusion zone (every window) | Never | Always added | An action from the file goes into the group with the same identity in your configuration, or else into your Global group; the preview asks when actions arrived without their group. When an item gets a new name or identity, everything in the file that refers to it is updated to match, including snippet calls written as a plain name in scripts. ### Merge or replace {#replace} When the file is a whole configuration, the preview offers **Merge it into your configuration** (the rules above) or **Replace your configuration with it** ①. Replace makes the file your configuration. Plugins, the AutoHotkey settings, how long a password is remembered and **Start with Windows** keep their current values either way. ### What stops an import {#refused} **An import is all or nothing.** Before anything changes, Input.Observer builds the result and checks it the same way it checks your configuration when it starts. If the result wouldn't be valid, nothing is imported and the preview lists the problems. An import is refused when: - the file is encrypted — remove the password where it came from, export again, and import that file; - it isn't a configuration file Input.Observer can read, or it is larger than 8 MB; - it was written by a newer version of Input.Observer that this version can't read (parts that are only a little newer import, and the preview lists the settings it skipped); - an action uses a gesture, or a group or action is limited to a profile, that neither the file nor your configuration has; - the result would have more than one Global group, two snippets with the same name, or more than 64 gesture profiles; - Input.Observer itself finds a problem in the result, or can't check it, for example because the engine doesn't answer. Settings that are never imported are left out and listed. A script that calls a snippet neither side has is a warning, not a refusal. :::warning **Imported scripts run with your permissions** whenever they are triggered, like your own. The preview marks every item that contains a script, and AutoHotkey scripts separately. Import files only from people you trust. ::: ## Importing from StrokesPlus.net {#strokesplus} **Import from StrokesPlus.net…** reads a StrokesPlus.net settings file and turns it into an ordinary import preview, so everything above applies. 1. Open the **⋯** menu and choose **Import from StrokesPlus.net…**. The file picker opens in StrokesPlus.net's settings folder when there is one. A portable StrokesPlus.net keeps `StrokesPlus.net.json` beside its own program; browse to it there. 2. If the file is encrypted, enter the password it was saved with. 3. Check the preview. A box at the top lists, by kind, what didn't carry over or changed, with **Show every item** for the full list. 4. Choose **Import**, then **Apply** or **Save and close**. What to expect: - App groups, ignored programs, gestures, gesture actions, hotkeys, text expansions, global events, exclusion zones and the matching settings come over. Steps and scripts are translated into Input.Observer's own Steps and script language. - **Anything that didn't carry over intact is imported switched off**, with a note saying why: an action whose script couldn't be fully translated (the untranslated lines are kept as `// SP.net:` comments), an action whose gesture isn't in the file, an action started by mouse buttons alone, a hotkey without a key, a text expansion without trigger text, and an app group none of whose window rules has an equivalent. - **Where the note is:** in the action's **Notes**, under **Category** in Advanced mode ([The Actions page](https://input.observer/help/manual-action-editor#action-card)); an action that came over intact gets none. StrokesPlus.net's Hint Text comes over as the action's **Hint note**, or a text expansion's **Notes**. - **Text expansions come over close to how they worked in StrokesPlus.net.** Each one with trigger text is on the **Text expansion** page, the SendKeys and Script kinds included; one without trigger text has nothing to type, so it comes over on the **Actions** page, switched off with a note. The key that ended the typed text isn't typed (**Type the key that ended it** is off). The text expansion settings row turns **Expand on punctuation** off, since StrokesPlus.net ended typed text on Space, Tab and Enter only; keep your own settings instead and punctuation still ends typed text. A text expansion whose typed text contains a period, comma, exclamation mark or question mark comes over with a note: it expands only while **Expand on punctuation** is off. - **Gesture matching starts on Keep yours.** StrokesPlus.net scores a gesture by averaging its drawn examples; Input.Observer by default takes the best one. The file's matching settings are offered, but overwriting yours changes how your existing gestures score, so it is your choice. A match threshold below 50 comes in as 50, the lowest the **Gestures** page allows. Imported gestures may need their match settings revisited ([Matching](https://input.observer/help/manual-matching)). - StrokesPlus.net's older binary settings file (`.bin`) can't be read. Start StrokesPlus.net once so it saves `StrokesPlus.net.json`, then import that. - Importing the same file again lines its items up with the ones it imported before, instead of adding duplicates. # The configuration file URL: https://input.observer/help/manual-config-file > Where your configuration lives, the automatic backups, what happens when the file can't be loaded, keeping it somewhere else, and editing it by hand. Everything you set up in the configuration window is saved in one file, `config.toml`. Input.Observer reads it when it starts and whenever you apply changes. You never need to touch it: the configuration window reads and writes it for you. This page is for when you want to know where it is, keep it somewhere else, recover it, or edit it by hand. ## Where it is {#location} Input.Observer looks for `config.toml` in this order: 1. **Beside the program**, in the folder that holds `Input.Observer.exe`. If a `portable.txt` or a `config.toml` is there, Input.Observer uses the `config.toml` in that folder — this is how a copy run from a USB stick keeps its settings with it ([Portable copy](https://input.observer/help/manual-portable)). When there's no `config.toml` yet, or it's empty, that counts as a first run: Input.Observer creates or fills it with the starter setup. 2. Otherwise **in your user profile**: `%APPDATA%\Input.Observer\config.toml`. If that file contains only a pointer to another file, Input.Observer uses the other file ("Keeping the configuration somewhere else" below). To open the folder, choose **Open Config Folder** from the tray menu. In Advanced mode, the **General** page's **Config file** card shows the file in use and whether it is encrypted, and **Reveal** opens it in File Explorer. These files sit beside `config.toml` and always go with it: | File or folder | Holds | | --- | --- | | `license.dat` | Your license email and key | | `console.toml` | The console's script editor text and window position | | `autocorrect.txt` | The autocorrect list ([Autocorrect](https://input.observer/help/manual-autocorrect#file)) | | `gesture_profile.dat` | Which gesture profile is active | | `storage.toml` | Values scripts store between runs | | `styles.toml` | The Styles plugin's settings (other plugins may keep their own files here too) | | `Backup\` | Automatic backups of `config.toml` ("Backups" below) | | `Recordings\` | Saved macro recordings | | `Entitlements\` | Style purchase files ([Appearance](https://input.observer/help/manual-appearance#add-purchase)) | | `Logs\`, `trace.toml` | Trace files, and the areas the trace copy of the engine records ([Recording a trace](https://input.observer/help/manual-troubleshooting#trace)) | ## Backups {#backups} Each time Input.Observer exits, it copies `config.toml` into the `Backup` folder beside it — but only when the configuration has really changed since the newest backup. Comments, spacing and the order of entries don't count as changes. The newest 10 backups are kept; older ones are deleted. - Backup names carry the date and time in UTC, for example `config.20260923T180512Z.toml`, so sorting by name sorts by age. Each has a `.sha256` file beside it that Input.Observer uses to tell whether anything changed. - **A backup of a protected configuration stays encrypted**, with the password that was in use at the time. When you set a password, the plain-text backups are deleted ([Security](https://input.observer/help/manual-security#protected-files)). - **The autocorrect list is backed up with it.** When there is an `autocorrect.txt`, each backup holds a copy, protected or not as the list was at the time. - To go back to a backup, close Input.Observer (tray menu, **Exit**), copy the backup over `config.toml` under that name, and start Input.Observer again. ## When the file can't be loaded {#recovery} If `config.toml` exists but can't be read — it isn't valid, or the file it points to is missing — Input.Observer shows "Input.Observer can't load your configuration" at startup, with where it looked and, under **Details**, what is wrong. It offers three choices: | Choice | What happens | | --- | --- | | **Browse for a configuration file** | Pick another `config.toml` on this computer. Input.Observer uses that file where it is, and remembers it: the usual file becomes a pointer to it. If the usual file held settings, it is first renamed aside. If the file you pick can't be loaded either, the dialog shows why and asks again. | | **Start fresh with a new default configuration** | The broken file is **renamed, not deleted**, and a new minimal configuration is written in its place. | | **Close Input.Observer** | Nothing changes. Fix the file yourself, then start Input.Observer again. | A renamed file is named like `config.toml.broken-20260923-180512.bak`, in the same folder. If the file can't be renamed (for example, another program has it open) or the folder can't be written to, nothing is overwritten: the dialog tells you and asks again. The same dialog appears after three wrong passwords for a protected configuration — see [If you forget the password](https://input.observer/help/manual-security#forgotten). If there is no `config.toml` at all, that is a first run: Input.Observer creates a new one with the starter set and opens the welcome ([First run](https://input.observer/help/qs-first-run)). ## Keeping the configuration somewhere else {#redirect} You can keep your real `config.toml` in another folder — a synced folder, for example — and leave a pointer in the usual place. The pointer is a `config.toml` that contains only this: ```toml [config_location] path = "D:\\Sync\\Input.Observer\\config.toml" ``` - A relative path is read from the folder the pointer file is in. - Everything that goes with the configuration (the files in the table above) then lives beside the target file, not beside the pointer. - **Browse for a configuration file** in the recovery dialog writes this pointer for you. - If the target doesn't exist, Input.Observer shows the recovery dialog at startup rather than starting with defaults. **Reload Config** keeps the running configuration and says the target is missing. - The pointer is never encrypted, and is never exported or imported. Restart Input.Observer, or choose **Reload Config** from the tray menu, after changing the pointer. ## Editing the file by hand {#hand-editing} `config.toml` is a plain-text TOML file, and you can edit it with any text editor. Know these first: - **A protected configuration can't be edited by hand.** It is encrypted; remove the password first ([Security](https://input.observer/help/manual-security#change)). - **Apply your edit** with **Reload Config** from the tray menu, or restart Input.Observer. While the configuration window is open, it notices the file changed when you next save and asks whether to **Reload** (dropping your unsaved changes in the window), **Overwrite** the file, or **Keep editing**. - **If Reload Config can't read the file, it tells you.** The previous configuration stays in effect, and a **Configuration Not Reloaded** message names the line and column of the mistake, with the reason in English as the file reader reports it ([Reload Config](https://input.observer/help/manual-tray#reload-config)). Fix it and reload again. At the next start, the same mistake brings up the recovery dialog. - **Input.Observer repairs what it can and tells you.** An entry it can't use is skipped, and a value out of range is reset or limited. Each repair is listed in the console's **System** section, and the configuration window shows them as notes from the engine. A few serious cases also show a message at once. - **Input.Observer may rewrite the file.** When a setting it expects is missing, it writes the whole file back with every setting present, and comments you added are lost then. Keep notes elsewhere. - **A file larger than 8 MB** still runs, but the configuration window can't open it; Input.Observer warns at startup. - Make a copy before a large edit. The backups only cover changes made up to the last exit. # Portable copy URL: https://input.observer/help/manual-portable > Running Input.Observer from a folder without installing it: the three ZIP files, what each one adds, what a portable copy can't do, and updating or removing it. A portable copy runs from any folder you choose, such as a folder in your user profile or a USB stick, without running setup and without administrator rights. It keeps its configuration and license in that folder. The portable download is not signed. Use the setup program unless you need a copy that runs without installing. ## The three ZIP files {#zips} The **Portable** section of the download page has up to three ZIP files for each version. Extract every one you use into the same folder. | ZIP file | What it adds | When you need it | | --- | --- | --- | | **Input.Observer-*version*-Portable.zip** | Input.Observer itself, the help, and `portable.txt` | Always | | **Input.Observer-*version*-Portable-Extras.zip** | The configuration window, the styles plugin with its sounds, and `Input.Observer.Trace.exe` for [recording a trace](https://input.observer/help/manual-troubleshooting#trace) | To change your setup in the configuration window rather than by editing `config.toml`, or to use styles | | **Input.Observer-Portable-DotNet-*runtime version*-win-x64.zip** | The .NET 10 Desktop Runtime, in a `dotnet` folder | Only for the configuration window, and only if the .NET 10 Desktop Runtime isn't installed on the PC | Input.Observer and the Extras ZIP must be the same version. The .NET runtime ZIP is listed beside the version it goes with; several versions can share one. ## Setting it up {#setup} 1. Download the ZIP files you need. 2. Before you extract them, right-click each ZIP file, choose **Properties**, check **Unblock** and choose **OK**. Otherwise Windows marks every extracted file as downloaded, and warns about each program. 3. Extract them into one folder. 4. Start `Input.Observer.exe`. The portable programs aren't signed, so the first start can show **Windows protected your PC**. Choose **More info**, then **Run anyway**. The first start is a first run, the same as after setup: the license agreement, the activation window, then the configuration window's welcome. `portable.txt` beside `Input.Observer.exe` is what keeps the configuration in that folder ([Where it is](https://input.observer/help/manual-config-file#location)); the first start creates `config.toml` next to it with the starter setup. Leave `portable.txt` in the folder. When the Extras ZIP is in the folder at the first start, the styles plugin is added then and draws trails, hints and messages. If you extract it later, add the plugin once yourself: on the **Plugins** page, which shows in Advanced mode, choose **Add Plugin…** and pick `Input.Observer.Styles.exe` in the folder ([Adding a plugin](https://input.observer/help/manual-plugins#add)). Then choose a style on the **Appearance** page. ## What a portable copy can't do {#limits} - **Programs running as administrator.** While a program running as administrator has the keyboard focus, gestures don't start there, text expansion and some hotkeys don't fire, and actions can't send keys or clicks into it ([Programs running as administrator](https://input.observer/help/manual-troubleshooting#admin)). Starting `Input.Observer.exe` itself as administrator lifts this, but then every action runs as administrator too. - **Updates.** Nothing updates a portable copy. To update it, extract the new version's ZIP files over the old ones while Input.Observer isn't running. Your configuration and license stay. - **The .NET runtime ZIP isn't updated by Windows.** When the download page lists a newer .NET runtime ZIP for your version, extract it over the old one, or install the .NET 10 Desktop Runtime from Microsoft instead. ## When the configuration window doesn't open {#config-window} Choosing **Open** from the tray menu checks the folder first, and says which ZIP file to extract: | Message | Fix | | --- | --- | | The configuration window isn't in this folder. | Extract the Extras ZIP for the same version. | | The configuration window needs the .NET 10 Desktop Runtime. | Extract the .NET runtime ZIP listed for your version, or install the .NET 10 Desktop Runtime. | | The configuration window in this folder is version …, but Input.Observer is version …. | Extract the Extras ZIP for Input.Observer's version. **Yes** opens it anyway, but settings may not load or save correctly. | Without the configuration window, **Help** opens the help in your web browser. ## What it keeps outside its folder {#outside} The configuration, license, console settings, backups and recordings stay in the folder. A few things are kept in Windows or your user profile, the same as for an installed copy: - That you accepted the license agreement, and a record of the trial. Deleting the folder doesn't restart the trial. - The configuration window's own settings, such as its window position, and its browser cache, in `%LOCALAPPDATA%\Input.Observer`. - **Start with Windows**, only if you turn it on ([General](https://input.observer/help/manual-general)). If you move the folder, Input.Observer points it at the new location the next time it starts. - A **Start** menu shortcut named Input.Observer, created the first time an action shows a Windows notification. Windows needs it to show the notification. ## Removing it {#remove} 1. Turn off **Start with Windows** if you turned it on. 2. Choose **Exit** from the tray menu. 3. Delete the folder. 4. If you want them gone too, delete `%LOCALAPPDATA%\Input.Observer` and the Input.Observer shortcut in the **Start** menu. # Console URL: https://input.observer/help/manual-console > The diagnostic console: running a script, reading what the engine and your scripts report, Script Help, and the Console page's settings. The console is the engine's own window for diagnosing and trying things out. It shows what the engine reports (problems in your configuration, scripts that failed, plugins that fell back), shows what your scripts print, and has an editor where you can write and run a script on the spot. ## Opening the console {#open} Choose **Show Console** from the tray menu ([The tray icon](https://input.observer/help/manual-tray)), or run the `UIShowConsole` builtin from an action — for example, bind it to a hotkey. Nothing opens the console automatically unless you ask for it with **On Message** (below). If your configuration is password-protected, the console asks for the password when it opens, unless it is still remembered ([Security](https://input.observer/help/manual-security#asked)). While the console is open, the remembered password doesn't run out. `UIShowConsole` waits until the console is open, including while the password is asked for, and gives `false` if it didn't open, for example because the password prompt was cancelled. The console is closed with its close button. Closing it frees the memory it used. ## The three sections {#sections} ```ui-mockup Console: i.o - Console ① Tabs: ( ) System ( ) User (•) Script Toolbar: ② [Execute] [Stop All] [Hide Console] ③ [Script Help] [Copy] [Paste] [Clear] Script editor: UtilityPrint("Hello"); Output: Hello ``` The buttons across the top ① switch between three sections, each with its own toolbar. | Section | What it shows | Toolbar | | --- | --- | --- | | **System** | What the engine reports: notes about your configuration from the last load, actions and scripts that failed and why, a plugin that couldn't draw so the built-in drawing took over, and similar. | **Copy**, **Clear**, **On Message** | | **User** | Everything your scripts print with `UtilityPrint`, from every action. | **Copy**, **Clear**, **On Message** | | **Script** | A script editor above an output pane. | **Execute**, **Stop All**, **Hide Console**, **Script Help**, **Copy**, **Paste**, **Clear** | **Copy** copies the selected text, or the whole section when nothing is selected. **Clear** empties the section. Each **System** and **User** line starts with the date and time it arrived, in your Windows date and time format. A line that arrived while the console was closed shows when it arrived, not when you opened the console. The console never shows mouse or keyboard events. For a detailed record of what the engine decides while you reproduce a problem, see [Recording a trace](https://input.observer/help/manual-troubleshooting#trace). While the **Script** section is showing, new **System** and **User** lines also appear in its output pane, so you can watch a running script without switching sections. ### While the console is closed {#closed} Lines that arrive while the console is closed aren't lost: they are kept in temporary files and shown the next time you open the console. When Input.Observer exits, they are deleted, except what the **Engine shutting down** event prints, which the next session's console shows. ```ui-mockup Console: i.o - Console Tabs: (•) System ( ) User ( ) Script Toolbar: [Copy] [Clear] ① [On Message] Output: Configuration loaded: 3 app groups, 24 actions. Action "Close tab" stopped: WindowClose needs a window. ``` **On Message** ① on the **System** and **User** toolbars chooses what a new line does while the console is closed: | Choice | What happens | | --- | --- | | **Do Nothing** | The line waits until you open the console. The default. | | **Show UIShowMessageBox** | The line also pops up in a message box. | | **Open Console** | The console opens on that section. | With the console open, a new line is simply added; it never pops up a box or switches sections. The same choices are on the **Console** page as **New System messages** and **New User messages**. ## Running a script {#script} 1. Open the console's **Script** section. 2. Type or paste a script in the editor. It uses Input.Observer's script language ([Script language](https://input.observer/help/script)). 3. Choose **Execute** ② or press F5. With text selected, only the selection runs; otherwise the whole editor runs. 4. The output and any error appear in the output pane under the editor. **Hide Console** hides or shows that pane. - A script run here works like an action: every builtin is available, and it runs until it finishes or is stopped. **Stop All** stops every running script and action, not just this one. - **This is the one place scripts run in Safe Mode**, so you can inspect and repair things while nothing else runs ([Troubleshooting](https://input.observer/help/manual-troubleshooting#safe-mode)). - The editor completes builtin names as you type; Ctrl+Space lists everything, and typing an area name and a period lists that area's builtins. After you choose a builtin, a tip shows its parameters, with the current one highlighted. The right-click menu has **Comment** and **Uncomment** for the selected lines. - The editor's text is kept between sessions in `console.toml`. **Script Help** ③ opens the [script language reference](https://input.observer/help/script) in the help window ([The help window](https://input.observer/help/manual-config-window#help)), in the language Input.Observer uses (or English when there is no help in that language). ## The Console page {#console-page} :::note **Advanced mode.** The **Console** page is hidden in Simple mode. Its settings stay in effect. ::: The **Console** page in the configuration window holds the console's settings. They take effect when you choose **Apply** or **Save and close**. ```ui-mockup Window: Input.Observer — mode ( ) Simple (•) Advanced Navigation: Console Page: Console — The diagnostic console, and the fonts the engine's own windows use. Card: Diagnostic console Console line limit: [5000] lines Free memory when the console closes: [x] New System messages: [Nothing ▾] New User messages: [Nothing ▾] Card: Engine fonts Engine window font: [Segoe UI ▾] Engine editor font: [Consolas ▾] ``` | Setting | What it does | Default | Range | | --- | --- | --- | --- | | **Console line limit** | Once a section holds this many lines, the oldest are dropped as new ones arrive. 0 keeps everything. Takes effect with the next line. | 5000 lines | 0–1000000 | | **Free memory when the console closes** | Gives the console's memory back to Windows as soon as you close it. The next mouse or keyboard event after that can be very slightly slower. | On | On or off | | **New System messages** | What a new **System** line does while the console is closed: **Nothing**, **Message box** or **Open console** (same as **On Message** above) | **Nothing** | — | | **New User messages** | The same for **User** lines | **Nothing** | — | | **Engine window font** | Font and size for the console's labels and buttons and for the engine's dialogs (password, license) | Segoe UI, 12 pt | 6–72 pt | | **Engine editor font** | Font and size for the console's sections and its script editor | Consolas, 13 pt | 6–72 pt | An open console keeps its fonts until you close it and open it again. # About and license URL: https://input.observer/help/manual-about-license > The About page: version, the trial and your license, entering a license key, the license agreement, third-party notices and the welcome. The **About** page shows which version of Input.Observer you have, the state of your license, the open-source software it includes, and the license agreement. Nothing on it is part of your configuration: there is nothing to apply or discard. ## The About page {#page} ```ui-mockup Window: Input.Observer — mode (•) Simple ( ) Advanced Navigation: About Page: About — Version, licensing and third-party software Card: Version Number: 1.10.0 [Copy] Website: [Visit website] Getting started: [Show welcome] © 2026 Robert Yapchanyk Card: License Status: Trial — 23 days remaining ① License key: [Apply license key…] [Buy a license] Card: Third-party software Table: | Library | License | | PCRE2 | BSD-3-Clause WITH PCRE2-exception | | toml++ | MIT | [View third-party notices…] Card: License terms Input.Observer End User License Agreement … ``` | Card | What it holds | | --- | --- | | **Version** | The version number, with **Copy**, which copies the full version including the build number — useful for a bug report. **Visit website** opens Input.Observer's website, https://input.observer, in your browser. **Show welcome** opens the welcome again ("The welcome" below). The copyright notice is underneath. | | **License** | **Status**: "Trial — *n* days remaining", "Licensed to" your email, or "Trial expired". **Apply license key…** and **Buy a license**, which opens the pricing page, https://input.observer/pricing, in your browser. | | **Third-party software** | Every open-source component Input.Observer includes, with its license. **View third-party notices…** shows each component's full license and copyright text. | | **License terms** | The end user license agreement you accepted, to read or copy. | Input.Observer never connects to the internet itself. The website and store buttons open pages in your browser; checking a license key happens entirely on your computer. ## The trial {#trial} Input.Observer works fully for 30 days without a license. During the trial, every time it starts it shows "i.o - Activate License" with the days left: choose **Continue Trial** to carry on, or enter your license (below) and choose **Activate**. When the trial has ended, the choices are **Activate** or **Exit**: Input.Observer doesn't run until a license is active. ## Entering a license key {#activate} A license is your email address and a license key of the form `V1-XXXXX-XXXXX-XXXXX-XXXXX`. The key only works with the email address it was issued for. 1. On the **About** page, choose **Apply license key…** ①. The tray menu's **Apply License Key...** opens the same kind of dialog ("The tray's dialog" below). 2. Enter your **Email** and **License key** exactly as you received them. Upper or lower case doesn't matter in the key. 3. Choose **Activate**. ```ui-mockup Dialog: Apply license key Email: [you@example.com] License key: [V1-XXXXX-XXXXX-XXXXX-XXXXX] [Cancel] [Activate] ``` While a license is active, the dialog opens filled in with it, ready for you to type a new key over it. If something goes wrong, the dialog stays open and says why: | Message | What it means | | --- | --- | | "That email and license key don't match." | A typing mistake in either field, or a key issued for a different email. | | "That license key is valid, but not for this version." | The key is for a different major version of Input.Observer. | | "Your license file is password-protected, so saving the new license needs your config password." | Your files are password-protected ([Security](https://input.observer/help/manual-security)). Input.Observer asks for the password and tries again. | | "Your license file could not be read. It may be corrupted." | The protected license file is damaged. Nothing is written over it. Restore `license.dat` from a copy, or delete it, then activate again. | | "The key is valid, but the license file couldn't be saved, so nothing was activated." | The configuration folder can't be written to. Fix that, then try again. | ### The tray's dialog {#tray-dialog} The tray menu's **Apply License Key...** opens "i.o - Activate License" with **Activate** and **Cancel**. Its status line depends on your license: - **During the trial**, it shows the days left in your trial, as at startup, or that the trial has ended. - **While a license is active**, it says the new key replaces the one in use, and the **License Key** field is selected, ready for you to type over it. A key that doesn't match its email, or isn't for this version, is reported in the dialog and you can try again. When the key is saved, "i.o - License Applied" confirms it. The license is kept in `license.dat` beside your configuration file ([The configuration file](https://input.observer/help/manual-config-file#location)), never in `config.toml`, so it is never part of an export or a shared configuration. Styles you buy are tied to your license's email ([Appearance](https://input.observer/help/manual-appearance#add-purchase)). ## The license agreement {#agreement} The first time you start Input.Observer (or during setup), it shows the license agreement, "i.o - License Agreement". Its first section explains, in plain language, that Input.Observer acts on your computer for you — sending keys and clicks, closing windows, running programs — and that you are responsible for what you set it up to do. Choose **I accept** to continue, or **Decline**, which closes Input.Observer. You accept once for each Windows user account. If the terms change in a later version, you are asked again. The agreement is in English in every language Input.Observer offers; the buttons and the introduction around it are in your language. You can read it at any time on the **About** page under **License terms**. ## Third-party notices {#notices} Input.Observer includes open-source components. Their licenses and copyright notices are on the **About** page (**View third-party notices…**) and in the file `ThirdPartyNotices.txt` beside the Input.Observer program. ## The welcome {#welcome} **Show welcome** (also on the **⋯** menu in the title bar) opens the welcome you saw on the first start. It covers drawing a gesture, finding the tray icon, the hotkey that stops a runaway action, and Safe Mode. **Get started** closes it and opens the **Actions** page. The choice of a starter set — keeping the ready-made gestures and actions or starting from scratch — appears only on the very first start, while the starter set is still in place. See [First run](https://input.observer/help/qs-first-run). # Troubleshooting URL: https://input.observer/help/manual-troubleshooting > Symptoms, causes and fixes: gestures, right-clicks, hotkeys, text expansion, programs running as administrator, input other programs send, starting up, the configuration window, plugins, Safe Mode, recovering from a bad change and recording a trace. Start with the tray icon: its tooltip says what state Input.Observer is in ([The tray icon](https://input.observer/help/manual-tray)), and the console's **System** section says what went wrong ([Where to look](https://input.observer/help/manual-troubleshooting#logs)). ## Nothing happens when I draw a gesture {#no-gesture} No trail appears and the button behaves as if Input.Observer weren't there. | Cause | How to tell | Fix | | --- | --- | --- | | Input.Observer isn't running | No tray icon (check the hidden icons too) | Start Input.Observer from the Start menu ([It doesn't start](https://input.observer/help/manual-troubleshooting#wont-start)) | | It is switched off | Tooltip "i.o - disabled" | Tick **Enabled** in the tray menu | | The program in front pauses everything | Tooltip "i.o - auto-disabled (…)" naming the group | That app group has **Pause everything while focused** on ([App groups](https://input.observer/help/manual-app-groups)) | | The window is in an ignore group | Only in some programs | Check **Ignore groups** ([Ignore groups](https://input.observer/help/manual-ignore-groups)) | | Safe Mode | Tooltip "i.o - Safe Mode (restart to resume normal operation)" | Restart Input.Observer without holding Ctrl ([Safe Mode](https://input.observer/help/manual-troubleshooting#safe-mode)) | | The stop-all hotkey was pressed, or too many actions ran at once | Everything stopped at once, hotkeys too | Choose **Reload Config** from the tray menu ([General](https://input.observer/help/manual-general#stop-all)) | | You held an ignored modifier key | Happens only while you hold Ctrl (the default) | That is what the key is for ([General](https://input.observer/help/manual-general#starting)) | | You used a button that isn't a draw button | Only the right button draws by default | Choose the buttons under **Draw buttons** on the **General** page | | The program's app group has **Draw buttons start gestures here** off | Only in that group's programs; the draw key still draws there | Turn the switch on in **App groups** (Advanced mode), or draw with the draw key ([App groups](https://input.observer/help/manual-app-groups#behavior)) | | The draw key doesn't draw | On a Japanese keyboard, **Caps Lock** can't draw. Over a Remote Desktop or virtual machine window, the remote program may take the key | Pick another key under **Draw key** on the **General** page ([The draw key](https://input.observer/help/manual-drawing#draw-key)) | | The pointer is in an exclusion zone | Only in one area of the screen | Check **Exclusion zones** ([Exclusion zones](https://input.observer/help/manual-exclusion-zones)) | | A program running as administrator is in front | Only while such a window has the focus | See [Programs running as administrator](https://input.observer/help/manual-troubleshooting#admin) | | The window belongs to no app group and **Fall back to Global** is off | Only in programs without their own group | Turn **Fall back to Global** on (**General**) or add a group ([Scope and fallback](https://input.observer/help/manual-scope-bubbling)) | | Another program sent it while a sandboxed program's window was in front | Only for input another program sends | See [Input other programs send](https://input.observer/help/manual-troubleshooting#other-programs) | ## The trail draws but no action runs, or the wrong one {#no-match} - **Watch the hint.** While you draw, the hint names the action the stroke matches. No hint means no match. [Hints and messages](https://input.observer/help/manual-hints-messages#hint) lists when it appears. - **The stroke isn't close enough to the saved gesture.** Practise it, add another example of it, or make matching more forgiving on the **Gestures** page ([Matching](https://input.observer/help/manual-matching)). - **The action doesn't apply here.** It may be in another app group, limited to some screen regions, limited to a gesture profile that isn't active, or switched off ([Scope](https://input.observer/help/manual-scope), [Profiles](https://input.observer/help/manual-profiles), [Regions](https://input.observer/help/manual-regions)). - **The action ran but did nothing visible.** Open the console: a script that failed says why in the **System** section. Keys an action sends go to the window in front; **Activate the window under the gesture** (**General**) brings the window you drew over to the front first. A program running as administrator may not accept them ([below](https://input.observer/help/manual-troubleshooting#admin)). - **The gesture was cancelled.** If you pause with the button held for longer than the **Cancel timeout** (half a second by default), the gesture is cancelled and the press goes to the window ([General](https://input.observer/help/manual-general#ending)). ## A right-click feels late or doesn't work in a program {#right-click} While the right button is a draw button, Input.Observer holds each right-button press until it knows whether you are drawing. If you release it without moving more than **Minimum gesture movement** (5 pixels), the press and release are handed to the window as an ordinary click. So: - **Context menus open when you release the button**, not when you press it. This is expected. - **Right-button dragging in a program** (a game, a design program, dragging files with the right button) becomes a gesture instead. Any of these fixes it: - hold Ctrl (an **Ignored modifier key**) while you press the button; - press the button and hold the pointer still for the **Cancel timeout** (half a second by default) before you drag: the press is then handed to the program; - put the program in an ignore group ([Keep a program out](https://input.observer/help/qs-ignore-program)), or ignore it only while it runs full screen ([Ignore groups](https://input.observer/help/manual-ignore-groups)). - **Remote desktop and virtual machine windows** (Remote Desktop, Hyper-V, VMware, VirtualBox, TeamViewer, AnyDesk, Parsec) are ignored by the starter set, so the computer inside gets the right button untouched. ## A hotkey doesn't fire {#hotkey} - **Another program already uses the key combination.** A hotkey reserved with Windows can be held by only one program. The action shows "Windows or another program already uses these keys". Choose another combination, or close the other program and choose **Reload Config** from the tray menu ([Hotkeys](https://input.observer/help/manual-hotkeys)). - **The hotkey belongs to another app group.** It works only in windows of its group (or everywhere, from Global, unless a group overrides it). - **The hotkey uses the draw key.** Where gestures work, pressing the draw key starts a gesture instead, so the hotkey runs only where gestures don't. The action shows **This key is the draw key**. Choose another key, or another draw key on the **General** page. - **The window in front is ignored or pauses everything.** - **A gesture, a macro recording or gesture training is in progress.** Hotkeys don't fire during them. The stop-all hotkey is the exception: it always works. - **The window in front runs as administrator** ([below](https://input.observer/help/manual-troubleshooting#admin)). - **Another program sent the keys while a sandboxed program's window was in front** ([below](https://input.observer/help/manual-troubleshooting#other-programs)). - **Safe Mode, or Input.Observer is switched off.** No hotkeys are registered then. ## Text expansion doesn't fire in a program {#text-expansion} - **Text expansion is off**, or the key that should end the abbreviation (Space, Tab, Enter or a punctuation mark) isn't enabled: see the **Settings** tab of **Text expansion** ([Text expansion](https://input.observer/help/manual-text-expansion)). - **The abbreviation contains a period, comma, exclamation mark or question mark** while **Expand on punctuation** is on: that mark ends it. Turn the setting off on the **Settings** tab. - **The abbreviation belongs to another app group**, or the window is ignored. - **The program runs as administrator** ([below](https://input.observer/help/manual-troubleshooting#admin)). - **A Japanese, Chinese or Korean input method is turned on.** Text doesn't expand while it is; switch it to direct input ([Text expansion](https://input.observer/help/manual-text-expansion#limits)). - **The text comes out scrambled or with characters missing.** Raise **Typing delay** on the **Scripts** page ([Script settings](https://input.observer/help/manual-scripts-settings#behavior)). ## Programs running as administrator {#admin} Windows keeps ordinary programs from reading input to, or controlling, a program that runs as administrator. Installed with its setup program and started from its installation folder, Input.Observer is allowed to work with such programs. A copy started from anywhere else is not: while a program running as administrator has the keyboard focus, gestures don't start, keys you type there don't reach Input.Observer (so text expansion and some hotkeys don't fire), and actions can't send keys or clicks into it. The tray icon's menu may not open either. - The **System** section of the [console](https://input.observer/help/manual-console) names each such program once per run, the first time it comes to the front. - Click the taskbar or any ordinary window, and Input.Observer works again. - To work with administrator programs, install Input.Observer with its setup program and start it from the Start menu. A [portable copy](https://input.observer/help/manual-portable) always has this limit. ## Input other programs send {#other-programs} Gestures, hotkeys and abbreviations that another program sends for you — AutoHotkey, a keyboard-and-mouse sharing program, a remote-control program — work like your own. The exception is while a window of a sandboxed program (one Windows runs with fewer rights than your ordinary programs) is in front: then Input.Observer passes input that programs send straight on to that window, so a sandboxed program can't use it to run your actions. Your own mouse and keyboard always work. Click an ordinary window, and input from other programs works again. ## Input.Observer doesn't start {#wont-start} | What you see | Cause | Fix | | --- | --- | --- | | "Input.Observer is already running." | Another copy runs in your session. | Look for its icon in the notification area. | | The password prompt, then nothing after **Cancel** | Your configuration is protected; it can't start without the password. | Start it again and enter the password ([Security](https://input.observer/help/manual-security)). | | "Input.Observer can't load your configuration" | The configuration file is broken or missing. | Choose one of the dialog's options ([Recovery](https://input.observer/help/manual-config-file#recovery)). | | The license agreement, then nothing after **Decline** | The agreement must be accepted. | Start again and choose **I accept** ([About and license](https://input.observer/help/manual-about-license#agreement)). | | "Your 30-day trial has ended." | The trial is over. | Enter a license key, or choose **Exit** ([About and license](https://input.observer/help/manual-about-license#activate)). | | A message naming a Windows version | Input.Observer needs Windows 10 version 1809 or later. | Update Windows. | | **Windows protected your PC**, for a portable copy | The portable programs aren't signed. | Choose **More info**, then **Run anyway** ([Portable copy](https://input.observer/help/manual-portable#setup)). | | It starts, then something in your configuration hangs or misbehaves at once | A **Config loaded** event or an action | Start in Safe Mode and fix it ([Safe Mode](https://input.observer/help/manual-troubleshooting#safe-mode)). | ## The configuration window can't connect {#config-window} The configuration window needs Input.Observer running. - **"Input.Observer isn't running"** when you open it: start Input.Observer, then open the window from its tray icon. - **"The configuration window couldn't connect to Input.Observer"**: Input.Observer didn't answer. Choose **Try again** once it runs. - **"Engine not reachable — retrying"** in the window's status bar: Input.Observer stopped answering while the window was open. Your edits stay; saving is unavailable until it answers again, and the window keeps trying. If you close the window meanwhile with unsaved changes, **Save to file…** keeps them in a file you can refer to later; it can't be imported. - **A configuration file larger than 8 MB** can't be opened in the window; Input.Observer warns about it at startup. ## A plugin doesn't start, or the trail looks plain {#plugin} - The **Appearance** page says at the top when the renderer isn't drawing and why, with **Restart** when it stopped ([Appearance](https://input.observer/help/manual-appearance#live-status)). Meanwhile the classic trail, hint and message window draw. - On the **Plugins** page (Advanced mode), check the plugin's status. **Not in use** is normal for a drawing plugin that isn't the renderer. **Auto-disabled -- failed to start** and **Closed by the plugin** need **Retry** ([Plugins](https://input.observer/help/manual-plugins#failures)). - No plugin runs in Safe Mode. - A style you chose draws **Neon glow** instead: the style is locked, for example because the license changed ([Appearance](https://input.observer/help/manual-appearance#purchases)). ## Drawing makes a full-screen game or video stutter {#fullscreen} Turn on **Keep the drawing layer behind windows between gestures** — in **Customize…** for the Styles plugin, or on the **Trail options** tab for the classic line — or put the game in an ignore group that applies only while it runs full screen ([Keeping trails light](https://input.observer/help/manual-trails#performance)). ## Safe Mode {#safe-mode} Safe Mode starts Input.Observer with nothing that could cause trouble running, so you can fix your configuration. 1. Exit Input.Observer (tray menu, **Exit**). 2. Hold Ctrl while you start it, and keep holding until "Start Input.Observer in Safe Mode?" appears. 3. Choose **Yes**. In Safe Mode there are no gestures, hotkeys or text expansion, no plugins, and none of your actions or **Config loaded** / **Engine shutting down** scripts run. You are still asked for your password and license as usual. The tray icon shows Safe Mode, and the configuration window works normally, so you can change whatever caused the problem and save it. Scripts you run yourself in the console's **Script** section do run. Safe Mode lasts until Input.Observer restarts; holding Ctrl at startup is the only way in. ## Recovering from a bad change {#recover} - **Still in the configuration window:** **Discard** puts back everything since the window opened, including changes you already applied. - **An action is running wild:** press the stop-all hotkey, Ctrl+Shift+Alt+F9 by default ([General](https://input.observer/help/manual-general#stop-all)). Then fix the action and choose **Reload Config**. - **It misbehaves as soon as it starts:** use [Safe Mode](https://input.observer/help/manual-troubleshooting#safe-mode). - **Go back to an earlier configuration:** restore a copy from the `Backup` folder ([Backups](https://input.observer/help/manual-config-file#backups)). - **You edited `config.toml` by hand and Reload Config shows Configuration Not Reloaded:** the previous configuration is still in effect. The message says why: a mistake at a given line and column, a file that can't be opened, a file protected with a password, or a pointer to a file that doesn't exist ([Reload Config](https://input.observer/help/manual-tray#reload-config), [Editing the file by hand](https://input.observer/help/manual-config-file#hand-editing)). ## Where to look {#logs} - **The console's System section** (tray menu, **Show Console**) lists what the engine noticed: problems in your configuration, actions and scripts that failed and why, the renderer being unavailable. Lines that arrived while the console was closed are shown when you open it ([Console](https://input.observer/help/manual-console)). - **The configuration window** shows "*n* notes from the engine about this configuration" above the save bar, with **Show**, whenever Input.Observer repaired or has advice about your configuration. - **What your scripts print** with `UtilityPrint` is in the console's **User** section. - Input.Observer writes no log files. For a bug report, copy the version from the **About** page (**Copy**) and the console's text. When that isn't enough to find the cause, support may ask you for a trace ([Recording a trace](https://input.observer/help/manual-troubleshooting#trace)). ## Recording a trace {#trace} A trace is a detailed record of what the engine decides while you reproduce a problem: why a press started a gesture or was passed to the window, which action matched, what a script did, why a plugin stopped. The setup program installs a second copy of the engine for this, `Input.Observer.Trace.exe`, next to `Input.Observer.exe`; a [portable copy](https://input.observer/help/manual-portable) gets it from the Extras ZIP. It uses your configuration, license and plugins, and works like Input.Observer in every other way. 1. Exit Input.Observer (tray menu, **Exit**). Only one copy can run at a time. 2. Open the installation folder, `C:\Program Files\Input.Observer` (for a portable copy, its own folder), and start `Input.Observer.Trace.exe`. 3. In **i.o - Trace Categories**, choose the areas to record, then **OK**. The first time, every area except **Input Hooks (very detailed)** is ticked; keep that unless support names other areas. The window remembers your choice for the next run. 4. Reproduce the problem. Note the time, so the lines that matter are easy to find. 5. Exit the trace copy (tray menu, **Exit**), and start Input.Observer again from the Start menu. Each run writes a file, `Trace--