Skip to main content

A set of tools for interacting with windows regardless of them being minimized or in background.

Project description

window_input

A set of tools for interacting with windows, including those that are non foreground and even minimized.

Installation

pip install window_input

Recommended Usage

from window_input import Window, Key

Examples

from window_input import Window, Key
import time

if __name__ == "__main__":
    foreground = Window()
    foreground.key_down(Key.VK_F4)
    foreground.key_down(Key.VK_LALT)
    time.sleep(.2)
    foreground.key_up(Key.VK_F4)
    foreground.key_up(Key.VK_LALT)

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

window_input-1.7.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

window_input-1.7-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file window_input-1.7.tar.gz.

File metadata

  • Download URL: window_input-1.7.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.3

File hashes

Hashes for window_input-1.7.tar.gz
Algorithm Hash digest
SHA256 2bc7e2671f60104159f8224f3750576f3395b54fb01934873a53d74cda0006d3
MD5 e4311a610d3f608a9c8a8e4f45d8c1f0
BLAKE2b-256 b636551ba1212ccfe9cc7e46b1c7ecc1e1f83c3c4e2c2a5fb3b1d2e4f677c124

See more details on using hashes here.

File details

Details for the file window_input-1.7-py3-none-any.whl.

File metadata

  • Download URL: window_input-1.7-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.3

File hashes

Hashes for window_input-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 baf269222599c54b301c188b7d7e23401e5ec14bce5cb20cbcb30806d8b41656
MD5 768d7c07736fd9cb3967004ec786f97f
BLAKE2b-256 636588b6ed04bbe8acc62906d997a5a30a174c3825d0430ab304401129a23772

See more details on using hashes here.

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