Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set global hotkey with Python 2.6

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

like image 475
arthur Avatar asked Jul 26 '10 18:07

arthur


1 Answers

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

  • Catch system-wide hotkeys
like image 189
ars Avatar answered Oct 19 '22 04:10

ars