Re: [MacPerl] launching an external app

2004-06-29 Thread Chris Nandor
At 8:44 +0200 2004.06.29, Bart Lateur wrote: >If you know of a (easy) way to embed the compiled Applescript into the >resource fork of this applet itself, and run it from there, I'm all >ears, even if the embedding is not done using MacPerl itself (though I'd >prefer that... :)) Using the initial

Re: [MacPerl] launching an external app

2004-06-28 Thread Bart Lateur
On Tue, 29 Jun 2004 02:34:11 +0100, John Delacour wrote: >Why not run the whole thing as an AppleScript script using MacPerl's >Do Script event? There would be no delay at all then. Basically, I want just this one little file (and, uh, MacPerl... and the final app...) to run it. Two dependencie

Re: [MacPerl] launching an external app

2004-06-28 Thread Chris Nandor
At 1:48 +0200 2004.06.29, Bart Lateur wrote: >How do I launch an external application with parameters? This is done via Apple events, as best I know. >I've tried the following with Applescript, which works fine (it's >supposed to launch Acrobat Distiller with a given PostScript file) but >takes

Re: [MacPerl] launching an external app

2004-06-28 Thread John Delacour
At 1:48 am +0200 29/6/04, Bart Lateur wrote: I've tried the following with Applescript, which works fine (it's supposed to launch Acrobat Distiller with a given PostScript file) but takes 10 to 20 seconds of freezing time (compiling the Applescript) before anything happens: I'd like to have a faste

[MacPerl] launching an external app

2004-06-28 Thread Bart Lateur
MacOS9. Of course. How do I launch an external application with parameters? I've looked at Mac::Apps::Launch, but that only seems to provide means to launch or kill applications, bring them forward or backward, hide and show them. I see no hint in its docs on how to open a program using an exter