Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

AntaresQAQ/Keyboard-Emulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keyboard Emulation

介绍

把文本文件字符模拟为键盘按键输入

使用说明

安装依赖

Ubuntu/Debian

apt install python3-xlib
python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

CentOS

yum install python3-xlib
python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

Windowns

下载PyWin32PyHook

python -m pip install pyHook-xxxx.whl pywin32‑xxxx.whl
python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

MacOS

需要安装Quartz, AppKit

python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
运行

复制config_default.pyconfig.py,按实际需要修改配置参数

在程序目录下新建input.txt文件,写入需要模拟输入的字符

在程序目录下执行:

python3 run.py

娱乐项目,不具有任何实际学习意义,也没有什么卵用,只是用来玩的!!!

俺只是个啥都不会搞的初学者,每天只能干些无意义的事情。

About

把文本文件模拟为键盘按键输入

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages