Sign in to follow this  
Guest

DefineKey ignoring modifiers (Python)

Recommended Posts

I've been working on a Python script, actually it's done, but I have one problem. I use the following line to assign a key, Alt-F:DefineKey(ID('fdky'), "Final Dest Setup", KB_KEY_F, KB_MODIFIER_ALT)The problem is that Fly!II assigns F, not Alt-F, when the script runs. Now you can go into the key assignments and change it to Alt-F, and it will stay that way even when you run the script again (go figure).I didn't want to release the script with this problem. Does anyone have any experience with this? If it is a bug in Fly, then I'll just release it with the explanation to go change the key assignment.thanks,nick

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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
Sign in to follow this