source: xplra/misc/test2.sh@ 78:197b15f4513a

Last change on this file since 78:197b15f4513a was 7:bafe58db1509, checked in by István Váradi <ivaradi@…>, 12 years ago

Added support for setting values

  • Property exe set to *
File size: 331 bytes
RevLine 
[7]1#!/bin/sh
2
3scriptdir=`dirname $0`
4
5"${scriptdir}/client.py" <<EOF
6set sim/aircraft/engine/acf_num_engines i 3
7get sim/aircraft/engine/acf_num_engines i
8set sim/aircraft/controls/acf_elev_up f 100.0
9get sim/aircraft/controls/acf_elev_up f
10set sim/aircraft/view/acf_tailnum s HA-VAI 40 0
11get sim/aircraft/view/acf_tailnum s -1 0
12EOF
Note: See TracBrowser for help on using the repository browser.