send_move
send_move($x,$y,$scroll=true,$time=0,$tremble=5,$buttons=""); - this function is used to transmit mouse movement to a specified point in the browser, even if the program is hidden in the tray.
the input Function accepts parameters:br>
$x – the x coordinate of the point to which you need to pass mouse movement, relative to the upper left corner of the browser. (int)
$y – y - coordinate of the point to move the mouse to, relative to the upper-left corner of the browser. (int)
$scroll – whether to scroll the browser to the specified point. If false is simply passed permashine to a given point, And true, you will be automatically scrolling to the desired point (boolean).
$time – the time it takes to move from the current point (parameter is available from 4.6.16). (int)
$tremble – the amplitude of the trajectory jitter (for more human-like emulation) (parameter is available from 4.6.48). (int)
$buttons - a string with a set of buttons (more than one button can be held down) that will stay pressed when moving (available from 4.9.32) :- MK_CONTROL - Ctrl on the keyboard
- MK_LBUTTON - left mouse button
- mk_mbutton - middle mouse button
- mk_rbutton - parvaya mouse button
- mk_shift - shift on the keyboard
- mk_xbutton1 - mouse button x1
- mk_xbutton2 - mouse cap X2
After testing, the function returns the result of its work to the script :
true – successfully moved to the specified point (boolean)false – operation failed (boolean)