Jump to content
The simFlight Network Forums



Recommended Posts

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?



Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.