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 | ||
collection:Found_Images [2015/08/02 20:59] peternlewis |
collection:Found_Images [2016/03/03 23:19] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The //Found Images collection// lists all the locations that the image matches on the screen (v7.0+). | + | {{:condition:image-icon.png?nolink|}} |
+ | ====== Found Images Collection ====== | ||
- | You specify the image to match (usually got with a Command-Control-Shift-4 screen capture) by pasting an image into the image well. You also specify the amount of fuzziness allowed — because of transparency and anti-aliasing, almost all screen matches are fuzzy to some degree, but usually about 20% is a good place to start. | + | The //Found Images [[:Collections|collection]]// lists all the locations that the image matches on the screen (v7.0+). |
- | You can optionally display all the matches on the screen which can be helpful in determining the right amount of fuzz to use. | + | You can order the matches by best matches first, top to bottom or left to right. |
- | You can search for the image on: | + | The result, stored in the [[action:For_Each| For Each action ]] variable is the rectangle containing the match followed by the fuzz of the match (0-100), ie, (left,top,width,height,fuzz). |
- | * all screens. | + | ===== How To Use ===== |
- | * the main screen. | + | |
- | * the specified screen (counting from the left). | + | {{page>::Found_Image#How To Use&noheader&nofooter}} |
- | * the front window. | + | |
- | * the window with a specified title. | + | ===== Related ===== |
- | * the window with a title containing a given string. | + | |
- | * the window with a title matching a given regular expression. | + | See also the [Found Image](https://wiki.keyboardmaestro.com/condition/Found_Image) condition, [Move or Click Mouse](https://wiki.keyboardmaestro.com/action/Move_or_Click_Mouse) action, and [Find Image on Screen](https://wiki.keyboardmaestro.com/action/Find_Image_on_Screen) action. |
- | * the specified window (counting from the frontmost window). | + | |
- | * a specified area on the screen. | + | |
- | Remember when specifying the area, as with all [numeric fields](:Text_Fields), the numbers can be calculations including [functions](:Functions), and the fields expand to allow for longer expressions as soon as you type something other than a number, so this allows very precise control of where you can match. | ||
- | You can order the matches by best matches first, top to bottom or left to right. | ||
- | The result, stored in the [[action:For_Each| For Each action ]] variable is the rectangle containing the match followed by the fuzz of the match (0-100), ie, (left,top,width,height,fuzz). | ||