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.

Files for window-input, version 1.7
Filename, size File type Python version Upload date Hashes
Filename, size window_input-1.7.tar.gz (7.7 kB) File type Source Python version None Upload date Hashes View
Filename, size window_input-1.7-py3-none-any.whl (8.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page