ClickOnObject
Sends a single click on the object with the specified ObjID. The server typically responds with the object’s name and/or description in the journal.
This method sends a click request to the server. It cannot be used to read object tooltips — for that, use GetTooltip or GetToolTipRec.
Отправляет одиночный клик по объекту с указанным ObjID. Сервер обычно отвечает именем и/или описанием объекта в журнале.
Метод отправляет запрос клика на сервер. Для чтения тултипов объектов используйте GetTooltip или GetToolTipRec.
procedure ClickOnObject(ObjID: Cardinal);
Parameters:
- ObjID — ID of the object to click on.
def ClickOnObject(ObjID: int) -> None: ...
begin
ClickOnObject(FindItem);
Wait(500);
end.
ClickOnObject(FindItem())
Wait(500)