RightClick

Right click in the center of the automation control.

void RightClick();

void RightClick(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 automation control.

Example

AutomationControl notepadWindow;

notepadWindow = FindTopAutomationWindow("Untitled - Notepad");

notepadWindow.RightClick();

Related:

 

This topic was last updated on October 11, 2019, at 11:19:01 AM.

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