LeftClick

Left click in the center of the automation control.

void LeftClick();

void LeftClick(int moveRight, int moveDown);

Parameters

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

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

Return Value

None

Remarks

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

Example

private AutomationControl notepadWindow;

notepadWindow = FindTopAutomationWindow("Untitled - Notepad");

notepadWindow.LeftClick();

Related:

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

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