* Georg Vollnhals -- Wednesday 14 November 2007: > Very interested but with a little time-delay I tested this feature and > really, this could get one very nice feature of FlightGear.
Here's a more sophisticated and useful toy: http://members.aon.at/mfranz/keyboard.nas [5.0 kB] It is started with the '/'-key and then waits for the input of a property path, optionally followed by "=<value>" or "?": <property> -> outputs path and value to screen and terminal <property>=<value> -> sets property to value and outputs result <expr>? -> lists all properties containing the search expression in the path to the terminal The text in the dialog is color coded: red ... bad property syntax (e.g. "/sim/view[") green ... this property exists white ... property doesn't exist, but path is valid yellow ... while entering value after having typed '=' You can use the <tab> to complete path elements and to cycle through all possible completions. You can move up and down in the history with the up-/down-cursor. This time you can put the script in either $FG_ROOT/Nasal/ or ~/.fgfs/Nasal/. > Together with a parser and an external (=loaded on startup) parserlist a > lot is possible to do as well for the new user and the advanced one. I've been playing with a parser, all done in Nasal. I implemented parts of John's syntax, but it's not ready for the public. :-) > The only thing I would suggest is to replace the tilde by a > "one-key-stroke" on many European keyboards like the doublecross. I reserve the right to use whatever key pleases me in my little throw-away demo script snippets. :-} m. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel