Set global hotkey with Python 2.6

arthur picture arthur · Jul 26, 2010 · Viewed 12.6k times · Source

I wanna setup a global hotkey in python 2.6 that listens to the keyboard shortcut ctrl + D or ctrl+ alt+ D on windows, please help me

Answer

ars picture ars · Jul 26, 2010

Tim Golden's python/win32 site is a useful resource for win32 related programming in python. In particular, this example should help: