Mouse Clicks
|
Top Previous Next |
In the Sendkeys field that is mostly used for sending keypresses, special keys and macros there is also a limited facility to send mouse clicks.
The mouse click command consists simply of indicating which button to click (left or right) and the co-ordinates on the screen (x,y) to click. With the ability of windows to be on different parts of the screen often it is difficult to get a mouse click to always click the right co-ordinates, sometimes running an application maximized will help to guarantee that your mouse click command will always hit the right button or other control.
{LEFTCLICK=x,y} Example of use in SendKeys: Lets click a button{LEFTCLICK=5,10}
{RIGHTCLICK=x,y} Example of use in SendKeys: Lets make a popup menu appear{RIGHTCLICK=10,10}
{DOUBLECLICK=x,y} Example of use in SendKeys: Lets open an application{DOUBLECLICK=10,10}
To determine where on the screen to set the coordinates to, System Scheduler comes with an additional program called 'ShowXY.exe'. Browse to the folder where you have System Scheduler installed and run ShowXY.
|