John, I did what you said, and it worked perfectly. I haven't tried mode batch tho. The one thing I haven't yet figured out is what command would close the output window opened by MacPerl for various diags. Any idea ?
Thanks very much - - On Tue, 7 Oct 2003 14:06:33 +0100, John Delacour wrote: >Just tell MacPerl to do the script in the droplet rather than launching >the droplet. If you launch the droplet it will just go about its >business independently. >Suppose at "dx08:Users:jd:temp:macperltemp.pl" I have a droplet with the >script > # "dx08:Users:jd:temp:macperltemp.plx" > #!perl > print "\a" >and I run this AppleScript script: >set _script to alias "dx08:Users:jd:temp:macperltemp.plx" >tell app "MacPerl" to Do Script _script