As Chris ( and others ) have suggested, I'm tring to use Applescript to tell BBedit to print: #!perl -w $temp = 'myfile.print'; open(F, "> $temp") or die $!; print F "my text to print"; close(F); MacPerl::DoAppleScript <<EOS; tell app "BBEdit 3.5" print "$temp" end EOS unlink($temp) or die $!; But when I run this BBedit starts, but then MacPerl comes back with "Out of memory!" MacPerl doesn't seem to be using a lot of ram, and I have 96 Megs in my G3. Any ideas? -- -Derrik firebug@apk.net http://come.to/thefire ----------------------------------------------------------- fear is the path to the darkside; fear leads to anger; anger leads to hate; hate leads to suffering - yoda ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org