send_mouse_move
send_mouse_move($dx=1,$dy=1,$time=0,$tremble=0,$buttons=""); - emulate mouse movement at the event level relative to the upper-left corner of the element ( available since 4.6.29 )
The function accepts parameters as input:
$dx – X – axis offset of the upper-left corner of the element$dy - Y-axis Offset of the upper-left corner of the element$time – the time it takes to move the mouse (in seconds)$tremble – mouse shake amplitude (random deviation from moving in a straight line)$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 button X2
After the function returns the result of their work in the script (the return value type is boolean):
true – executed successfullyfalse to find this element failed (e.g. no items that meet the specified criteria or not this frame)