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 77* ``` pip install pillow ```
88## 說明
99## 語法
10+ > 可以使用 '#' 寫註解
11+
12+ > 例: ``` #loop 10 ``` 跑的時候不會跑此迴圈
1013* 鍵盤操作
1114 * key 字串
1215 * press key_name
4043 * exit
4144
4245## 語法手冊
46+ > 可以使用 '#' 寫註解
47+
48+ > 例: ``` #loop 10 ``` 跑的時候不會跑此迴圈
4349* 鍵盤操作
4450 * key 字串
4551 > 模擬鍵盤輸入此字串
8793 * loop N
8894 > 重複 N 次。如果 N = -1 則為無窮迴圈,無窮迴圈可以按 esc 來取消。
8995 * loop end
90- > after a loop need to put loop end to declare a stop for loop.
91- * if
96+ > 在迴圈結尾,需要此來標註迴圈結束位置
97+ * if 狀態
9298 * if image file_path
93- > detect if on the screen detect the image file. It will be true and run the code below.
99+ > 偵測圖片有沒有在屏幕上,有的話會跑底下區塊的內容
94100 * if mouse px py
95- > detect if mouse in px py.
101+ > 偵測滑鼠是否在特定的座標
96102 * endif
97- > after a if statement need to put endif to declare a stop for statement.
103+ > 如果區塊結束,要放置此來提示 if 區塊的結束
98104* exit
99- > stop the script
105+ > 停止腳本
100106
101107## all key_name available
102108
You can’t perform that action at this time.
0 commit comments