iMessage yourself
12 Aug 2015There are instances where I find it useful to iMessage myself. For example, when a long code is done running. Or, when something has gone wrong with a piece of equipment.
For something simple like when a code is done running on my laptop, I’ll iMessage myself from my own account. In the case of alerting me about equipment, particularly where others have access to the server, I’ll set up a separate iCloud account for that server.
In either case, the key elements are that my contact information in the sending iCloud account’s Contacts with my cell phone number.
Pretending that my cell phone number is +1 (928) 123-4567, the following command line works:
Pulled apart in to an AppleScript:
Or, finally as some simple python with no need for fancy applescript libraries: