mouse_click
mouse_click($dx=0,$dy=0); - this function is used to emulate a mouse click at the hardware level, relative to the current window
The function accepts parameters as input:
$dx – X coordinates for moving and clicking the mouse, relative to the upper-left corner of the window.
$dy – Y coordinates for moving and clicking the mouse, 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