Show HN: Schedule iMessage Texts from .txt Files (github.com)
Annoyingly, iPhones don't have a great way to schedule messages. This around 100 lines of python to schedule iMessage texts from .txt files on your computer.
If this is useful to you, please give it a try and let me know what you think. Thanks.
75 comments
[ 5.4 ms ] story [ 160 ms ] threadStill don’t know how they get around auto send, iMessage required user input last time I tried this
[Edit] Shortcuts still require user interaction, apparently mac does not, that's interesting
The removed comment was basically along the lines of "when people say the word computer, they generally don't think of Apple" referring in this context to the fact that the app written by OP said it requires a "computer", giving the impression it's cross platform on all computers specifically, PCs which are still the majority marketshare in the computer space, yet it only works on macs, therefore it should be more specific about that restriction, which OP later corrected in the readme.
That's why I asked, since it seemed like he brought up a fair point that got unnecessarily attacked by someone going off topic and attacking him with false accusations about some imaginary crapple joke, plus a mob flagging it for no reason, which made me disappointed to see on this community.
Sometimes I feel like posts that are even remotely critical about Apple or Macs Apple on HN, get flagged and generally attacked in replies with hateful comments. I keep hoping people would be more objective and moderate here and less defensive about a favorite brand.
No there isn't. Pro-Apple comments don't get downvote bombed and flagged for no reason as much as those anti-Apple. If you don't see this it's your bias showing.
And what was "unreasonably anti-Apple" in that comment that it needed be flagged? By market share it's true, for most people saying "a computer" is gonna mean a PC, not just a Mac only.
> And what was "unreasonably anti-Apple" in that comment that it needed be flagged?
Please show me where I said that comment was unreasonably anti-Apple, or that it deserved to be flagged.
But, they're "dug in" and they can't "un-Apple" all their stuff. They spend extra to buy a product that has components they think has serious problems that is operated and ran by a company that they routinely participate in discussions about them doing things at bad faith like killing webapps.
Also as someone who has done a few different product launches on HN you can tell instantly when you start getting metrics about page visits that HN skews extremely Apple. Your UA logs will be dominated by Safari and iOS agents as the hits come in from HN.
That is true of most of the organizations that have a large representation here on HN. A ton of people here work for those companies, the federal government or companies that directly contract (and depend) on those companies.
While I don't mind much if someone disagrees with me on HN I do notice that conversations surrounding certain topics, groups or companies get essentially brigaded and as a byproduct of that I typically avoid those discussions here.
I figure if the echo chamber wants/needs to talk to each other about how great Apple or Google is I just ignore it and it happen. Sure, there will be a post in a few weeks about how the same company stole their data or made them into a product, but they'll forget that and go back to singing corporate praise soon enough.
When real products or innovations come around you can see the way people react on the site as genuine. I look for those kinds of conversations and topics. If you ever get bored and want to be entertained go check out some of the hilariously bad product launches either Apple or Google have done and then go back and look at some of the conversations on HN about it.
You could read all inbound messages from the Messages app and reply as well. You could even hook it up to a local LLM and run a small support agent.
Is there ANY reason a small business owner couldn't do this and avoid paying SaaS fees?
https://github.com/earlychildcog/automate_sms_to_participant...
If an app running on my machine has subclassed the Messages app and is reading strings and sending hit strokes to the (Send) button on my behalf, how can Apple possibly rate limit this?
(lose your main iCloud account... 'bold move Cotton')
People (and corporations) will pay a lot of money to have someone else manage and maintain their infrastructure.
I have a daily shortcut that runs at X time. Shortcut checks a calendar for events, if today contains one or more events. It will parse the text from these events (comma separated fully qualified phone numbers or iMessage accounts), and send the message contained in the body of the event.
Added bonus here is that I can also send group messages.
If I need to have the message sent on repeat, then I put the cal event on repeat.
I could possibly even have templated messages (ie, insert month and year into message), but I haven’t deep dived into that rabbit hole.
Downside here though is that you need an iOS device to always be on.
Although if the script has some dependency on iOS or macOS specific function (ie, existence of “Apple script”). Then the shortcut might not be portable between macOS <-> iOS
Can you provide an example or two of how you format the events in your calendar to allow them to be sent at a scheduled time by the Shortcuts app?
I have an old iPhone that runs this automation. Haven’t touched it in many months. Still runs without a hitch.
I get that it’s fashionable to rag on AppleScript. But for this particular use case—a scriptable app on macOS—AppleScript is the way to go.
I will gladly take Python instead and use it. A language used by millions to do almost anything with a vast amount of the code being written being shared not just the language and modules.
I do not have the time or interest to play with Apples little locked down language to keep their walled garden looking pretty.
--------
tell application "Messages" set phoneNumber to "+15555555555" set messageToSend to "This is a test!"
try set iMessageService to (1st account whose service type = iMessage) set iMessageBuddy to participant phoneNumber of iMessageService
end tellThe message text is URL encoded, the phone number is auto-retrieved from the contact, then an sms: URL is generated and added to my reminders app. When the time comes, I simply click the link and it auto-populates in Messages, ready to send or tweak.
I use it mostly with my SO as a reminder we send to each other at certain times.
Thanks!
It's difficult to get most people to switch to something else and impossible to get old people to do it.