def get_expect_sec_window(self):
'''return the expect window hwnd'''
# control = win32gui.FindWindowEx(window, 0, 'static', None)
# buffer = win32gui.PyMakeBuffer(20)
# length = win32gui.SendMessage(control, win32con.WM_GETTEXT, 20, buffer)
#
# result = buffer[:length]
# print result
# time.sleep(1)
return self.expect_sec_window
评论列表
文章目录