File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ import pyautogui
2
+ import webbrowser as wb
3
+ import time
4
+ wb .open ("web.whatsapp.com" )
5
+ time .sleep (30 )
6
+
7
+ # Use k=1 for infinite spamming
8
+ # k=1
9
+ #while k==1:
10
+ # Else put a value in for loop for defined number of messages
11
+ for i in range (50 ):
12
+ pyautogui .typewrite ("Your message in" )
13
+ pyautogui .press ("enter" )
14
+
15
+
Original file line number Diff line number Diff line change
1
+ # Package/Script Name
2
+
3
+ Short description of package/script
4
+
5
+ - pyautogui: To automate the GUI and Pressing the key
6
+ - webbrowser: To open the webbrowser
7
+ - time: For giving a sleep time
8
+
9
+ ## Setup instructions
10
+
11
+ You can install these using pip install
12
+
13
+ ## Detailed explanation of script, if needed
14
+
15
+ ## Output
16
+ ![ Result] ( image.png )
17
+ ## Author(s)
18
+
19
+ Harsh Pandey
20
+
21
+ ## Disclaimers, if any
22
+
23
+ Use it just for fun and not for any unethical purpose
You can’t perform that action at this time.
0 commit comments