Perfect. Thank you Diggory.

on 7/14/11 9:12 AM, Diggory <[email protected]> wrote:

> Try this:
> 
> property scriptAppName : "Dialectic"
> 
> on handle_incoming_call_action(contact_name, contact_number,
> phone_or_modem_name)
> try
> set n to "Name: " & contact_name & return
> if contact_name = "" then set n to ""
> set d to return & "Notes: " & phone_or_modem_name
> if phone_or_modem_name = "" then set d to ""
> set s to n & "Number: " & contact_number & d
> 
> 
> tell application "GrowlHelperApp"
> set myAllNotesList to {"incomingCall"}
> register as application scriptAppName all notifications
> myAllNotesList default notifications {"incomingCall"} icon of
> application "Address Book"
> 
> notify with name "incomingCall" title "Incoming Call" description s
> & " calling" application name scriptAppName
> end tell
> 
> end try
> end handle_incoming_call_action


-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to