def SetAsForegroundWindow(cls, hwnd): #??ALT??ALT???%??? cls.shell.SendKeys('%') win32gui.SetForegroundWindow(hwnd)