


There are other ways of doing this, including the use of Twillo. More moving parts.ĪppleScript approach – Mac only, includes Send.Īll three of these approaches are included in the current demo file, but if you want more detail on any of them, just click through the the appropriate blog entry. It is more finicky because you have to set up the Shortcut as well. Shortcuts approach – More complicated approach that will work on both Mac and iOS devices.
#Apple send sms from mac script windows#
The limitation seems to be that you still have to flip over to iMessage and click ‘Send’/ This might work with Windows as well, though not tested. So now, I have four blog posts about sending SMS from FileMaker.īasic SMS – Dirt simple approach: use the sms: tag on a phone number. I saw more discussion with regards to the issue of naming the ’service’,Įquipped with someone else’s hard work of figuring this out, I was able to translate this into FileMaker with the script:Īnd the juicy bit was the Set Variable $TheAppleScript. This didn’t work right away, because there was a small bug in the script, it should have read: tell application "Messages" set iMessageid to get id of first service set theNumber to buddy "+1yournumber" of service id iMessageid -enter the number that you want to send your message to here send "CubeMG just made my life 10x easier!" to theNumber end tell Send "CubeMG just made my life 10x easier!" to theNumber enter the number that you want to send your message to here Set theNumber to buddy "+1yournumber" of service id myid Set iMessageid to get id of first service I hadn’t but a quick web search revealed a fairly straightforward approach, so of course I had to see if I could make it work. A reader, Pierre Boucher, asked if I had tried using AppleScript to send SMS.
