V
Vitali Gvozdev
Hi,
Using win32 extensions and windows scripting, I'm trying to open an
application in Windows2K to send some keystrokes to it. But every time
the application window is openning below other windows and key are
sent to the applications, which should not be affected.
WshShell = win32com.client.Dispatch('WScript.Shell')
....
def Initialize(theCommand, theName):
if not WshShell.AppActivate(theName):
WshShell.Run(theCommand)
....
Can you explain me how to put the desired window on top (switch
focus)?
Using win32 extensions and windows scripting, I'm trying to open an
application in Windows2K to send some keystrokes to it. But every time
the application window is openning below other windows and key are
sent to the applications, which should not be affected.
WshShell = win32com.client.Dispatch('WScript.Shell')
....
def Initialize(theCommand, theName):
if not WshShell.AppActivate(theName):
WshShell.Run(theCommand)
....
Can you explain me how to put the desired window on top (switch
focus)?