summaryrefslogtreecommitdiff
path: root/autoclicker.py
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-06-04 13:45:31 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-06-04 13:45:31 +0800
commit635c736432170b42cd8325f52481508fb557c0ac (patch)
tree8f51f82ceeb3b83be12d9b5efaa5b77a2d1f4ae8 /autoclicker.py
parent61b5d7f614520cbc1bf9bae6994890eddffce09d (diff)
Fixes and finalized auto-update, idle, etc's format
Diffstat (limited to 'autoclicker.py')
-rwxr-xr-xautoclicker.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/autoclicker.py b/autoclicker.py
deleted file mode 100755
index 98d6910..0000000
--- a/autoclicker.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from time import sleep
-from random import uniform
-from pynput.mouse import Controller, Button
-from sys import argv
-
-mouse = Controller()
-
-if len(argv) > 1:
- delay = int(argv[1]) // 1000
- while True:
- mouse.click(Button.left, 1)
- sleep(delay)
-else:
- while True:
- mouse.click(Button.left, 1)
- sleep(round(uniform(0.035, 0.055), 3))