private void DoUiElementClick() { if (_uiElementUnderCursor) { _uiElementUnderCursor.Click(); } }
private void ClickOnUiElement() { if (_uiElementUnderCursor != null) { _uiElementUnderCursor.Click(); } }
public ExecuteResult Click() { var args = context.args; var type = (ClickType)(long)args["type"]; var button = (MouseButton)(long)args["button"]; var method = (InputMethod)(long)args["method"]; if (button == MouseButton.BTN_RIGHT && method == InputMethod.API) { method = InputMethod.WINDOW_MESSAGES; } node.Click((ClickType)type, (MouseButton)button, (InputMethod)method); return(new ExecuteResult(0)); }