Hey,

I came accross this explanation of how the windows clipboard can be handled with Python:
http://www.bigbold.com/snippets/posts/show/724

I want to write myself a simple text filter for pasting csv into excel, pasting syntax highlighted code as html and custom formatting text with regular expressions before pasting it. There are free programs that come close to what I need but the filters aren't as customizable as I'd like - allthough they are more complicated than I need. Take a look at http://www.clipmagic.com/ and http://www.snapfiles.com/get/clippy.html

Clippy is the closest to what I need.

So I need a way to hijaak the Ctrl-C and Ctrl-V shortcuts and have my application run in the system tray. I don't need a gui other than changing the context menu (which I believe is done in the registry) - although, I'd probably need to use wxPython for using the system tray - unless by catching the shortcut keys, I can call the program...

Any ideas? Anybody ever done something like this?

-d-




_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to