Launch an application from Netscape
Posted on 1997-06-03
I am working on an information system based on HTML pages using Netscape as a frontend. I would like to be able to launch an application to plot data from a link. The obvious way to do this is to make the application a helper; however, I need to pass some command line arguments to the application. Thus far I have not been able to determine if this is possible.
I want everything to run on the client side, so no cgi solutions will work.
If using a plug-in is the answer I would like to know an easy way to turn my application into a plugin, e.g. a plug-in skeleton that I can pop my application into.
Note: cu made a pertinent comment about adding argument parameters to the commandline in the MIME configurations file. The question remains, how does one pass arguments to the application? What kind of HTML tag would one use for the arguments? Would something like
<a href="file.myext arg1 arg2">
where myext is registered in the MIME configuration file work?