skip to navigation
skip to content

PyAutoIt 0.3

Python binding for AutoItX3.dll

Latest Version: 0.4

Python binding for AutoItX3.dll

Installing

If you have pip on your system, you can simply install or upgrade PyAutoIt:

pip install -U pyautoit

Alternately, you can download the source distribution from PyPI, unarchive it, and run:

python setup.py install

Example

  • open notepad
  • type some string into notepad, eg: “hello world”
  • close notepad without saving
import autoit

autoit.run("notepad.exe")
autoit.win_wait_active("[CLASS:Notepad]", 3)
autoit.control_send("[CLASS:Notepad]", "Edit1", "hello world{!}")
autoit.win_close("[CLASS:Notepad]")
autoit.control_click("[Class:#32770]", "Button2")
 
File Type Py Version Uploaded on Size
PyAutoIt-0.3-py2.7.egg (md5) Python Egg 2.7 2014-10-10 426KB
PyAutoIt-0.3.zip (md5) Source 2014-10-10 411KB