11/14/2023 0 Comments Macos send smsSend.sh starts a tail process that watches sms.txt for changes. Sms.txt is where the recipients phone numbers and the message text are defined. After looping over the list it renames sms.txt to sms-$.txt and creates a blank sms.txt. It then loops over the list of recipients and tells the Messages app to send the message to each recipient. Send.scpt is an AppleScript that reads environment variables recipients and message. This script automates that process on macOS. The Shortcut is now working for me hopefully this will iron out your issues as well.It's not currently possible on iOS or macOS to send an SMS message or Apple Message to multiple people individually (as opposed to a group) without creating a new message for each person. As a workaround, move the Shortcut to the All Shortcuts folder before running the Pushcut import. There is also an issue with Shortcuts on iOS 15.2 that are in folders All Shortcuts only lists Shortcuts that are not in another folder, causing only a limited set of Shortcuts to be impoted into Pushcut. Get Details from Contact seems to get changed to look for Groups instead of the Phone Numbers that it should be using – reset to look up the phone nuber.Īt times, using Shortcut Input during the Shourtcut fails to have the correct value (any value?) – Shortcut Input assigned to a variable at the very start of the Shortcut and the variable used further down the Shortcut to mitigate.Įnsure that the latest versions of the Shortcuts are imported into Pushcut. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |