Skip to main content

Python binding for AutoItX3.dll

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyAutoIt-0.6.5.tar.gz (419.0 kB view hashes)

Uploaded Source

Built Distribution

PyAutoIt-0.6.5-py3-none-any.whl (419.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page