codatcri Posted June 6, 2021 Report Posted June 6, 2021 Hello, I want to have a button that, at the flight start or during a flight, opens ATC & VFR MAP & ... windows and put them in a specific position on my side screens. I actually succeed in partially doing this using the script below: ext.position("ATC", 0, 0, 33, 97, 4) ext.position("VFR MAP", 33, 0, 63, 97, 4) ext.position("NAVLOG", 0,0, 50, 97, 2) ext.position("CHECKLIST", 50,0, 50, 97, 2) what is missing is the previous step that is to get the window "external" Any idea? Thanks. Cristiano
John Dowson Posted June 6, 2021 Report Posted June 6, 2021 3 hours ago, codatcri said: what is missing is the previous step that is to get the window "external" If by 'exteranl' you mean un-docked, then I don't think there is currently a way to do this via simconnect.
John Dowson Posted June 6, 2021 Report Posted June 6, 2021 You could try an ext.state call, using either EXT_NRML or EXT_MAX, but I'm not sure those will undock the window. Otherwise maybe ext.postmessage, if you can determine what the windows message is to undock....Alternatively, if there is a keypress or key combination that does this, you could try sending those key commands using ext.sendkeys or ext.postkeys. Just some ideas to try, but I wouldn't expect too much....!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now