https://github.com/mryan2005/battle-with-homework-platform
Battle With Homework Platform
https://github.com/mryan2005/battle-with-homework-platform
Last synced: 22 days ago
JSON representation
Battle With Homework Platform
- Host: GitHub
- URL: https://github.com/mryan2005/battle-with-homework-platform
- Owner: Mryan2005
- Created: 2025-11-17T11:29:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-12-22T01:59:29.000Z (6 months ago)
- Last Synced: 2025-12-27T02:23:53.917Z (5 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 三秒后自动输入
该程序会创建一个窗口,包含一个多行文本输入框和一个按钮。点击按钮后程序会等待 3 秒,然后在你当前光标所在位置自动输入文本。请确保在点击按钮后的
3 秒内,将光标聚焦到目标位置。
## 安装
```bash
pip install -r requirements.txt
```
## 运行
```bash
python main.py
```
## 使用说明
- 在文本框中输入要自动输入的内容(支持多行与中文表情)。
- 点击“开始自动输入(3 秒后)”,窗口会最小化。
- 在 3 秒内切换至目标应用并点击让输入光标置于目标位置。
- 程序会先复制到剪贴板并发送粘贴快捷键(Windows/Linux: Ctrl+V;macOS: Cmd+V)。若粘贴被阻止,将自动回退为逐字输入。
## 注意事项
- macOS 需要在“系统设置 -> 隐私与安全性 -> 辅助功能”中对终端/解释器授予权限,方可发送快捷键。
- 某些应用可能限制自动化粘贴,此时将采用逐字输入方式,速度会略慢。
## 写在最后
[@ShadowCat3133](https://github.com/ShadowCat3133),其实,那个软件的原理真的很简单,略略。