
There are a couple of minor issues that I have come across over a couple of iOS updates: Here (try again) is an updated version of the Shortcut.
the script then deletes the messages using this reversed list of indexes.
after all the messages have been sent, this list of indexes are reversed (largest number first). instead of deleting the message during the repeat loop, I have the index number of each message added to the variable, “Index to delete”. Send Delayed Messages (Please let me know if there’s a more elegant way of doing this) I’ve made the following changes to the script: The problem is that after the first message is deleted from Data Jar, everything shifts up one index. The script is deleting “Send Later.1” first then “Send Later.2” second etc. If there are multiple messages sent in one session and the script needs to delete multiple entries in the Data Jar dictionary, the script runs into the problem of incorrect messages being deleted from the Data Jar dictionary. Also, it’s unlikely that something would have changed that early to make sending the message out no longer necessary.Īnyhow, that’s a bit stream of consciousness, but hope it’s I know this is a little late, but I only now got around to trying out that “send delayed messages” shortcut. I send it at 8:01 am each day automatically (iOS 14 automation) so it looks slightly less planned than 8:00am sharp. This reporting feature ensures I don’t send out any messages when they no longer make sense. Each day, I run a report that 1) reports any planned messages for the next day (in case I need to adjust something in the message or remove it) and 2) sends out any messages for the day before deleting the them from DataJar. It stores a dictionary with two text items (“number” and “message”) in the proper day. I wrote a shortcut called “Plan Delayed Texts” that asks three questions: 1) what contact do I want to send it to (it grabs the contacts cell number), 2) what message I want to send, and 3) what day I want the text to go out. I have a dictionary called “delated_texts” in DataJar that holds 7 internal dicts named “Sunday” “Monday” etc. I wanted to schedule only for the next week to me, if I think of a text I need to send next month, it’s more email territory. Send Delayed texts: sends any scheduled messages for today and deletes it from DataJar. Delayed texts report: previews any texts to go out the next day in case I need to make changes. Plan delayed texts: schedules messages to go out on some day the next week. I’ve created this concept with DataJar and Shortcuts, though I’m sure you could store it in JSON and keep it somewhere on the cloud.