LeftClick

Left click in the center of the control.

void LeftClick();

void LeftClick(int moveRight, int moveDown);

Parameters

moveRight: x offset relative to the center of the control.

moveDown: y offset relative to the center of the control.

Return Value

None

Remarks

The optional parameters can be used to offset the mouse cursor position from the center of the control.

Example

private Control notepadWindow;

notepadWindow = FindTopWindow("Untitled - Notepad");

notepadWindow.LeftClick();

Related:

 

This topic was last updated on June 21, 2019, at 02:49:50 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2020 Eggplant