Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

el capitan applescript messages not working

I am trying to run the following code:

The code works on Yosemite but doesn't work on El Capitan

tell application "Messages"

set c to chat 1 whose name is "chat144474270451543618"

log c

end tell

ERROR: Can't get chat whose name = "..."


Also fails: (ERROR: Can't get name of text chat id)

tell application "Messages"

set c to chat 1

set n to name of c

log n

end tell

Thanks,

A.

OS X El Capitan (10.11)

Posted on Nov 11, 2015 5:15 AM

Reply
1 reply

el capitan applescript messages not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.