Keyboard Maestro conditions
Keyboard Maestro conditions and their equivalents.
Every Keyboard Maestro condition and what it becomes. A condition with several kinds (variable tests, text tests) lists every Switchboard condition its kinds use.
| Keyboard Maestro condition | Switchboard | Notes |
|---|---|---|
| Variable | Variable, Script | No variable was chosen in Keyboard Maestro for this condition. Pick the variable; it reads as empty text |
| Text | Variable, Set variable, Script | |
| Calculation | Script | No calculation was set in Keyboard Maestro. Enter the calculation to test. The condition is never met until it is fixed |
| Clipboard | Compare text, Clipboard holds | Clipboard type "" is checked as written |
| Application | Script | No application was chosen in Keyboard Maestro. Pick the application to test. The condition is never met until it is fixed |
| Front Window | Time of day, Window title, Front window state | |
| Any Window | Window title | "any window" is checked against the front window's title only |
| Button | Script | No button was chosen in Keyboard Maestro. Pick the button to test. The condition is never met until it is fixed |
| Menu | Script | No menu item was chosen in Keyboard Maestro. Pick the menu item to test. The condition is never met until it is fixed |
| Modifiers | Script | No modifier keys were chosen in Keyboard Maestro. Pick the keys to test. The condition is never met until it is fixed |
| Key | Script | No key was chosen in Keyboard Maestro. Pick the key to test. The condition is never met until it is fixed |
| Mouse Button | Key or button held | Mouse button 0 is read as button 1 (1 = left, 2 = right, 3 = middle); check it |
| Mounted Volume | Script | No disk was chosen in Keyboard Maestro. Pick the disk to test. The condition is never met until it is fixed |
| Path | File exists | |
| File Attribute | File attribute | No file attribute was chosen in Keyboard Maestro. It tests the file's name; pick the attribute |
| Found Image | Image found | The picture to look for isn't in the macro. Capture it again |
| Pixel | Pixel colour | The colour to compare with couldn't be read; set it in the condition (it is black now) |
| OCR | Text on screen | |
| Script | Script | |
| Location | Location | The location radius is read as metres; the Mac's location needs the Location permission |
| Macro / Macro Group | Script | No macro was chosen in Keyboard Maestro. Pick the macro to test. The condition is never met until it is fixed |
| Environment Variable | Compare text | No environment variable name was set in Keyboard Maestro (or it is worked out at run time). Fill in the name |
| Action Result | Last action result, Variable, Script | |
| Typed String | Compare text | |
| USB Device | USB device connected | |
| Wireless Network | Network | |
| Condition list combiner (All / Any / None / Not All) | Script | The condition type "(list)" isn't one Switchboard knows. The condition is never met until it is fixed |
| Switch case: is (TestValue) | Script | The condition type "Is" isn't one Switchboard knows. The condition is never met until it is fixed |
| Switch case: contains (TestValue) | Script | The condition type "Contains" isn't one Switchboard knows. The condition is never met until it is fixed |
| Switch case: otherwise | Script | The condition type "Otherwise" isn't one Switchboard knows. The condition is never met until it is fixed |