mouse_right_down
mouse_right_down($dx=0,$dy=0); - this function is used to emulate right-click on the hardware level, relative to the current window
The function accepts parameters as input:
$dx – X coordinates for moving and right-clicking relative to the upper-left corner of the window.
$dy – Y coordinates for moving and clicking the right mouse button, relative to the upper-left corner of the window.
After testing, the function returns the result of its work to the script :
true – emulation was done
false – emulation was not successful