(x, y, count=1)
| 168 | # pyautogui.press('enter') |
| 169 | |
| 170 | def tap(x, y, count=1): |
| 171 | x, y = x//ratio, y//ratio |
| 172 | print('Action: click (%d, %d) %d times' % (x, y, count)) |
| 173 | mouse = Controller() |
| 174 | pyautogui.moveTo(x,y) |
| 175 | mouse.click(Button.left, count=count) |
| 176 | return |
| 177 | |
| 178 | def shortcut(key1, key2): |
| 179 | if key1 == 'command' or key1 == 'ctrl': |
no test coverage detected