Matchstick Posted February 10, 2019 Posted February 10, 2019 I've now got an 11.6" monitor set up and working great and I'm able to use the #DISPLAYS variable in the monitor setup .lua file to detect if it's enabled and decide whether to send output to it. But that's still dependent on the overall screen resolution set in to the options.lua file so I was wondering if there's a built in way there to detect the number of monitors enabled and set the resolution accordingly ? I have knocked up some basic python that uses windows API to get details of the monitors, edits the options.lua as apropriate then asynchronously kicks off the DCS World runtime but it preferable to do it directly in the config if there's an option. So anyone found a way to do it ?
Recommended Posts