/*
 *  $Revision: /main/PULSAR/6 $ 
 *  $Date: 1998/07/06 18:43 UTC $
 */
Application "Web Browser Launcher"
{
    Description {
	"HP OpenView",
	"This application launches ovweb to launch the default",
	"Web browser installed on the system,",
	"with the URL supplied on the command line."
    }

    DisplayString "Web Browser Launcher";

    Version "NNM Release B.06.01  Apr 09 1999";

    Copyright {
	"Copyright (c) 1990-1999 Hewlett-Packard Company",
	"All rights reserved"
    }

    MenuBar <100> "Tools" _T {
	<95> "HP OpenView Launcher" _L f.action "HPOVlauncher";
        <90> "Web Browser" _W f.menu "web";
    }

    Menu "web" {
      <99> "Management Page" _M f.action "UrlMgmt";
      <98> "Server Home Page" _H f.action "UrlHome";
    }


    Action "HPOVlauncher"
    {
	   /* ovweb will insert "//web_server_name:port" after ":" 
		* because there is no "//" in the URL 
		*/
       Command "ovweb http:/OvCgi/ovlaunch.exe";
    }

    Action "UrlMgmt"
    {
       MinSelected 1;
       MaxSelected 1;
       SelectionRule isHTTPManaged;
       Command "ovweb $OVwSelection1";
       NameField "ManagementURL";
    }

    Action "UrlHome"
    {
       MinSelected 1;
       MaxSelected 1;
       SelectionRule isHTTPSupported;
       Command "ovweb http://${OVwSelection1}/";
    }
}
