Send messages via iMessage and SMS Relay (note, SMS Relay requires OS X 10.10 and an established SMS Relay pairing between your Mac and an iPhone running iOS8)
Note: This extension works by controlling the OS X "Messages" app via AppleScript, so you will need that app to be signed into an iMessage account
Signature | hs.messages.iMessage(targetAddress, message) |
---|---|
Type | Function |
Description |
Sends an iMessage |
Parameters |
|
Returns |
|
Source | extensions/messages/messages.lua line 18 |
Signature | hs.messages.SMS(targetNumber, message) |
---|---|
Type | Function |
Description |
Sends an SMS using SMS Relay |
Parameters |
|
Returns |
|
Source | extensions/messages/messages.lua line 32 |
© 2014–2017 Hammerspoon contributors
Licensed under the MIT License.
https://www.hammerspoon.org/docs/hs.messages.html