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.6.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

window_input-1.6-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

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