[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] "Exec" Work Around



On 7/26/96 David Scott wrote:

>Could you send the exact snippet of this work around?
>
>How do you call it directly?
>
>Is this still MacPerl::DoAppleScript("<application_name>.cgi");

>>Simply rename (or alias) the application (WebStat in my case) by adding
>>.cgi to the end. You can then call the program directly. It generates an
>>error in the WebStar log, but it starts the program without any fuss.

I'm sorry for not being more specific...

        Rename or alias WebStat as webstat.cgi (fools WebStar into launching it)
        Link to it as http://www.../webstat.cgi (I use a bookmark)

You will get a WebStar error, but WebStat starts and terminates normally as
far as I can tell. Like I said, it's a hack...

RR

PS: As I'm writing this I discovered that the ".cgi" is probably not
necessary. Since the MacOS knows it's an App, WebStar tries to run it
regardless as far as I can tell.


                    R  i  c  h  a  r  d      R  a  t  h  e
                           rrathe@dean.med.ufl.edu
                       http://www.med.ufl.edu/medinfo/