You wrote >It works fine when executed from MacPerl, but Script Editor replies: "No >result was returned from some part of this expression". > Hmm. It definitely works for me. My version of MacPerl is 5.0.7r1m, from way back in March. Which version are you using - I'll try to grab a copy and see what happens. In the meantime, try a print statement within Perl to confirm that the script is being invoked with the right arguments and that it gets past the 'Reply. In the AppleScript, try display dialog statements to check the progress through the invocation. One thing I did notice: I often include 'activate' in my AppleScripts. Doing this here resulted in MacPerl hanging on to control, and the reply didn't get back to AppleScript until the timeout whistle blew, or until I clicked on the AS window to take control back. Maybe there's something obscure which prevents AS from getting control again? Keep Mac'ing at it! Peter Tattersall Perk Consulting ptatters@astral.magic.ca http://www.magic.ca/~ptatters/rolling.html