Skip to content

Commit 3567921

Browse files
authored
Merge branch 'master' into Vaibhav
2 parents cbf92aa + d21dafe commit 3567921

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

MouseMover/MouseMover.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import win32api, win32con, time, random
2+
def click(x,y):
3+
win32api.SetCursorPos((x,y))
4+
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,x,y,0,0)
5+
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,x,y,0,0)
6+
7+
while True:
8+
click(random.randint(0, 100), random.randint(0,100))
9+
time.sleep(15)

MouseMover/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This repository consists of a list of python scripts to automate few tasks.
2+
3+
You can contribute by adding more python scripts which can be used to automate things. Some of already done are listed below.
4+
Incase you have anything to be followed while executing the python script mention it as well
5+
6+
7+
# Python Script
8+
9+
10+
## Script - Chessboard
11+
12+
Moves your mouse every 15 seconds
13+
MouseMover.py

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,8 @@ Create a star pattern pyramid
6262
calculate compound interest
6363

6464
## Script 14 - AutoCert
65-
A Python script to auto generate e-certificates in bulk.
65+
A Python script to auto generate e-certificates in bulk.
66+
67+
## Script 15 - Mouse mover
68+
Moves your mouse every 15 seconds
69+

0 commit comments

Comments
 (0)