User Tools

Site Tools


action:Move_or_Click_Mouse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
action:Move_or_Click_Mouse [2019/07/08 01:14]
peternlewis
action:Move_or_Click_Mouse [2023/09/15 02:20] (current)
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 81: Line 82:
   - use the gear icon at top right of the action to select whether or not to //Restore Mouse Location//.   - use the gear icon at top right of the action to select whether or not to //Restore Mouse Location//.
  
-==== Setup of Found Image ====+===== Click at 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 themyou 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 (BestTopmost, 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 <​key>​SPACE</​key>​ to show the image with the location of the click displayed on the image (v11.0+).
 +
 +There is an option in the action (gear) ⚙ menu to have the action wait until the image appears (v11.0+).
 ===== See Also ===== ===== See Also =====
  
action/Move_or_Click_Mouse.1562562888.txt.gz · Last modified: 2019/07/08 01:14 by peternlewis