1
0
Fork 0

Switch to generic "open-browser" command.

This commit is contained in:
ThorstenB 2011-10-09 12:45:50 +02:00
parent 3fc8e7a8de
commit a79833070a
2 changed files with 7 additions and 3 deletions

View file

@ -120,6 +120,8 @@ script - execute a PSL script
exit - prompt and quit FlightGear exit - prompt and quit FlightGear
pause - pause/resume the simulation
load - load properties from an XML file load - load properties from an XML file
file: the name of the file to load, relative to the current file: the name of the file to load, relative to the current
directory (defaults to "fgfs.sav") directory (defaults to "fgfs.sav")
@ -234,6 +236,9 @@ dialog-apply - copy values from the active dialog box to FlightGear
presets-commit - commit preset values from /sim/presets presets-commit - commit preset values from /sim/presets
open-browser - open the web browser and show given file
path: name of the local file to be opened.
url: URL to be opened (http://..., ftp://...).
The following commands are temporary, and will soon disappear or be The following commands are temporary, and will soon disappear or be
renamed; do NOT rely on them: renamed; do NOT rely on them:
@ -280,8 +285,6 @@ old-ap-adjust-dialog - adjust the autopilot settings
old-lat-lon-format-dialog - toggle the lat/lon format in the HUD old-lat-lon-format-dialog - toggle the lat/lon format in the HUD
old-help-dialog - offer online help
Adding New Commands in C++ Adding New Commands in C++
-------------------------- --------------------------

View file

@ -759,7 +759,8 @@
<label>Help (opens in browser)</label> <label>Help (opens in browser)</label>
<name>help-browser</name> <name>help-browser</name>
<binding> <binding>
<command>old-help-dialog</command> <command>open-browser</command>
<path>Docs/index.html</path>
</binding> </binding>
</item> </item>