Auto Messenger is a Python-based desktop application built with tkinter. It allows users to send automated messages on any platform by simply typing and sending messages periodically. This tool is ideal for tasks like reminders, spamming (within ethical guidelines), and scheduled messaging.
- Input multiple messages with each message on a new line.
- Set a customizable time interval between messages.
- Define a duration for the messaging session (in minutes).
- Optional countdown timer to display the remaining time in each message.
- Randomized message selection from the provided input.
- Easy-to-use graphical user interface (GUI).
To run this application, the following Python libraries need to be installed:
tkinter(comes pre-installed with Python on most systems)pyautogui
Make sure you have Python 3 installed on your system. Then, follow these steps to install the required packages:
Run the following command in your terminal or command prompt to install the necessary dependencies:
pip install pyautogui- Clone this repository to your local machine or download the script.
- Run the
Auto Messengerscript by executing the following command:
python auto_messenger.py-
Enter the following details in the GUI:
- Messages: Input the messages you want to send (one per line).
- Time Interval: Set the time interval (in seconds) between each message.
- Duration: Specify the duration of the messaging session (in minutes).
- Include Countdown: Check the box if you want the remaining time displayed in the messages.
-
Click Start to begin sending messages or Stop to terminate the session.
The application uses tkinter for the GUI, pyautogui for simulating typing and sending messages, and threading for managing background tasks. Key functions include:
- Input Validation: Ensures proper values for time interval and duration.
- Message Sending: Types and sends messages in a loop based on the defined time interval and duration.
- Countdown Timer: Optionally appends a countdown message to the sent messages.
If you want to send periodic reminders, for instance:
-
Add messages like:
- "Take a break!"
- "Drink water!"
- "Stretch your legs!"
-
Set the time interval to 300 seconds (5 minutes).
-
Set the duration to 60 minutes.
The app will send these reminders every 5 minutes for an hour.
This project is licensed under the MIT License. Feel free to modify and distribute it as needed.