0
GitHub - reidjs/schedule-texts-from-txt: Schedule iMessage texts from .txt files...
source link: https://github.com/reidjs/schedule-texts-from-txt
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Repository files navigation
schedule-texts-from-txt
Schedule iMessage texts from .txt
files from your Mac.
Send your first text
- Clone this repo to your computer.
- Verify there is a file in example_scheduled_texts folder named
Text myself now.txt
that has the word "Hello!" in the file body. - Open
SETTINGS.txt
and replace the number aftermyself=...
to your phone number. - Open your terminal to this project directory and run these commands in order
virtualenv venv
source activate.sh
pip install -r requirements.txt
python send_scheduled_messages.py
- ✅ If everything went well, you should receive an iMessage text that says "Hello!" from yourself
How it works
The script parses the filename, Text {person} {datetime}.txt
, to determine who and when to send the text message.
- The first word in the filename must be "Text."
- The second word,
person
must be the persons identifier. This is set in SETTINGS.txt, e.g.,bob=1234567890
would setbob
's phone number to1234567890
- Everything following the name, before the .txt, is considered the
datetime
. Many formats may work for thedatetime
, but this is the only one I have tested extensively:Month D, YYYY HH:MM(AM|PM)
, for exampleMarch 9, 2024 7:25AM
. You can also use the keywordnow
as adatetime
to send one immediately.
Help & Feedback
Please create a GitHub issue if you have feedback or need help. Thanks!
Made by Reid JS on March 9, 2024
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK