Skip to content

Commit 9fc1531

Browse files
authored
Update README_TCH.md
1 parent d47ac94 commit 9fc1531

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

README_TCH.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[English](README.md) | 繁體中文
22
# 自動按鍵工具
3-
A tool that can simulate key and mouse action coding with python. It use simple syntax to move mouse and key in the text and find the image position.
3+
一個可以模擬鍵盤和滑鼠操作的工具,用 python 製作。
44

55
## 說明
66
## 語法
@@ -36,27 +36,39 @@ A tool that can simulate key and mouse action coding with python. It use simple
3636
* 退出
3737
* exit
3838

39-
## Manual for syntax
40-
41-
* mouse action
39+
## 語法手冊
40+
* 鍵盤操作
41+
* key 字串
42+
> 模擬鍵盤輸入此字串
43+
* press key_name
44+
> 按鍵盤按鍵一次
45+
* hold key_name
46+
> 按住鍵盤按鍵
47+
* release key_name
48+
> 鬆開鍵盤按鍵
49+
>
50+
> 所有可用的 key_name 可於下方查表
51+
* 滑鼠操作
4252
* move
43-
> this command can move mouse to specific position
53+
> 這個指令可以移動滑鼠鼠標
4454
* move relative(r) dx dy
45-
> relative move
55+
> 相對座標移動
4656
* move absolute(a) x y
47-
> move to the absolute position
57+
> 移動到絕對座標
4858
* move image(i) image_path
49-
> move to the image detect on the screen. If not found it will do nothing
59+
> 移動到屏幕上偵測的給定圖片中心,如果沒找到圖片,則不會移動
5060
* click
51-
> click the mouse button
61+
> 點擊滑鼠按鍵
5262
* click left/right/middle
53-
> click once
63+
> 點擊一次
5464
* click left/right/middle N
55-
> click N times
65+
> 點擊 N
5666
* click left/right/middle hold
57-
> pressed the button
67+
> 按住按鍵
5868
* click left/right/middle release
69+
> 鬆開按鍵
5970
* click left/right/middle hold release
71+
> 按住再鬆開
6072
* scroll
6173
> use mouse scroll
6274
* scroll up/down

0 commit comments

Comments
 (0)