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 [2017/06/03 16:19] JMichaelTX [Location Relative To] Add link to forum post |
action:Move_or_Click_Mouse [2018/08/05 05:06] ccstone [Setup of Found Image] |
||
---|---|---|---|
Line 59: | Line 59: | ||
*found image's center. | *found image's center. | ||
- | **To get the relative distance** (offset) of the Mouse position relative to some location, like the window top, left corner, see [[https://forum.keyboardmaestro.com/t/using-mouse-display-window-to-get-window-specific-locations/7112/9?u=jmichaeltx | this forum post]]. | + | **To get the relative distance** (offset) of the Mouse position relative to some location, like the window top, left corner, use the _Get_ button _after_ you have set the _relative to_ location. |
==== Setup and Testing ==== | ==== Setup and Testing ==== | ||
The //Go// and //Get// Buttons are used only during setup of the Action. They have no effect when the macro is executed. | The //Go// and //Get// Buttons are used only during setup of the Action. They have no effect when the macro is executed. | ||
* //Go// button moves the mouse to the specified X & Y location. | * //Go// button moves the mouse to the specified X & Y location. | ||
- | * //Get// button sets the X & Y location to current mouse position, after a countdown from 5 to allow time to move the mouse pointer. | + | * //Get// button sets the X & Y location to current mouse position |
+ | * Relative to the location set by the //relative to// popup | ||
+ | * Gives you a countdown from 5 to allow time to move the mouse pointer. | ||
==== Mouse Drag Options ==== | ==== Mouse Drag Options ==== | ||
Line 85: | Line 87: | ||
- | **Example: Click on Image in Area Relative to Front Window**\\ | + | **Example: Click the Center of an Image Found in an Area Relative to Front Window**\\ |
{{:click-found-image-action-km-7.3.png?nolink|}} | {{:click-found-image-action-km-7.3.png?nolink|}} | ||