Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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"

immagine.png.1f2d047bb764687d02df3fa6a6f0d836.png

Any idea?

Thanks.

Cristiano

Posted
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. 

Posted

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....!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.