3 | | Quoting Valik from [http://www.autoitscript.com/forum/index.php?showtopic=21041 this post]: |
4 | | >This idea came to me in another thread but I'm posting it here in case somebody wants to take the idea and run. Adding support for accelerator tables to AutoIt would be pretty simple. Make a wrapper function which calls CreateAccelerateTable()/LoadAccelerators(). I would expect the CreateAcceleratorTable() wrapper function to take a 2 dimensional array where element 0 is a Send()-compatible hotkey string and element 1 is the control ID to invoke. The CreateAcceleratorTable() should then automatically call LoadAccelerators() and as long as TranslateAccelerators() is called in the message pump, AutoIt GUI's will magically support accelerator keys. |
5 | | > |
6 | | >For those who don't know, an accelerator table allows the creation of hotkeys which when pressed will trigger an event in the GUI (A button press, et cetera) but only while that GUI is active. It's keyboard shortcuts, basically. |
| 3 | Add native support for accelerator tables. |