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.

@g macro list

Featured Replies

Where can I find a list of the @g macros?Many thanks,Bob

There is no list of @g macros :-)@g is just one macro used to simplify the reference to GPS variables.So what you need to do is search for those variables in the SDK.Tom

Thanks, Tom,I really don't know where @g: variable reference is in the SDK. The @c: GPS variables are listed, but I still wonder about variables such as@g:enteringInput or@g:listCurrent etc, etcOver 70 of these used in the FS9 gps_500 xml, but I haven't yet found a reference for their use.I'll keep digging and at a later time maybe I'll have an answer or a more specific question.Regards,Bob

Got it. Won't ask again.

  • Author
  • Moderator

>Got it. Won't ask again.I'll attempt to make it clear for you... @g is simply a :C:fs9gpsMacro's are merely a simpler replacement for a longer string of text, so in this instance instead of having to continuously type:C:fs9gpsone would only have to type:@gNote that in the G500 example, ACES has two s that are identical:C:fs9gpsC:fs9gpsAt first glance it might seem a bit silly to have @c and @g represent the exact same thing, but......a close examination of the XML script will show that they are using @c for "requests for information" and @g for sending "commands to the gps.dll"... at least, most of the time... ;)For example:70 (>@g:menuBlinker)This is a that is used to send "70" as a value to which the internal gps.dll variable named "menuBlinker" is set.So, anytime you need to reset the "menuBlinker" you would need only type @InitBlinker rather than the entire script, which when expanded would be:70 (>C:fs9gps:menuBlinker)Unfortunately for us, ACES has never documented any of the internal variables that they used within the gps.dll module, so we are left with no choice but to figure them out ourselves from inference (aka: guessing!)...In the FSX SDX though they have finally provided us a list of "things we can ask for" and some "things we can tell" the gps.dll but still have left out a lot of information... :-roll

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author
  • Moderator

>@g:enteringInput >or>@g:listCurrent >etc, etc>>Over 70 of these used in the FS9 gps_500 xml, but I haven't>yet found a reference for their use.Unfortunately for us, ACES has never documented any of the internal variables/tokens that they used within the gps.dll module, so we are left with no choice but to figure them out ourselves from inference (aka: guessing!)...

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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.