get_position
get_position($in_browser=false,$virtual=false); - this function is used to get the mouse cursor position relative to the upper-left corner of the desktop
The function accepts parameters as input:
$in_browser – in_browser - when is true, the coordinates are obtained relative to the browser, and when is false, relative to the desktop. (boolean) - (parameter available from 4.9.30)
$virtual – virtual - if is true, the coordinates are virtual (passed by the send_xxx commands), and if is false, they are real. (boolean) - (parameter available from 4.9.30)
After testing, the function returns the result of its work to the script :
mouse position – x and y coordinates of the mouse, separated by a space, and the variables $mouse->x and $mouse->y (string)false – operation failed (boolean)