Come and get it: ftp://pudge.net/pub/pudge/macperl/glue.19980916.sit.hqx Two sample modules and a sample script included. Very little documentation. Feel free to ask me questions on the list, as I think this is something that affects many people on the list, even if they don't want to download the alpha. Quick Overview: --------------- This is for controlling any scriptable app with MacPerl, using language similar to AppleScript instead of the raw Apple Events we've had to use all this time. This thing is comprised of two portions, a droplet (glue_me.dp) and a module (Mac::Glue). The aete resource is parsed by the droplet (thanks to David C. Schooley's original droplet) and a module is created that uses Mac::Glue, and is appropriately subclassed under Mac::Glue. Two test glue modules are included: Mac::Glue::Finder and Mac::Glue::Anarchie_Pro. They have not been changed at all except for one manual change in Mac::Glue::Finder, I changed the second open event (there are two) to C<open2>. Mac::Glue is where most of the work is done. The other modules just provide the parameters required for Mac::Glue to do the right thing. The Glue.pm file should be placed in your MacPerl Ä:site_perl:Mac: directory, and then this short script needs to be run: #!perl -w use AutoSplit; $dir = "$ENV{MACPERL}site_perl"; autosplit("$dir:Mac:Glue.pm","$dir:auto",0,1,1); The two other modules need to be placed in the MacPerl Ä:site_perl:Mac:Glue: directory. Same thing goes for any new modules you create. It is alpha, and is not very close to being feature complete. I have done quite a bit, but I have more to do, and feedback on this is welcome. The sample script, plus the discussion of the last few weeks, should be able to get you started. Of course, please send me any input you have, and feel free to send discussion to the list. And please, test it out on scriptable apps you know fairly well; that way you can better guage the thing. Oh, and one more thing, you need brand-new versions of Mac::AppleEvents::Simple and Mac::Apps::Launch, too, which are on their way to CPAN and on my site. Thanks, -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch