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.

StreamDeck Profile help needed!

Featured Replies

  • Author
4 minutes ago, Lorby_SI said:

As stated above, the LVars are missing the unit. You cannot just copy and paste simulator code. The sim doesn't need Units in LVars, but AAO does. The unit tells AAO that you want this variable to be sent to the simulator. Without a unit it is just an AAO internal calculation variable - so your script had no effect in the sim.

1 (L:AUTOPILOT_KAS297B_MODE, Number) - (>L:AUTOPILOT_KAS297B_MODE, Number)

Do I save this a Script in AAO and then call it with S: in the Stream Deck app?

Ryzen 5800X3D, 64GB RAM, RTX 4090, Windows 11
Link to my: Dynamic Flight Dispatch Tool

  • Commercial Member
Just now, toby23 said:

Do I save this a Script in AAO and then call it with S: in the Stream Deck app?

There are two different ways to do the same thing.

- You either use "S:" and copy/paste the code directly into the box of the SD action (nothing to do in AAO)

- Or you create a script in AAO with this code and call it as "K:" "scriptgroup-scripttitle" from the StreamDeck

The second option has the benefit that you can test your script in the AAO Editor.

LORBY-SI

  • Author
4 minutes ago, Lorby_SI said:

There are two different ways to do the same thing.

- You either use "S:" and copy/paste the code directly into the box of the SD action (nothing to do in AAO)

- Or you create a script in AAO with this code and call it as "K:" "scriptgroup-scripttitle" from the StreamDeck

The second option has the benefit that you can test your script in the AAO Editor.

Hmm, not sure where I have gone wrong but neither of those options are triggering the button action.
script.jpg

Ryzen 5800X3D, 64GB RAM, RTX 4090, Windows 11
Link to my: Dynamic Flight Dispatch Tool

  • Commercial Member
15 minutes ago, toby23 said:

Hmm, not sure where I have gone wrong but neither of those options are triggering the button action.

The unit is a string literal. You type it exactly like it is. ", Bool", ", Feet", ", Knots" are all units. ", Number" is the generic unit, when you just need the value, without a conversion. When in doubt, use ", Number". 

You can just copy&paste my code above, you shouldn't have changed it. 

Edited by Lorby_SI

LORBY-SI

  • Author
5 minutes ago, Lorby_SI said:

A unit, like ", Number" is a string literal. You type it exactly like it is. ", Bool", ", Feet", ", Knots" are all units. ", Number" is the generic unit, when you just need the value, without a conversion.

 

That works! Thank you

Ryzen 5800X3D, 64GB RAM, RTX 4090, Windows 11
Link to my: Dynamic Flight Dispatch Tool

  • Commercial Member
Just now, toby23 said:

That works! Thank you

Please consider reading through the chapter "Scrpting" in the AAO manual. Click on the grey question mark at the top of the main AAO dialog.

But - you've written code before and handled AAO variables, right? These LVars are no different.

Edited by Lorby_SI

LORBY-SI

Create an account or sign in to comment

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.