Chris Nandor <pudge@pobox.com> wrote on Sat, 27 May 2000 09:20:18 -0400 <http://bumppo.net/lists/macperl/2000/05/msg00162.html> > At 12.41 +0900 2000.05.27, Gakuji Ohtori wrote: > > >But the script > > > > tell application "MacPerl" > > Do Script "warn 'hello!';" mode Batch > > end tell > > > >does not return anything, does it? How can I get element [diag] of > >parameter [OUTP]? > > I don't know. I know you can do it with raw Apple events, but I am not > sure you can with AppleScript. Jim? Did anyone work out how to get the console output in AS? I note, from <http://bumppo.net/lists/macperl/2000/05/msg00158.html> Gakuji Ohtori <gaji@tka.att.ne.jp> on Sat, 27 May 2000 12:41:23 +0900 > tell application "MacPerl" > try > set theResult to Do Script "printaa 'hello!';" > on error theErrMsg > return theErrMsg > end try > end tell returns "an error of type 1 occurred". It appears possible to determine if a simple error has occurred through AS, no more. -- Rory Campbell-Lange + The Campbell-Lange Workshop London ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-forum-request@macperl.org