joshg@ola.bc.ca (Josh Gemmell) wrote >As well, make sure that the ending tag is by itself on a line that has >no space before it and a carriage return after it. I used to do that which upset my notions of indentation. Luckily someone on this list mentioned you could indent the terminator, provided you exactly matched what was on the line after the '<<' MacPerl::DoAppleScript(<<" END_SCRIPT"); tell application "MacPerl" activate end tell END_SCRIPT Danny Thomas ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch