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 | ||
action:Move_or_Click_Mouse [2019/07/08 01:14] peternlewis |
action:Move_or_Click_Mouse [2023/09/12 04:14] peternlewis [Setup of Found Image] |
||
---|---|---|---|
Line 9: | Line 9: | ||
- | **Simple Example: Click Mouse at Location Relative to Window**\\ | + | Simple Example: Click Mouse at Location Relative to Window |
{{:action:moveorclickmouse.png?511|}} | {{:action:moveorclickmouse.png?511|}} | ||
Line 83: | Line 84: | ||
==== Setup of Found Image ==== | ==== Setup of Found Image ==== | ||
- | You can also click relative to a [[:Found Image|Found Image]]. The image **has to be unique** (which includes not being visible in the action if the image is small enough not to be shrunk in the image well) otherwise Keyboard Maestro will not know where to click. If the image is not unique and you want to click on one of them, you can either use the [[action:Find_Image_on_Screen|Find Image on Screen]] action (which has an option to find a non-unique image) or the [[action:For_Each|For Each]] action with the [[collection:Found_Images|Found Images]] collection to find all matching images and click on them as appropriate. | + | You can also click relative to a [[:Found Image|Found Image]]. By default the image has to be unique (which includes not being visible in the action if the image is small enough not to be shrunk in the image well) otherwise Keyboard Maestro will not know where to click. Alternatively, you can specify which image to click (Best, Topmost, Leftmost, Bottommost or Rightmost). You can also use the [[action:Find_Image_on_Screen|Find Image on Screen]] action or the [[action:For_Each|For Each]] action with the [[collection:Found_Images|Found Images]] collection to find all matching images and click on them as appropriate. |
{{page>::Found_Image#How To Use&noheader&nofooter}} | {{page>::Found_Image#How To Use&noheader&nofooter}} | ||
+ | If the click offsets are all fixed values (not calculations), you can select the image well and press space to show the image with the location of the click displayed on the image (v11.0+). | ||
===== See Also ===== | ===== See Also ===== | ||