Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Hide/Show a Program /w Macro~Python

Name: Shira 2009-05-02 15:33

Ok, so I'm learning Python as my first language. I know the basic syntax and everything by this point, so I've moved onto some more advanced things. The problem is for the program I'm writing now, I want the main application window to Hide/Show by a hot key. How would I go about doing this in Python?

I'm trying to make this App cross platform, as I plan on using it on my Windows and my Linux boxes. (It's cool if I need to use C/C++ or whatever else to accomplish this, since Python should allow me to use other languages in the script.)

I've toyed with the idea of making a Daemon to run constantly looking for the key combo, but that seems largely pointless and near impossible to do with Python.

ALSO: nb4 SICP

Name: Anonymous 2009-05-02 19:11

>>11
No, you're not listening. Don't do your stupid hotkey monitoring, because it's not your place. Let users use the system facilities for minimizing or restoring the window.

There should be some kind of law against writing programs before you learn to factor properly.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List