Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HTML Variables

Featured Replies

Any thoughts would be appreciated on something I recently encountered.

I previously used a controller with keystrokes to control the TBM 930 G3000 Horizontal TSC 's using AAO through the HTML variables.

For whatever reason I doesn't seem to hook into the sim now.

I can see it functioning in the AAO Tree view listing, the green light indicators are operating, but nothing in the sim.

I have the Lorby Hooks file in the community folder.

Any thoughts/suggestions would be appreciated.

Win 11 pro 64Bit, X670 AORUS ELITE AX, Ryzen 7 7800x3d, RTX 4080, 64Gig G-Skill 6000 DDR 5, Samsung 990 pro 2TB NVME.

  • Commercial Member

"They" have changed the names of an unknown number of those variables in the latest MSFS update(s).
For example to this: AS3000_TSC_Horizontal_1_BottomKnob_Small_Dec (there is an #ID# tag in there now, with a unique digit for each of the devices)

You can find their current names in the MSFS developer mode and either wrap them in RPN scripts in AAO or add them to the database manually (bottom of the "Scripting" menu). Activate MSFS devel mode and open "Windows->Behaviors", then go back into the sim, hover the mouse over the desired knob and press Ctrl&G multiple times until you get the "Template parameters" in the Behavior window for that knob. Browse through the templates and components until you find things like "left single code" or "set external" etc. Anything that looks reasonably like an LVar, HVar, BVar or K-Event. If it is an entire script, that is fine too, you can usually port them over to AAO with only minor changes (LVars need a Unit in AAO, use ", Number")

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks for the quick reply, will check this out.

Thanks for the direction.

 

Win 11 pro 64Bit, X670 AORUS ELITE AX, Ryzen 7 7800x3d, RTX 4080, 64Gig G-Skill 6000 DDR 5, Samsung 990 pro 2TB NVME.

  • Author

Solved.

found the H: VAR in Spad Next and used the custom event option in the AAO scripting section to map it to the keyboard .

Thank you for the direction.

Edited by christb

Win 11 pro 64Bit, X670 AORUS ELITE AX, Ryzen 7 7800x3d, RTX 4080, 64Gig G-Skill 6000 DDR 5, Samsung 990 pro 2TB NVME.

  • 3 months later...

Could you clarify?

 

* Activate MSFS devel mode

* Open "Windows->Behaviors"

Where do I find this? It's not in the Devel Menu, and from 

* then go back into the sim

I assume it is in AAO. Where do I find it there?

So I could not continue 

* hover the mouse over the desired knob and press Ctrl&G multiple times until you get the "Template parameters" in the Behavior window for that knob. 

  • Commercial Member
46 minutes ago, dmenne said:

Could you clarify?

 

* Activate MSFS devel mode

* Open "Windows->Behaviors"

Where do I find this? It's not in the Devel Menu, and from 

* then go back into the sim

I assume it is in AAO. Where do I find it there?

So I could not continue 

* hover the mouse over the desired knob and press Ctrl&G multiple times until you get the "Template parameters" in the Behavior window for that knob. 

This is all in MSFS, but the devel mode menu has been changed since then. The Behaviors dialog is now under "Tools" .

Once the dialog is open, click back into the sim then hover the mouse over the button/knob/lever that you are interested in and press Ctrl & G. That should bring up the behavior code of the item.

Disregard all variables named O: I: R: 

We can only access L: H: B: K: A:

Edited by Lorby_SI

LORBY-SI

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.