键盘宏,可根据需要自定义多套功能键区。
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
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.2.tar.gz
(11.4 kB
view hashes)
Built Distribution
xyw_macro-0.0.2-py3-none-any.whl
(13.1 kB
view hashes)
Close
Hashes for xyw_macro-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a79b622369863f7dc3806fd312be3b0ba9f4890d92616153ba678340c79b6b9 |
|
MD5 | 9b95828696211b7055fdb323751a0711 |
|
BLAKE2b-256 | 52c2d15b96346c3a366ef4831a1bb8c01598bbaa0e7db460f1ec572b1a9b11e2 |