At 1:50 pm -0500 on 22/11/97, the great Chris Nandor wrote: [SNIP] >You will note that the statement C<$num_messages = message_count;> is part >of the AppleScript, so it is not doing anything in Perl, but in >AppleScript. Anyway, whatever AppleScript returns is returned by the >DoAppleScript function, so $value = MacPerl::DoAppleScript($script) gets >the return value. Yes, I did realise this, but I couldn't work out where to put it. Many thanks Peter. -- Peter at Gradwell dot com mailto:Peter@Gradwell.com OR mailto:pjg7@aber.ac.uk VISIT it NOW! - http://www.irds.org/peter/ NEW for the CLASSOF97 - http://www.loud-n-clear.com/gradwell/ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch