Skip to main content

A library used to control programs(mainly games) without focusing them.

Project description

A library used to control programs(mainly games) without focusing them.
This isn't guaranteed to work and will sometimes require to be very creative with how you perform actions.
Example:

hwnd = Windows_by_title('GamesTitle', strict=True)[0]

# Open up menu(It doesn't close it)
KeyPress_Down(hwnd, VK_ESCAPE)
KeyPress_Up(hwnd, VK_ESCAPE)

# Press the right key
KeyPress_Down(hwnd, VK_RIGHT)
KeyPress_StopAll(hwnd) # KeyPress_Up() won't work. Why? I don't know, for every program it's different.

Module's functions are easy to understand.

Changelog

DistanceControl 0.0.1: Initial release.

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

distancecontrol-0.0.1.tar.gz (3.2 kB view hashes)

Uploaded Source

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