The keycodes are obtained through win32con in that app. In trying to test out the demo program on a Mac, I’m having a heck of a time getting the ‘right’ keycodes. I’ve tried hardcoding in the values I obtained using this app (http://manytricks.com/keycodes/), but no dice. I’ve tried passing ASCII values, Unicode values, WXK_, It’s possible the mistake is on my part though.
The problem is that the wxUSE_HOTKEY flag is not being turned on automatically for osx builds, and it doesn't look like there is a way to turn it on via configure, so even though the code is there in wx, it is not being compiled for normal builds.
We've fixed that and now RegisterHotKey is working as expected on OSX, this will be available in the next 2.9 release. You can see it in action in this little test script:
The keycodes are obtained through win32con in that app. In trying to
test out the demo program on a Mac, I'm having a heck of a time getting
the 'right' keycodes. I've tried hardcoding in the values I obtained
using this app (Key Codes · Many Tricks), but no dice. I've
tried passing ASCII values, Unicode values, WXK_, It's possible the
mistake is on my part though.