[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Still trying to print from MacPerl...



On Fri, May 21, 1999 at 01:00:36AM -0400, firebug@apk.net wrote:
} 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.

But how much do you have allocated to MacPerl?  It can use up memory
very quickly, long before any indicator you might have can tell you
it's filled its partition.  Remember, MacOS's memory management is
pretty lame, so even if you have lots of memory free, if you haven't
allowed an application access to it, ordinarily it won't get it.

} 
} 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

-- 
Paul Schinder
schinder@pobox.com

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org