Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
iChatAppleScriptSamples
Last Revision: | Version 1.0, 2018-05-03 Sample AppleScripts demonstrating new iChat AppleScript features in Leopard, including Event Handlers. (Full Revision History) |
Build Requirements: | Leopard Preview |
Runtime Requirements: | Leopard Preview |
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.
Copyright © 2018 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2018-05-03