键盘宏,可根据需要自定义多套功能键区。
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
- 初次发布,实现了键盘宏的基本功能
0.0.2
- 将GUI框架由pyqt5换为tkinter,提高兼容性
- 新增command模块,包含部分常用键盘宏命令函数
- 新增部分源码注释
- 修复了部分bug
0.0.3
- 优化了Macro类
- 新增部分源码注释
- command模块中新增了部分常用函数
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.3.tar.gz
(12.9 kB
view hashes)
Built Distribution
xyw_macro-0.0.3-py3-none-any.whl
(14.0 kB
view hashes)
Close
Hashes for xyw_macro-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96beda4cd1af8acf95f66a45be74347f8ec01e46edc8decadd50c9b4ed133c97 |
|
MD5 | 4d78ff190faf5071ddd6098f5c10c06b |
|
BLAKE2b-256 | cd199fdbb2e63e5d21cf3c77bf226f5dc369b5d178519ad9c0d851457fa3e61f |