action:Find_Image_on_Screen
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| action:Find_Image_on_Screen [2016/03/04 05:51] – [See Also] peternlewis | action:Find_Image_on_Screen [2023/09/15 06:21] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The //Find Image on Screen// action finds a specified image on the screen and stores the rectangle containing the match followed by the fuzz of the match (0-100), ie, (left, | + | ====== |
| - | The image location is stored in the variable may be referenced as a structure | + | The //Find Image on Screen// action finds a specified |
| - | * ImageLoc.x — Horizontal position of upper left corner. | + | {{ findimageonscreen.png? |
| - | * ImageLoc.y — Veritcal position of upper left corner. | + | |
| - | * ImageLoc.width — the width of the match (same as the source image). | + | |
| - | * ImageLoc.height — the height of the match (same as the source image). | + | |
| - | * ImageLoc.fuzz — the fuzz of the match. | + | |
| - | You can require | + | You can specify |
| - | This action | + | * An image pasted in to the action. |
| + | * An image from the System Clipboard, Trigger Clipboard or a Named Clipboard (v9.0+). | ||
| + | * An image loaded from a file (v9.0+). | ||
| + | * An image from elsewhere on the screen (v9.0+). | ||
| + | |||
| + | You can also specify the fuzz allowed in the match, as well as whether | ||
| + | |||
| + | 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: | ||
| + | |||
| + | * ImageLocation.x — Horizontal position of upper left corner. | ||
| + | * ImageLocation.y — Vertical position of upper left corner. | ||
| + | * ImageLocation.width — the Width of the match (same as the source image). | ||
| + | * ImageLocation.height — the Height of the match (same as the source image). | ||
| + | * ImageLocation.fuzz — the Fuzz of the match. | ||
| + | * ImageLocation.MidX — Horizontal position of center. | ||
| + | * ImageLocation.MidY — Vertical position of center. | ||
| + | |||
| + | If this action fails to find the image, | ||
| + | |||
| + | After an action like this is executed, and an image was found, then the [[token: | ||
| + | |||
| + | Please note that " | ||
| ===== How To Use ===== | ===== How To Use ===== | ||
| Line 19: | Line 40: | ||
| ===== Example ===== | ===== Example ===== | ||
| - | {{: | + | {{: |
| - | {{ :action:find.image.on.screen.png?nolink |}} | + | |
| + | {{ find-image-on-screen2.png? | ||
| + | {{ find-image-on-screen3.png?nolink& | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | * The [Move or Click Mouse](https:// | + | ==== Actions ==== |
| - | * The [Found Image](https:// | + | |
| - | * The [Found Images](https:// | + | * [[action: |
| + | * [[action: | ||
| + | * [[:Actions|See all Actions]] | ||
| + | |||
| + | ==== Conditions ==== | ||
| + | |||
| + | * [[condition: | ||
| + | * [[:Conditions|See all Conditions]] | ||
| + | |||
| + | ==== Collections ==== | ||
| + | * [[collection: | ||
| + | * [[: | ||
| ==== Forum ==== | ==== Forum ==== | ||
| - [[https:// | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| - | - [[https://www.google.fr/webhp?aqs=chrome..69i57.14628j0j7& | + | - [[https://forum.keyboardmaestro.com/search?q=Find%20Image%20on%20Screen|Keyboard Maestro Forum topics about Find Image on Screen]] |
action/Find_Image_on_Screen.1457070718.txt.gz · Last modified: by peternlewis
