source: xplra/misc/test2.sh@ 28:d7119bc5a483

Last change on this file since 28:d7119bc5a483 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
Line 
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.