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

Re: [MacPerl] MacPerl and other apps



At 9.05 -0400 1999.05.20, Chilton Webb wrote:
>Is there a way to send a string to MacPerl and have it point the print
>statements to the "result" of an appleEvent?
>
>For example,
>
>tell application "MacPerl"
>	copy (Do Script "print 4+3;") to x
>	x
>end tell
>
>where x would return the result of the print statement?

(Do Script "print 4+3" mode batch)

--
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 macperl-request@macperl.org