import time from ctypes import * # Load up the Win32 APIs we need to use. GetForegroundWindow = windll.user32.GetForegroundWindow
foreground_window = GetForegroundWindow() this is a part of a code I from a separate project. I am trying to find out it's possible to do this: handle = gesomethingfromthefocusedwindow() later when I want to do this: handle.gainfocus() and zap that window to the front!
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor