键盘宏,可根据需要自定义多套功能键区。
Project description
快速开始
import time
from xyw_macro import *
def func1():
time.sleep(4)
print('func1')
def func2():
print('func2')
macro = Macro()
config1 = Configuration('01', 'part', Configuration.FUNCTION)
config1.add_command(Condition(VK('VK_F3'), '打印'), func1)
config2 = Configuration('02', 'all', Configuration.FUNCTION)
config2.add_command(Condition(VK('VK_F2'), '打印'), func2)
macro.add_config(config1)
macro.add_config(config2)
macro.run()
Release Notes
0.0.1
- 初次发布,实现了键盘宏的基本功能
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xyw-macro-0.0.1.tar.gz
(11.1 kB
view hashes)
Built Distribution
xyw_macro-0.0.1-py3-none-any.whl
(12.3 kB
view hashes)
Close
Hashes for xyw_macro-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56ad91f6914f90f84d75388262990eb59e41184b8a54eec96a9bd0bd877f7cca |
|
MD5 | f2c54aab9dd5eea9a6cdb8b1d2e66539 |
|
BLAKE2b-256 | 153bdce1586fbeb0549d721076f3c21d0acf23341d908df2b59ceb721330b993 |