Thanks for your reply.
For the program I have written:
print "abc"
hWindow = win32gui.FindWindow('MsiDialogCloseClass', None)
if hWindow <> 0:
print hWindow
hButton = win32gui.FindWindowEx(hWindow, 0, 'Button', '&Next >')
if hButton <> 0:
print hButton
win32gui.SendMessa
震坤 蔡 wrote:
> Thanks for your reply.
> For the program I have written:
> print "abc"
> hWindow = win32gui.FindWindow('MsiDialogCloseClass', None)
> if hWindow <> 0:
> print hWindow
> hButton = win32gui.FindWindowEx(hWindow, 0, 'Button', '&Next >')
> if hButton <> 0:
> print hBut
I have changed the third parameter, but it still did not work on Win8.
print "abc"
hWindow = win32gui.FindWindow('MsiDialogCloseClass', None)
if hWindow <> 0:
print hWindow
hButton = win32gui.FindWindowEx(hWindow, 0, 'Button', '&Next >')
if hButton <> 0:
print hButton
w