File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ pip install -r requirements.txt
13+
14+ ## Detailed explanation of script, if needed
15+
16+ ## Output
17+ ![ Result] ( image.png )
18+ ## Author(s)
19+
20+ Harsh Pandey
21+
22+ ## Disclaimers, if any
23+
24+ Use it just for fun and not for any unethical purpose
Original file line number Diff line number Diff line change 1+ pyautogui
2+ webbrowser
3+ time
You can’t perform that action at this time.
0 commit comments