mouse_right_click
mouse_right_click($dx=0,$dy=0); - this function is used to emulate a 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 right-clicking, 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