tags:

views:

37

answers:

1

How do I maximize, minimize, check whether the program is minimized ?

A: 

Flip through the win32gui module (part of the PyWin32 extensions). Most of the functions in it are fairly thin wrappers of standard Windows API calls.

If you want to blindly control something, this question.

Checking if your target program is maximized/fullscreen could likely be accomplished by win32gui.GetForegroundWindow() and checking that handle.

Nick T