标签:string ade amp 关于 key get not 记事本 window
装插件 pywinauto
from pywinauto.application import Application
# Run a target application
app = Application().start("notepad.exe")
# Select a menu item
app.UntitledNotepad.menu_select("帮助&H->关于记事本(&A)")
# Click on a button
app.关于记事本.确定.click()
# Type a text string
app.UntitledNotepad.Edit.type_keys("pywinauto Works!", with_spaces = True)
标签:string ade amp 关于 key get not 记事本 window
原文地址:https://www.cnblogs.com/programer-xinmu78/p/10661255.html