Skip to main content

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.2:

  • Fixed unable to download package.

DistanceControl 0.0.1:

  • Initial release.

Metadata

Release files for distancecontrol 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for distancecontrol 0.0.2
File Size Uploaded Provenance Actions
distancecontrol-0.0.2.tar.gz 3.2 kB Without provenance Details for distancecontrol-0.0.2.tar.gz

Release files / distancecontrol-0.0.2.tar.gz

Download URL distancecontrol-0.0.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a8bd391b09ac0085bb74b325b9df1af296c7b3f6dfbfb90c71a252d44f443827
BLAKE2b-256 checksum
How to use checksums
14f6fe36b881b35704752142819d9f022d1279e412de12fd4bae85066567b34c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5

Security for distancecontrol 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page