Thank you for all the help with AppleScript! Having taken the easy way out - used system() to do all the hard work in the ToolServer - I now have a working Perl script, and I want to run it. If I save it as a droplet, double-clicking works, but MacPerl stays open afterwards. Is it meant to do that? Is there an option to tell it not to? Otherwise I can use AppleScript to start Perl, run the script, and quit, but I've rather gone off AppleScript at the moment ;-) Thanks, Peter. ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org