Women in Technology

Hear us Roar

  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

Full Threads Oldest First

Showing messages 1 through 1 of 1.

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

    The interface id has changed to "@mozilla.org/app-startup/commandLineService;1".