This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
action:Search_Clipboard [2015/07/12 22:30] mirazjordan Amplified with examples |
action:Search_Clipboard [2016/04/29 11:55] alain JMTX template + add forum links & internal links |
||
---|---|---|---|
Line 9: | Line 9: | ||
* Regular Expression, ignoring the case. | * Regular Expression, ignoring the case. | ||
- | Select the variable to search using the //Search// pop-up. | + | Select the clipboard to search using the //Search// pop-up. |
Select whether or not to match the case from the //using Regular Expression// pop-up. Then enter the text to search for in the text area. | Select whether or not to match the case from the //using Regular Expression// pop-up. Then enter the text to search for in the text area. | ||
Select where to save results with the //and save capture groups to Variables// pop-up. Depending on the nature of your search you may simply be presented with an //All// option, or with the opportunity to save multiple results to multiple variables. | Select where to save results with the //and save capture groups to Variables// pop-up. Depending on the nature of your search you may simply be presented with an //All// option, or with the opportunity to save multiple results to multiple variables. | ||
+ | |||
+ | If the search fails, by default (7.1+) the action will abort the macro and notify you of the failure. The destination variables will not be modified. You can turn off aborting the macro and/or notifying you in the gear menu (the destination variables will still not be modified in this case). | ||
Examples: | Examples: | ||
Line 31: | Line 33: | ||
{{:action:searchvariableresult.png|}} | {{:action:searchvariableresult.png|}} | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Actions === | ||
+ | |||
+ | * [[action:Search and Replace Variable|Search and Replace Variable]] | ||
+ | * [[action:Search Variable|Search Variable]] | ||
+ | * [[:Actions|See all Actions]] | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Documentation ==== | ||
+ | |||
+ | * [[:Regular Expressions|Regular Expressions]] | ||
+ | |||
+ | ==== Forum ==== | ||
+ | |||
+ | - [[https://forum.keyboardmaestro.com/t/extracting-substring-of-a-variable/3007/2|Extracting substring of a Variable]] | ||
+ | |||
+ | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+Search+Replace+Variable|Keyboard Maestro Forum topics about Search Clipboard]] | ||
+ | |||