ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Roll Your Own Browser
Subject:   command line service with gecko
Date:   2006-03-07 19:39:14
From:   Isaack
how do you do command line handling with gecko?


I tried


var cmdLineService = Components.classes["@mozilla.org/appshell/commandLineService;1" ].getService( Components.interfaces.nsICmdLineService );
var url = cmdLineService.getCmdLineValue("-x");



but gecko does not seem to have the class @mozilla.org/appshell/commandLineService;1???


any ideas


1 to 1 of 1
  1. command line service with gecko
    2006-03-07 23:54:51  Brian King | O'Reilly Author [View]

1 to 1 of 1