manual:Search_Strings
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| manual:Search_Strings [2016/06/01 07:32] – external edit 127.0.0.1 | manual:Search_Strings [2025/01/22 03:51] (current) – typo peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Search Strings ====== | ====== Search Strings ====== | ||
| - | When searching for macros, either | + | Search Strings are filters which, in addition to the text you type, can include qualifiers that may be applied to searches for Macros and Actions |
| + | - The [[Windows# | ||
| + | - A Smart Group. | ||
| + | - A [[action: | ||
| - | As well as plain text, you can specify | + | Keyboard Maestro will search for the text you type, and all of the below qualifiers that you specify, for matches in your list of macros. |
| - | | all: | match everything (this is useful since the empty search string matches nothing) | | + | In the editor, matching actions and triggers will be highlighted with blue stripes: |
| - | | group: | match any macro within the named macro group (eg group:" | + | |
| - | | global: | match any macro within any macro group that is globally active (aka universal:) | | + | |
| - | | application | match any macro within any macro group that is specific to (or excluded from) the specified application (eg application: | + | |
| - | | enabled: | match any macro that is enabled (not necessarily active) | | + | |
| - | | disabled: | match any macro that is disabled | | + | |
| - | The options can generally be shorted to their shortest unique name. Eg: | + | {{ search-matched-action.png? |
| - | * g:" | + | Note that the [[action:Trigger_Macro_by_Name|Trigger |
| - | * gl: | + | |
| - | * a:Xcode | + | |
| - | * e: | + | |
| - | * d: | + | |
| + | **Search Qualifiers: | ||
| + | |||
| + | The qualifier can generally be shorted to its shortest unique name, as shown in the _Short Form_ column. | ||
| + | |||
| + | ^ Qualifier ^ Short form ^ Definition ^ Example ^ | ||
| + | | all: | al: | Match everything | `all:`\\ (Otherwise the empty search string matches nothing) | | ||
| + | | word: | w: | Match that must be at a word boundary \\ (Use quotes if Word contains spaces) | `word:amp` \\ (Matches “Turn on amp” and not “example”) | | ||
| + | | group: | gr: | Match any macro within the named macro group\\ | ||
| + | | name: | n: | Match any macro that has a name matching the specified string | `n:PDF` | | ||
| + | | global: | gl: | Match any macro within any macro group that is globally active | `global: | ||
| + | | application | app: | Match any macro that is specific to (or excluded from) the specified application | `app: | ||
| + | | enabled: | e: | Match any macro that is enabled | `e:`\\ (not necessarily active) | | ||
| + | | deprecated: | dep: | Match anything that uses deprecated features | `dep:` | | ||
| + | | trigger: | t: | Match any macro that has a trigger matching the specified string | `t:=sig=`\\ (Typed String of “=sig=”) | | ||
| + | | action: | act: | Match an action with the specified action ID | `action: | ||
| + | | hotkey: | h: | Match any macro with specified HotKey\\ Match any macro with any HotKey if no HotKey is specified.\\ Modifier Keys must be one of these: `⌃⌥⇧⌘` | `h: | ||
| + | | created: | cre: | Match any macro that was created less that the specified time ago | `cre:1w` | | ||
| + | | modified: | mod: | Match any macro that was modified less that the specified time ago | `mod:1d` | | ||
| + | | used: | use: | Match any macro that was used less that the specified time ago | `use:1m` | | ||
| + | | size: | siz: | Match any macro that has a storage size more than the specified size | `size: | ||
| + | | note: | not: | Match any action that contains the text in a Note | `note: | ||
| + | |||
| + | For the created:, modified:, used:, the parameter is a number followed by a letter (s for seconds, m for minutes, h for hours, d for days, or w for weeks). | ||
| + | |||
| + | You can use a negative sign (-) to negate any match (for example, " | ||
manual/Search_Strings.1464766357.txt.gz · Last modified: (external edit)
