This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
action:Find_Image_on_Screen [2019/07/08 00:31] peternlewis |
action:Find_Image_on_Screen [2023/09/15 02:21] (current) peternlewis |
||
---|---|---|---|
Line 15: | Line 15: | ||
You can search the entire desktop, or you can restrict your search to a specific screen or window, or to a specific area on the screen. | You can search the entire desktop, or you can restrict your search to a specific screen or window, or to a specific area on the screen. | ||
+ | |||
+ | There is an option in the action (gear) ⚙ menu to have the action wait until the image appears (v11.0+). | ||
Suppose that the image location is stored in the [[manual:Variables|Variable]] `ImageLocation` (chosen by you in the action). Then parts of the image data (properties) may be referenced in other actions like [[action:Move_or_Click_Mouse|Move and Click Mouse]] using the following notation: | Suppose that the image location is stored in the [[manual:Variables|Variable]] `ImageLocation` (chosen by you in the action). Then parts of the image data (properties) may be referenced in other actions like [[action:Move_or_Click_Mouse|Move and Click Mouse]] using the following notation: | ||
Line 30: | Line 32: | ||
After an action like this is executed, and an image was found, then the [[token:FoundImage|%FoundImage%]] token (v8+) will return the data of the last found image. | After an action like this is executed, and an image was found, then the [[token:FoundImage|%FoundImage%]] token (v8+) will return the data of the last found image. | ||
- | Please note that "ImageLocation" is just an example Variable (which you the use can set), whereas [[token:FoundImage|%FoundImage%]] is a token provided by the Keyboard Maestro Engine. | + | Please note that "ImageLocation" is just an example Variable (which you the user can set), whereas [[token:FoundImage|%FoundImage%]] is a token provided by the Keyboard Maestro Engine. |
===== How To Use ===== | ===== How To Use ===== |