https://github.com/56kyle/pywinput
A pywin32 wrapper that makes some actions easier and adds some functionality for more niche problems
https://github.com/56kyle/pywinput
Last synced: 5 months ago
JSON representation
A pywin32 wrapper that makes some actions easier and adds some functionality for more niche problems
- Host: GitHub
- URL: https://github.com/56kyle/pywinput
- Owner: 56kyle
- License: gpl-3.0
- Created: 2022-05-19T20:35:38.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-31T23:42:31.000Z (about 4 years ago)
- Last Synced: 2025-02-25T05:45:51.504Z (over 1 year ago)
- Language: Python
- Size: 109 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pywinput
A wrapper for pywin32 that allows for simulating keyboard and mouse input within background windows
## Installation
#### Pip
```
pip install pywinput
```
#### Poetry
```
poetry add pywinput
```
## Usage
```python
from pywinput import Window, Key, Button
if __name__ == '__main__':
win = Window.create(
title='My Test Window',
x=400,
y=400,
width=200,
height=200,
)
win.show()
win.text = 'My new window title'
```