If you can run AppleScripts from Nisus you won't need to. Simply call
MacPerl to execute a particular script. It's more extensible that way
anyway. Otherwise, I don't believe there is any way to have MacPerl run a
specific script on startup, and it would in any case be rather inconvenient
if you are using MacPerl for other development, since it will try to execute
that script every time you launch.

Instructions for calling MacPerl with AS can be found in the
"MacPerl.Frontend" file of the old (i.e. before 5.6.1) MacPerl. They aren't
great if you aren't very familiar with AS, but if you fool with it long
enough you can get it to work ;-)

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

> From: Louis Pouzin <[EMAIL PROTECTED]>
> Date: Mon, 12 Nov 2001 03:45:10 +0100 (MET)
> To: [EMAIL PROTECTED]
> Subject: [MacPerl] running a script automatically
> 
> Hello,
> 
> I'm exploring ways to run MacPerl and NisusWriter (NW) in tandem, passing
> control back and forth.
> 
> One way is to call the MacPerl app as a NW macro. It works, it's fast, MacPerl
> gets activated, but doesn't run a script.
> 
> Is there a mechanism whereby MacPerl would automatically start executing a
> preset script whenever it is activated ?
> 
> Thanks
> 

Reply via email to