滚动鼠标 Scroll mouse point 鼠标x, y坐标位置 offset_x: 水平滚动条移动的距离 offset_y: 垂直滚动条移动的距离 return: 布尔值 point mouse x, y coordinate position offset_x: the distance that the horizontal scroll bar moves off
(self, point: tuple = (0,0), offset_x: float = 0, offset_y: float = 100)
| 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 | """ |
| 83 | 滚动鼠标 |
| 84 | Scroll mouse |
| 85 | |
| 86 | point 鼠标x, y坐标位置 |
| 87 | offset_x: 水平滚动条移动的距离 |
| 88 | offset_y: 垂直滚动条移动的距离 |
| 89 | return: 布尔值 |
| 90 | |
| 91 | point mouse x, y coordinate position |
| 92 | offset_x: the distance that the horizontal scroll bar moves |
| 93 | offset_y: the distance that the vertical scroll bar moves |
| 94 | return: Boolean value |
| 95 | """ |
| 96 | return "true" in self.SendData("wheelMouse", offset_x, offset_y, point[0], point[1]) |
| 97 | |
| 98 |