Hi All,
I am trying to write a LUA script to to use Joy inputs to control the volume on my Mustangs audio panel in FSX. Here is the snippet of code from the xml
<MouseArea id="VolumeControl"> <FloatPosition>34.000,794.000</FloatPosition> <Size>113,104</Size> - <MouseArea id="VolumeDecrease"> <FloatPosition>0.000,0.000</FloatPosition> <Size>56,104</Size> <CursorType>DownArrow</CursorType> - <MouseClick id="MouseClick"> <Script>9 (>K:THROTTLE4_SET)</Script> <ClickType>LeftSingle</ClickType> </MouseClick> - <Tooltip id="Tooltip"> <DefaultScript>Music Volume Decrease (%((L:fuckyoaudio,numbers))%!d!%%)</DefaultScript> [/CODE] Since this writes to K: and not an L: i'm not sure how to do it. <Script>9 (>K:THROTTLE4_SET)</Script> will decrease and <Script>8 (>K:THROTTLE4_SET)</Script> will Increase it Can LUA send this command? Mouse Macro couldn't do it. Maybe use the Mouse ID area shown above in the code? Not sure if it works that way. Thanks, Rob