Page 5 of 5

Re: iMessage/Messages/Siri Indigo Control Script

PostPosted: Fri Aug 07, 2015 1:52 am
by davinci
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?

Re: iMessage/Messages/Siri Indigo Control Script

PostPosted: Fri Aug 07, 2015 4:07 am
by kw123
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

Re: iMessage/Messages/Siri Indigo Control Script

PostPosted: Wed Mar 23, 2016 9:20 am
by sandconformgorgecloud
: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.

Re: iMessage/Messages/Siri Indigo Control Script

PostPosted: Sat Jun 11, 2016 2:33 pm
by cdeggz
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

Re: iMessage/Messages/Siri Indigo Control Script

PostPosted: Fri Jul 22, 2016 12:41 am
by cdeggz
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.