[python-win32] Fwd: Running a python script in the system tray

Ferdinand Sousa ferdinandsousa at gmail.com
Fri Jul 4 12:35:45 CEST 2008


Hi

I just wanted some pointers on how I can run a python script in the system tray.
My configuration is:

 Win Xp
 Python 2.5.1
 Python Imaging Library 1.1.6
 pywin 2.1.1

I already have a screen captor (python script) that pastes images from
the windows clipboard.
Its disadvantage is that for every screenshot I take, I have to:

 1) press Print Screen
 2) run the script

Also, is there a way I can capture keyboard events?
What I want to achieve is:
 1) run the script
 2) select a shortcut key, say Ctrl+key/Alt+key/Shift+key/Function keys etc
 3) minimise the script to the system tray
 4) capture screenshots

Apologies for asking so many questions, and thanks for taking the
trouble to read!

Ferdi


More information about the python-win32 mailing list