hey Russ,
that's a really cool trick, I use BBEdit myself quite a bit, would you mind
sharing the code on how you accessed Perl from OSX instead of Mac Pearl?
I'd love to see how the OS interacts with all its different levels.
justin simoni
http://skazat.com
on 4/6/01 11:15 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
> I just wanted to let everyone know that I was able to get BBEdit (in classic
> using applescript
> 1.6 ) from inside BBEdit to automatically run the current window of perl code
> via the terminal.
>
> In case you didn't know, any file with a ".command" extension in OS X
> will be run via the terminal if you double click it in the finder
> or write an applescript to OPEN that file via the finder.
>
> So I wrote a simple shell script that runs my perl scripts in
> my local cgi-bin folder.
>
> Then I wrote an applescript that tells the finder to open the
> shellscript.command file which the finder sends to the terminal app to run.
>
> I then placed this complied applescript in the script folder for BBEdit
> so that the applescript is in the BBEdit menus for quick access.
>
> works great!
>
> I also wrote version that sends it to the my browser to run
> to use with cgi and form input data testing etc... Now whatever
> you are writing in BBEdit can be run from BBEdit via the scripts menu.
>
> I have in my BBEdit menu
>
> run via terminal
> run via browser
>
> This does the job fine until the REAL BBEdit for OS X released ; )
>
>
> Later
>
>
> Russ
>