View unanswered posts | View active topics It is currently Mon Apr 21, 2014 6:08 am



Reply to topic  [ 31 posts ]  Go to page: Previous  1, 2, 3
 Dialectic Indigo Script 
Author Message

Joined: Nov 26, 2009
Posts: 1341
Location: Kalispell, MT
Post Re: Dialectic Indigo Script
Success! Dialectic seems to work very reliably in sending caller ID info to Indigo.

Here's the script that runs on an incoming call. Very fast as well. I now have an photo, name, number and the last time they
called up on my always on control page screen even before my house phone knows it.

This is especially nice as I can also have it announced on my outdoor speakers.

Code: Select all
on handle_incoming_call_action(contact_name, contact_number, phone_or_modem_name)
   try
      tell application "IndigoServer" of machine "eppc://TV:xxx@TV.local"
         # Log the number so we can see what it is
         log "call from " & (contact_number as string)
         log "call from " & (contact_name as string)
         set the value of variable "CIDnumber" to (contact_number as string)
         set the value of variable "CIDname" to (contact_name as string)
      end tell
   on error the_error
      activate
      display dialog "Error: " & the_error buttons {"OK"} default button 1 with icon 0 giving up after 20
   end try
end handle_incoming_call_action



Cheap too.

Carl


Wed Apr 25, 2012 12:34 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 31 posts ]  Go to page: Previous  1, 2, 3

Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.