0
例如:如何防止在腳本完成後關閉由pyautoit調用的窗口?
import autoit
autoit.run("notepad.exe")
autoit.win_wait_active("[CLASS:Notepad]", 3)
autoit.control_send("[CLASS:Notepad]", "Edit1", "hello world{!}")
的例子打開記事本,寫的 「Hello World」,但在那之後,noteped是inmediatly再次關閉。我該如何做到記事本保持打開狀態?