MCPcopy Create free account
hub / github.com/a943512/PyAibote / move_mouse

Method move_mouse

PyAibote/WebBotModel/KeymouseOperation.py:68–79  ·  view source on GitHub ↗

移动鼠标 Move the mouse point: 坐标点 return: 布尔值 point: coordinate point return: Boolean value

(self, point: tuple)

Source from the content-addressed store, hash-verified

66 return "true" in self.SendData("clickMouse", point[0], point[1], typ)
67
68 def move_mouse(self, point: tuple) -> bool:
69 """
70 移动鼠标
71 Move the mouse
72
73 point: 坐标点
74 return: 布尔值
75
76 point: coordinate point
77 return: Boolean value
78 """
79 return "true" in self.SendData("moveMouse", point[0], point[1])
80
81 def scroll_mouse(self, point: tuple = (0,0), offset_x: float = 0, offset_y: float = 100) -> bool:
82 """

Callers

nothing calls this directly

Calls 1

SendDataMethod · 0.80

Tested by

no test coverage detected