https://github.com/osfunapps/os-btns-automation-py
py buttons automation utils for os
https://github.com/osfunapps/os-btns-automation-py
Last synced: over 1 year ago
JSON representation
py buttons automation utils for os
- Host: GitHub
- URL: https://github.com/osfunapps/os-btns-automation-py
- Owner: osfunapps
- License: mit
- Created: 2021-02-04T10:01:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T13:54:25.000Z (over 5 years ago)
- Last Synced: 2025-03-09T00:33:57.963Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Introduction
------------
This script is designed to provide intuitive buttons automation kit.
NOTICE: it's heavily relied on pyautogui
## Installation
Install via pip:
pip install os-btns-automation
## Usage
Require btns_automation:
```python
from os_btns_automation import btns_automation
btns_automation.paste() # will paste any copied text
btns_automation.copy() # will copy the currently selected content
btns_automation.select_all() # will select all in the current context
btns_automation.press('esc') # will press a button
btns_automation.hot_key(['ctrl', 'c']) # will perform instrumental combo of buttons
btns_automation.key_down('esc') # will hold a key down
btns_automation.key_up('esc') # will release a key
btns_automation.write('this is a message') # will write a bunch of characters
```
And more...
## Links
[GitHub - osapps](https://github.com/osfunapps)
## Licence
ISC