Skip to main content

Automate it with Python

Project description

Automate it with Python.

What is this?

This Python 3 package aims to help you automate several GUI actions easily through Python, like clicking, moving the mouse around, using the keyboard, etc.

How does it look like?

import ait

# Click wherever the mouse is

# Click with the right mouse button'R')

# Click at some position, 480)

# Click in the center of the screen with the middle button, 0.5, 'M')

# Click 10 pixels below, 10j)

# Movement (absolute, percentage and relative) can also be done
ait.move(140, 480)
ait.move(0.5, 0.5)
ait.move(60j, -9j)

# Mouse position can also be retrieved
x, y = ait.mouse()

# Pressing keys can also be done'q', '!', '\n')  # Exit vim*'\b' * 10)  # 10 carriage returns

# Writing things with the keyboard too
ait.write('Hello world!\n')

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
autoit-0.1-py3-none-any.whl (6.3 kB) Copy SHA256 hash SHA256 Wheel py3
autoit-0.1.tar.gz (6.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page