This is a Python script that allows you to send messages to multiple recipients on WhatsApp using Selenium and PyQt5. It provides a user interface where you can enter the recipients' phone numbers and the message you want to send.
- Python 3.x
- PyQt5
- Selenium
- openpyxl
-
Clone the repository:
git clone https://github.com/your-username/whatsapp-message-sender.git
-
Navigate to the project directory:
cd whatsapp-message-sender
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python main.py
-
The WhatsApp Message Sender window will appear.
-
Enter the path to the Excel file containing the list of recipients' phone numbers, or click the "Browse" button to select the file using the file dialog.
-
Enter the message you want to send in the provided text field.
-
Click the "Start Sending" button to start the message sending process.
-
A Chrome browser window will open with WhatsApp Web. Scan the QR code to log in to your WhatsApp account.
-
Once the code is scanned, click the "Code Scanned" button to start sending messages to the recipients.
-
The script will iterate through the list of recipients and send the message to each one. The sent recipients will be displayed in the list below.
-
You can close the application after the message sending is completed.
Note: Make sure you have an active internet connection and the Chrome web browser installed.
You can customize the appearance of the application by modifying the dark_stylesheet
variable in the script. The stylesheet uses CSS syntax, and you can adjust the colors, fonts, and other visual elements according to your preference.
This project is licensed under the MIT License.