Hello i am completely new to using the Flight Simulator SDK and coding “mods”
like this in general. I was thinking about if it is possible to somehow get a
variable from the game (like airspeed) into my python script. Then i saw that
there is a sample from the SDK called SimvarWatcher that can read variables
from the game and show them. But it seems like there is no way to make
SimvarWatcher output the variables except for manually saving them into a
file? Is it possible for SimvarWatcher to output the variables into a file
constantly over and over, and then my python script can read them? or is there
some other solution?
Probably the best way is to find a native Python library for talking to
SimConnect, a google search turned up a couple of possibilities, including
this one: https://pypi.org/project/pysimconnect/