File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 7
7
* ``` pip install pillow ```
8
8
## 說明
9
9
## 語法
10
+ > 可以使用 '#' 寫註解
11
+
12
+ > 例: ``` #loop 10 ``` 跑的時候不會跑此迴圈
10
13
* 鍵盤操作
11
14
* key 字串
12
15
* press key_name
40
43
* exit
41
44
42
45
## 語法手冊
46
+ > 可以使用 '#' 寫註解
47
+
48
+ > 例: ``` #loop 10 ``` 跑的時候不會跑此迴圈
43
49
* 鍵盤操作
44
50
* key 字串
45
51
> 模擬鍵盤輸入此字串
87
93
* loop N
88
94
> 重複 N 次。如果 N = -1 則為無窮迴圈,無窮迴圈可以按 esc 來取消。
89
95
* loop end
90
- > after a loop need to put loop end to declare a stop for loop.
91
- * if
96
+ > 在迴圈結尾,需要此來標註迴圈結束位置
97
+ * if 狀態
92
98
* if image file_path
93
- > detect if on the screen detect the image file. It will be true and run the code below.
99
+ > 偵測圖片有沒有在屏幕上,有的話會跑底下區塊的內容
94
100
* if mouse px py
95
- > detect if mouse in px py.
101
+ > 偵測滑鼠是否在特定的座標
96
102
* endif
97
- > after a if statement need to put endif to declare a stop for statement.
103
+ > 如果區塊結束,要放置此來提示 if 區塊的結束
98
104
* exit
99
- > stop the script
105
+ > 停止腳本
100
106
101
107
## all key_name available
102
108
You can’t perform that action at this time.
0 commit comments