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 [2017/03/06 02:44] – [Forum] 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 — Vertical 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. | + | |
| - | * ImageLoc.Midx — Horizontal position of center. | + | |
| - | * ImageLoc.Midy — Vertical position of center. | + | |
| - | 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 23: | Line 42: | ||
| {{: | {{: | ||
| - | {{:action:find.image.on.screen2.jpg?673&nolink|}} | + | {{ find-image-on-screen2.png?nolink&503x591 |
| - | {{:action:find.image.on.screen3.jpg?659&nolink|}} | + | {{ find-image-on-screen3.png?nolink& |
| ===== See Also ===== | ===== See Also ===== | ||
| - | ---- | + | ==== Actions |
| - | + | ||
| - | === Actions === | + | |
| - | * [[action: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| - | * [[action: | ||
| * [[: | * [[: | ||
| - | === Conditions === | + | ==== Conditions |
| * [[condition: | * [[condition: | ||
| * [[: | * [[: | ||
| - | === Collections === | + | ==== Collections |
| * [[collection: | * [[collection: | ||
| * [[: | * [[: | ||
| - | ---- | ||
| ==== Forum ==== | ==== Forum ==== | ||
action/Find_Image_on_Screen.1488768250.txt.gz · Last modified: by peternlewis
