Subj : Re: JDK access inside a protocol handler (written in JavaScript) To : netscape.public.mozilla.jseng From : James Ross Date : Tue Sep 20 2005 11:00 pm mr.per.bergman@gmail.com wrote: > Hi! > > I want to launch a command line from Firefox, for example starting a > Putty session (eg. "D:\bin\putty.exe user@server"). > > I can access java.lang.Runtime classes inside a normal JavaScript > function (in a HTML page), but I cannot do that inside a Mozilla > Protocol Handler. > > Is it possible to use Java classes inside a protocol handler? > Is there another way of launching command lines, without writing my > XPCOM component? I believe the nsIProcess interface (and associated contract ID, "@mozilla.org/xpcom/process;1" I think) can do this kind of launching of other apps. -- James Ross ChatZilla Developer .