10.5: Auto accept any chat request in iChat

Nov 01, '07 01:20:00PM

Contributed by: robg

In 10.4, you had to use Chax to allow auto-acceptance of chats in iChat (there is a way to auto-accept video chats, but that's it).

In 10.5, there's a new "Run AppleScript" feature in the Alerts section of iChat's preferences. I was going to use that to write a simple AppleScript to press the Return button in the dialog that appears when you receive a chat invitation. After checking the box to enable AppleScripts with text chat invitations, I got a surprise when I clicked the drop-down menu: Apple's already done the work!

When you enable the Run AppleScript feature, you'll see you can pick from three already-created AppleScripts: Auto Accept, Auto Reject, and iTunes Remote Control. Pick the event you'd like to modify (text, audio, or video invitations, in my case), enable Run AppleScripts, and select AutoAccept.applescript from the pop-up menu. It couldn't get much simpler than that!

If you want to view the source scripts, you'll find them in /Library » Scripts » iChat. The iTunes controller is interesting; use it with Bonjour iChat, set it to run on messages received, and you have basic control over iTunes from any Mac in the house.

Comments (3)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20071101131304594