Performs actions related to the help browser pane.
Usages
helpbrowser [-d desktop] [-u url] [-h url] [-g url] [-r data] [-b uri] [-U] [-H] [-G] [-t Table/Optype] pane1 ...
Note
This command cannot be called from embedded hscript in the browser pane.
Options
-d desktop
| Desktop to operate on. If not specified, the command will operate on the current desktop. |
-u url
| Load the specified URL. |
-h url
| Set the home page for this pane to the specified URL. |
-g url
| Set both the home page for this pane and the home page for this pane’s desktop to the specified URL. Any new help browser panes in this desktop will use the new home page. With this option, if this help browser pane is closed and another one is opened, the new pane will use the old pane’s home page. |
-r data
| Load the contents of a string directly into the browser. If the data begins with <html>, the browser will treat it as html; otherwise it will treat it as ascii text. Use -b to specify the base URI for relative references in the string. |
-b uri
| Specify the base URI to be used when loading data into the browser. This option may only be used in conjunction with -r. The base URI is used to resolve relative links from html data. |
-u
| Return the current URL of this pane. |
-H
| Return the home page URL of this pane. |
-G
| Return the home page URL of this pane’s desktop. |
-t Table/Optype
| Load the help for the specified operator type. The Table value indicates the class of the operator type. A list of valid values can be found in the help for the ophelp command. The Optype string is the name of the specific operator type. |
Examples
set nl=\n helpbrowser -u "http://www.google.com" pane7 helpbrowser -r "Raw text${nl}========${nl}<preformatted> text" pane7 helpbrowser -r "<html><body><h1>HTML</h1><p>HTML text</html>" pane7 helpbrowser -t Object/geo pane7