![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Possible to send XML scripts? |
|
|
#1 (permalink) |
|
Addict
Join Date: Aug 2007
Posts: 6
![]() |
I am tring to get a working FSX profile (I know someone's working on a profile), I have skinned a nice looking engine control panel, but the FSX keyboards command do not allow me use the whole panel. I looked into plane folder and found the XML script for the panel.
Here is the script to turn on Gen1 Element id="GEN 1"> <FloatPosition>9.000,51.000</FloatPosition> - <Select id="Select"> - <Expression id="Expression"> <Minimum>0.000</Minimum> <Maximum>1.000</Maximum> <Script>(A:General Eng1 Generator Switch, bool)</Script> </Expression> - <Case id="Case"> <ExpressionResult>0.000</ExpressionResult> - <Image id="Image" Name="popup_overhead_switch_electrical_power_gen_1 _off.bmp"> <Transparent>True</Transparent> </Image> </Case> - <Case id="Case"> <ExpressionResult>1.000</ExpressionResult> - <Image id="Image" Name="popup_overhead_switch_electrical_power_gen_1 _on.bmp"> <Transparent>True</Transparent> </Image> </Case> </Select> </Element> is it possibe to sent this script (or the bits needed) with touch buddy, if it is how?? Thanks |
|
|
|
| Re: Possible to send XML scripts? |
|
|
#2 (permalink) |
|
Admin
Join Date: May 2006
Posts: 338
![]() |
Touch-buddy only sends keystrokes. You may find applications which allow you to assign scripts to keystrokes. For example, if you hit "Shift-Z" then run fsxcommand.exe.
Here is an example application: Active Keyboard Screenshots - HotKey Program, hot keys for any action. I haven't tried it though. Regards, Dodger |
|
|
|
| Re: Possible to send XML scripts? |
|
|
#3 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: On your Six!
Posts: 1,860
![]() |
I'm no XML expert, but doesn't FSX call that XML directly. And it knows where it's images are located to display them, and what it wants to do within FSX when this XML is loaded? I don't see how pulling this out of FSX and trying to use it externally would work.
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
| Re: Possible to send XML scripts? |
|
|
#4 (permalink) |
|
Admin
Join Date: May 2006
Posts: 338
![]() |
Bill raises a very good point. I just assumed it was a script.
An XML file is simply data. It is not in itself a script, and as Wild.Bill pointed out, this is likely part of FSX which is more than likely useless outside of FSX. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|