This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:Search_Strings [2023/09/12 03:49] peternlewis v11 search strings |
manual:Search_Strings [2025/01/21 22:51] (current) peternlewis typo |
||
---|---|---|---|
Line 2: | Line 2: | ||
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 in: | 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 in: | ||
- | - [[Windows#Macro_Editor_Window|Keyboard Maestro Editor]], Search field | + | - The [[Windows#Macro_Editor_Window|Keyboard Maestro Editor]] search field. |
- | - [[Windows#Macro_Editor_Window|Keyboard Maestro Editor]], Smart Group | + | - A Smart Group. |
- | - [[action:Trigger_Macro_by_Name|Trigger Macro by Name Action]] | + | - A [[action:Trigger_Macro_by_Name|Trigger Macro by Name]] action. |
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. Each word is searched for separately (and in any order) unless you quote a phrase. | 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. Each word is searched for separately (and in any order) unless you quote a phrase. | ||
- | Note that the [[action:Trigger_Macro_by_Name|Trigger Macro by Name Action]] only searches among active macros. | + | In the editor, matching actions and triggers will be highlighted with blue stripes: |
+ | |||
+ | {{ search-matched-action.png?nolink&596x165 | Search Matched Action }} | ||
+ | |||
+ | Note that the [[action:Trigger_Macro_by_Name|Trigger Macro by Name]] action only searches among active macros. | ||
**Search Qualifiers:** | **Search Qualifiers:** | ||
Line 15: | Line 19: | ||
^ Qualifier ^ Short form ^ Definition ^ Example ^ | ^ Qualifier ^ Short form ^ Definition ^ Example ^ | ||
- | | all: | al: | Match everything | `al:`\\ (Otherwise the empty search string matches nothing) | | + | | 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”) | | | 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\\ (Use quotes if Name contains spaces) | `gr:"Forum Examples"` | | + | | group: | gr: | Match any macro within the named macro group\\ (Use quotes if Name contains spaces) | `group:"Forum Examples"` | |
| name: | n: | Match any macro that has a name matching the specified string | `n:PDF` | | | 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 | `gl:`\\ (aka universal:) | | + | | global: | gl: | Match any macro within any macro group that is globally active | `global:`\\ (aka universal:) | |
- | | application | ap: | Match any macro that is specific to (or excluded from) the specified application | `ap:Finder` | | + | | application | app: | Match any macro that is specific to (or excluded from) the specified application | `app:Finder` | |
| enabled: | e: | Match any macro that is enabled | `e:`\\ (not necessarily active) | | | enabled: | e: | Match any macro that is enabled | `e:`\\ (not necessarily active) | | ||
| deprecated: | dep: | Match anything that uses deprecated features | `dep:` | | | deprecated: | dep: | Match anything that uses deprecated features | `dep:` | |