Version: 1.0

Posted: 2006-08-04

Build Requirements: Leopard Preview

Runtime Requirements: Leopard Preview

View Source Code:

Download Sample (“iChatAppleScriptSamples.zip”, 16.4K)
Download Sample (“iChatAppleScriptSamples.dmg”, 67.6K)



Description

This sample provides five sample AppleScripts:

Add Incoming Images to iPhoto - Adds JPGs, GIFs, and PNGs to your iPhoto library as they are received using an "Incoming File Transfer" handler.

Chatbot-Eliza - Uses the Perl Chatbot::Eliza module to send incoming messages to Eliza and sending the response back through iChat.

TuneBot - Uses a "Message Received" handler to interface with iTunes based on incoming messages.

Find Accounts By Name - Displays a list of all the people logged in through iChat whose real name matches a specified string.

Text Commands - Uses a "Message Sent" handler to check outgoing messages for a command and responding appropriately.

Document Revision History

Date Notes
2006-08-04Sample AppleScripts demonstrating new iChat AppleScript features in Leopard, including Event Handlers.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.