An AutoHotkey (v2) script to automate sending predefined messages to contacts on your favourite messaging apps. Designed for bulk greetings or reminders. Modify the "Sleep" delays based on your system response time.
- Predefined Messages: Send holiday greetings, daily messages, or tests.
- Contact Management: Uses
.txt
files to track contacts and mark completed sends. - Hotkeys:
F7
: Pause/stop the script.F8
: Force quit the program.
- Progress Tracking: Contacts are marked with
?
after processing. - GUI Interface: Simple dropdown menu to select messages.
-
Install AutoHotkey v2:
Download from AutoHotkey v2 and install. -
Download Script:
- Clone this repo or download
telegram-sender.ahk
,discord-sender.ahk
, orwhatsapp-sender.ahk
.
- Clone this repo or download
-
Prepare Files:
- Create
people.txt
in the script folder (one contact per line). - For each message option (e.g.,
NewYear
,Xmas
), create a<key>-people.txt
file (e.g.,NewYear-people.txt
). - To make it easier, the files will be created for you if you're running the script for the first time.
- Create
-
Run the Script:
Double-clicktelegram-sender.ahk
,discord-sender.ahk
, orwhatsapp-sender.ahk
. -
Select a Message:
Choose a message from the dropdown and click "OK". -
Let It Run:
- Ensure the respective messaging app is open and logged in.
- The script will:
- Search for each contact.
- Send the message.
- Mark contacts as processed with
?
.
- Better Tracking:
A better way to make sure that the messages that are not actually sent to the people are correctly marked. - Unified Configuration:
A centralconfig.ini
file to manage platforms, messages, and contacts. - Enhanced UI:
Tabs/platform selector and progress bars.
- Scheduled Sending: Send messages at specific times.
- Attachment Support: Include images/docs with messages.
- Error Recovery: Resume interrupted sessions.
-
Report Issues:
Open a GitHub issue for bugs or feature requests, Or email me. -
Submit Pull Requests:
Fork the repo, make changes, and submit a PR. -
Suggest Improvements:
Share ideas for UI/UX or new platforms,
Or email me. -
Check out my other projects on my website.
-
Dependencies:
- Telegram must be installed and running.
- Contacts must match exactly with Telegram usernames/phone numbers.
-
File Structure:
discord/
├── discord-sender.ahk
├── people.txt (auto-generated)
├── NewYear-people.txt (auto-generated)
├── CNY-people.txt (auto-generated)
├── Morning-people.txt (auto-generated)
├── Xmas-people.txt (auto-generated)
├── Test-people.txt (auto-generated)
└── instructions.txt (auto-generated)
telegram/
├── telegram-sender.ahk
├── people.txt (auto-generated)
├── NewYear-people.txt (auto-generated)
├── CNY-people.txt (auto-generated)
├── Morning-people.txt (auto-generated)
├── Xmas-people.txt (auto-generated)
├── Test-people.txt (auto-generated)
└── instructions.txt (auto-generated)
whatsapp/
├── whatsapp-sender.ahk
├── people.txt (auto-generated)
├── NewYear-people.txt (auto-generated)
├── CNY-people.txt (auto-generated)
├── Morning-people.txt (auto-generated)
├── Xmas-people.txt (auto-generated)
├── Test-people.txt (auto-generated)
└── instructions.txt (auto-generated)
MIT License. See LICENSE for details.
Buy me a coffee! https://donate.stripe.com/28o2akeAr3hv0DK6oo