RightMouseClick
void RightMouseClick(String control)Description
Simulates a right mouse button click on the specified control.
The function locates the given UI control (identified by its control name) and performs a right-click action at its position.
This is typically used to open context menus or perform alternative actions associated with the control.
Parameter
- control - The identifier or name of the control to be right-clicked.
Example
void main()
{
RightMouseClick("BTN_SETTINGS"); // Opens context menu of the settings button
}