rycardo wrote:Could it be your mix of single and double quotes?
indigo.server.log ("Hello '{0}', I'm very happy to meet you".format("Joe"))
indigo.server.log ('Hello "{0}", I'm very happy to meet you'.format('Joe'))
rycardo wrote:you might need quotes or double quotes around your JSON data.
messagesPlugin.executeAction("sendMessage", deviceId=184726458, props={'message':"Hello Bruce", 'service':"E:*******@gmail.com", 'handle':"+15555551212"})
###Installing the Messages.app handler AppleScript
In order to receive messages from the Messages application, go to Preferences on the Messages menu, choose the General tab, and change the value of "AppleScript handler" to "Open Scripts Folder". Look where you unpacked the .zip file earlier, and you will find an .applescript file. Copy it into the scripts folder, then close and re-open Messages Preferences, and select the Run Indigo Message Plugin Action in the AppleScript handler list. Due to a bug in Messages, new messages will not always reach Indigo if Messages is in the foreground, so put an Indigo window in front of it.
Seeker wrote:i've been using this plugin since it was released. yesterday i rebuilt my mini with mojave and I must be missing something. I cannot find the select the Run Indigo Message Plugin Action in the AppleScript handler list. in messages/settings.
any idea what i'm missing now?###Installing the Messages.app handler AppleScript
In order to receive messages from the Messages application, go to Preferences on the Messages menu, choose the General tab, and change the value of "AppleScript handler" to "Open Scripts Folder". Look where you unpacked the .zip file earlier, and you will find an .applescript file. Copy it into the scripts folder, then close and re-open Messages Preferences, and select the Run Indigo Message Plugin Action in the AppleScript handler list. Due to a bug in Messages, new messages will not always reach Indigo if Messages is in the foreground, so put an Indigo window in front of it.
Users browsing this forum: No registered users and 4 guests