Я хочу закрыть файл Microsoft Office Сохранить/Не сохранять окно подсказки с помощью AutoIt (версия python).AutoIT CLose Save/Do not Save Prompt
я попытался на примере приведенного здесь: https://pypi.python.org/pypi/PyAutoIt/0.3
Вот мой код:
import autoit
autoit.control_click("[Class:#NUIDialog]", "Button1")
также попытался
autoit.control_click("[CLASS:NetUIHWND; INSTANCE:1]", "Button1")
Однако, я получаю ошибка fowling :(:
Traceback (most recent call last):
File "officetest.py", line 6, in <module>
autoit.control_click("[CLASS:NetUIHWND; INSTANCE:1]", "Button1")
File "c:\python27\lib\site-packages\pyautoit-0.3-py2.7.egg\autoit\autoit.py", line 80, in wrapper
raise AutoItError(err_msg)
autoit.autoit.AutoItError: send click message failed
Thanks in Advance.