iChat Applescript changes in 10.5?

limike28

Registered
I recently upgraded to OS X 10.5, and now a script I use for sending messages from Caller ID to iChat no longer works. Is anyone aware of changes that have been made to parameters or field names that would effect this?

I have included the script below.

__________________________________________________
-- convert Caller ID date to AppleScript date object
set CIDDate to date CIDDate

set theMessage to "A phone call was received from " & CIDname & "(" & CIDnumber & ") on " & CIDDate

if CIDcardID is not equal to " " then

set theMessage to theMessage
end if


tell application "iChat"

activate

send theMessage to buddy "iPhone" of service 1
end tell
 
What is the exact error you receive?

I can't say off the top of my head, but perhaps they've reordered the services. If you say 'tell application "iChat" to return every buddy of service 1', does the returned list contain an item named 'iPhone'?"
 
That's the funny part. I don't receive an error message. When the script runs, iChat will pop open a chat window for the buddy "iPhone" but doesn't load the message. I even tried a simple test with a simpler script, and I get the same results.
 
Back
Top