• Stars
    star
    263
  • Rank 154,771 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created about 10 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python binding for AutoItX3.dll

PyAutoIt

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")