The Move or Click Mouse action allows you to move, click or move and click the mouse using any mouse button, and optionally dragging.
You can specify modifiers such as the shift key, as well as the position, relative to any corner of the front window, the main screen, or the current mouse location, or a found image on the screen.
As you select options further settings may become available. For example, if you click then you can also choose a button to click with and whether or not to also press a modifier key such as Control.
Select:
Select from the pop-up a mouse button to click or release.
Select zero or more modifier keys by clicking the relevant icon:
When a modifier key is clicked the icon is filled with blue.
If relevant, specify co-ordinates by entering a number or using the stepper arrows.
Clicking or moving may be relative to a:
Note: the Go button moves the mouse to the specified location. The Get button counts down from 5 so you have time to move the mouse pointer then gets the pointer’s co-ordinates.
You can also click relative to a 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.
Specify from the pop-up whether the click operation is:
Note: buttons that are pressed stay pressed only as long as the macro continues to run.
Note: use the gear icon at top right of the action to select whether or not to Restore Mouse Location.