distancecontrol-0.0.2.5
توضیحات
A library used to control programs(mainly games) without focusing them.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Microsoft :: Windows :: Windows 10 |
| نام فایل | distancecontrol-0.0.2.5 |
| نام | distancecontrol |
| نسخه کتابخانه | 0.0.2.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Flafy Arazi |
| ایمیل نویسنده | flafyarazi@gmail.com |
| آدرس صفحه اصلی | http://flafy.herokuapp.com/ |
| آدرس اینترنتی | https://pypi.org/project/distancecontrol/ |
| مجوز | MIT |
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:
```python
import DistanceControl as dc
hwnd = dc.Windows_by_title('GamesTitle', strict=True, limit=1)[0]
# Open up menu(It doesn't close it)
dc.KeyPress_Down(hwnd, dc.con.VK_ESCAPE)
dc.KeyPress_Up(hwnd, dc.con.VK_ESCAPE)
# Press the right key
dc.KeyPress_Down(hwnd, dc.con.VK_RIGHT)
dc.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.5:
- Made usage much cleaner.
- Fixed a few tiny bugs.
DistanceControl 0.0.2:
- Fixed unable to download package.
DistanceControl 0.0.1:
- Initial release.
نحوه نصب
نصب پکیج whl distancecontrol-0.0.2.5:
pip install distancecontrol-0.0.2.5.whl
نصب پکیج tar.gz distancecontrol-0.0.2.5:
pip install distancecontrol-0.0.2.5.tar.gz