Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Eliza, AppleScript, AIM, and Perl

posted by pudge on 2000.09.01 7:00   Printer-friendly
KM was the first to write "I just saw an article here on CNN.com about how a guy used AppleScript and the Perl version of Eliza to interact with AIM users. Some logs of conversations are here."

I saw this and I was curious as to how to best do it with MacPerl and Apple events (which are something I spend significant time on), so I went ahead and wrote my own version that is all MacPerl (except for a three-line handler written in AppleScript to redirect the event to MacPerl), using Mac::AppleEvents::Simple, Mac::Glue, and, of course, Chatbot::Eliza. The source is available, for kicks. The author said he'd put his up soon.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • A couple of months ago I was playing with the Jaim client, available here [nbclub.org] , and I set Eliza to start a conversation with anyone on my buddylist. Going into away mode set Eliza in motion and when anyone on the buddylist came online, the client automatically sent a greeting which when returned was answered by the "doctor". Although I can't say Jaim was the most user friendly client, it had everything necessary for the expiriment.
    --
    "Quote me as saying I was misquoted." --Groucho Marx