예제 #1
0
def typeInNotepad(strText):
    Notepad.wndNotepad().Click()
    Win32API.SendKeys(strText)
예제 #2
0
def openProgramViaRunDialog(program):
    Win32API.SendKeys("{LWIN}{R}")
    WaitForExist(Notepad.dlgRun(), 5)
    Win32API.SendKeys(program)
    Win32API.SendKeys("{ENTER}")