iMessage/Messages/Siri Indigo Control Script

Posted on
Fri Aug 07, 2015 1:52 am
davinci offline

Re: iMessage/Messages/Siri Indigo Control Script

This works great when it works... :D

I still get the Indigo server isn't running message and the 10 seconds timeout.
There has to be a solution by now, right?

Maybe this helps to find a permanent solution:

Select no script - quit and select the script makes it work again.


I always get two replies even if it works perfectly, why?

Posted on
Fri Aug 07, 2015 4:07 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: iMessage/Messages/Siri Indigo Control Script

still get the Indigo server isn't running message and the 10 seconds timeout.
There has to be a solution by now, right?

see also suggestion on applescipt to indigo interface here:http://forums.indigodomo.com/viewtopic.php?f=4&t=14526

Karl

Posted on
Wed Mar 23, 2016 9:20 am
sandconformgorgecloud offline
Posts: 85
Joined: Jun 22, 2007

Re: iMessage/Messages/Siri Indigo Control Script

:shock: great !!

I tried but adding a second iCloud account wasn't possible for me. So I made a change to make a mail compatible version.
But after, I tried to make it for myself. I created an Indigo user but with my phone number. So I can ask Siri the same.
Just the change, really important, is to add something in the answer, to not loop the script :
Code: Select all
   if theMessage does not contain "IRC:" then
         if (full name of theBuddy) as string is "xxx" or (full name of theBuddy) as string is "+xxx" then
            set theResponse to runIndigoRemoteControl(theMessage)
            -- send back the response.      
            send "IRC: " & theResponse to theChat
         end if
      end if
   


That way, the message sent to myself will not be treated. Do the same in the 2 blocks that send messages.

It's really easy to change to use French (Français), so I can ask Siri in french as I do, just changing the words in the code, and adding some conditional rules.

Thanks for this script, it's really a killing feature.

Posted on
Sat Jun 11, 2016 2:33 pm
cdeggz offline
Posts: 33
Joined: Nov 30, 2014

Re: iMessage/Messages/Siri Indigo Control Script

This script used to work very well. I used it all the time. Then one day I started getting this error in iMessage:

Event: Message Received
File: indigo.applescript
Error: The operation couldn’t be completed. /Users/Craig/Library/Application Scripts/com.apple.iChat/indigo.applescript:8493:8517: execution error: Can’t make «class prFn» into type string. (-1700)

Any ideas?

Hopefully we get a Homekit/Echo tie-in sometime

Posted on
Fri Jul 22, 2016 12:41 am
cdeggz offline
Posts: 33
Joined: Nov 30, 2014

Re: iMessage/Messages/Siri Indigo Control Script

I added the new code but now when I try to save I get a syntax error: Expected “given”, “into”, “with”, “without” or other parameter name but found identifier.

Any ideas? It highlights the word "remote" in the new part of the code.

Who is online

Users browsing this forum: No registered users and 2 guests