Skip to content

根据你的配置文件,输入一串文字后按空格,可以自动替换成你配置的内容。(According to your configuration file, enter a string of text and press the space, you can automatically replace the content you configured.)

Notifications You must be signed in to change notification settings

xusi4git/input_auto_replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

键盘监听且自动替换

功能

监听键盘输入,并自动替换为指定字符,直至按下预定退出键 类似于输入法中的自动替换. 可以替换的内容在 config.toml 中配置

quick start

1、安装依赖

pip install -r requirements.txt

2、配置 config.toml

形式如:

dz_list = [
    ["key","value"],
]
# 该形式请参考 keyboard 库的按键
ESC_KEY = 'ctrl+alt+q'

3、运行

python main.py

4、输入内容

例如 1-7空格

5、退出

About

根据你的配置文件,输入一串文字后按空格,可以自动替换成你配置的内容。(According to your configuration file, enter a string of text and press the space, you can automatically replace the content you configured.)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published