token:FoundImage
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| token:FoundImage [2017/09/05 05:25] – created peternlewis | token:FoundImage [2018/01/19 02:57] (current) – ADD icon and header JMichaelTX | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The // | + | {{: |
| + | ====== FoundImage Token ====== | ||
| - | ===== See Also ===== | + | The // |
| - | === Actions === | + | The token returns the same data about the last found image as the [[action: |
| + | * left | ||
| + | * top | ||
| + | * width | ||
| + | * height | ||
| + | * fuzz | ||
| + | |||
| + | For example, after finding an image on the second monitor, this token would return:\\ | ||
| + | `2060, | ||
| + | |||
| + | If you set a Variable (say `ImageLoc`) to this token, then you may reference individual properties using this notation: | ||
| + | |||
| + | * ImageLoc.x — Horizontal position of upper left corner. | ||
| + | * 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. | ||
| + | |||
| + | The following result in this token being set to the last found image: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| + | * Any [[: | ||
| + | * FIXME: | ||
| + | |||
| + | |||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | === Actions === | ||
| + | |||
| * [[: | * [[: | ||
token/FoundImage.1504589140.txt.gz · Last modified: by peternlewis
