Submitted by Nick Vahalik on Tue, 09/02/2014 - 08:09
Submitted by Nick Vahalik on Sun, 08/31/2014 - 22:33
If you're trying to set up a global hotkey in Windows, you can use the win32con.VK_* codes to set a hotkey that uses a regular character (e.g. Control-Alt-B), but on OSX it's not as clear. However, a quick look at the patch reveals that all you need to do is pass the ASCII character code for the character you want by using
ord() like so:
result = self.RegisterHotKey(hkid,
And now, when you hit Control-Shift-R, the event will fire.