- Messages
- 106
- Country

gives it the possibility to reset the "A:GENERAL ENG ELAPSED TIME:1, hours" with a xml gauge?
if not, how can I realize this?
Mijo
if not, how can I realize this?
Mijo
Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.


<Gauge Name="F111ENGTIME" Version="1.0">
//By Karol Chlebowski @ 2009 **
<Element>
<Image Name="ENGTIME_bg.bmp"/>
</Element>
<!--**************** Print Accumulated Time ****************-->
<Element>
<Visible>(A:Electrical Master Battery, bool) 1 == </Visible>
<Position X="2" Y="9"/>
<Text X="35" Y="14" Length="5" Font="Arial" FontSize="10" Color="#00FF00"
BackgroundColor="Black" Adjust="Center" VerticalAdjust="Center">
<String>%((A:General Eng Elapsed Time:1, seconds) 3600 /)%!4.2f!</String>
</Text>
</Element>
</Gauge>



The elapsed engine times are stored in your user profile.
(IIRC it is in the application data or local settings folder)
There is a folder containing subfolders with the names of the aircrafttypes used in flightsim.
These folders contain textfiles in which the enginetimes are stored.
You can edit these to reset the enginetimes.
But doing it with xml would need some 'helper' gauge to edit the file.

<Select>
<Value>(A:GENERAL ENG ELAPSED TIME:1, hours) !05.1f!</Value>
<Case Value="0">
<Image Name="ibf_fdc_balk_le_0.bmp"/>
</Case>
<Case Value="1">
<Image Name="ibf_fdc_balk_le_1.bmp"/>
</Case>
</Select>
What sort of batch file did you make?i`ve tried this.
the value in the aircraft is the same as before i edited the cfg-file
my issue. i must load another aircraft and than execute my batch-file

my issue. i must load another aircraft and than execute my batch-file
