Fix iChat AppleScripts in Mountain Lion

I noticed that my iChat-related AppleScripts had stopped working after the 10.8 upgrade. Apparently, Messages no longer answers to the name iChat; you have to edit your scripts to call “Messages” instead, like this:

tell application "Messages" to set status message to "On Mountain Lion"

I’m pretty sure the beta didn’t break backwards compatibility like that, and I really can’t think of a good reason for it.

[kirkmc adds: It's true that the name of an application like this changes it should probably still respond to the old name. So scripters beware. It's worth noting that both Contacts and Messages do respond to their old names if you search for them in Spotlight, though Calendar does not.]



Add to digg
Add to Reddit
Add to Slashdot
Email this Article
Add to StumbleUpon



via MacOSXHints.com http://feeds.macosxhints.com/click.phdo?i=7c7f03a7457f0731015627f2422f8c38