看板 EzHotKey 關於我們 聯絡資訊
由於電腦剛灌WIN7 按鍵精靈就開始秀斗 所以早上才剛從按鍵精靈 轉移陣地到AHK 不過現在遇到幾個小問題 (1) ImageSearch, X1, Y1, 540, 250 ,780 ,290, d:\merch.bmp if ErrorLevel < 3 click %X1% %Y1% 這是我用的找圖的指令 我想要移動到圖的正中央按左鍵 可是沒有辦法 他只能在找到圖的最左上點滑鼠左鍵 有方法能移動要點的地方嗎? 我試過 click %X1%+10 %Y1%+10 不過沒用 (2) 還有 我想請問一下 ErrorLevel 3 的意思是 誤差在3%內嗎 (3) 我想要利用formattime 去做排程 但是該怎麼接 if 例如 FormatTime, Time1, T12, Time if Time1 = { MsgBox The current 24-hour time is %Time1%. } 我不知道我的Time1 該等於什麼 以上 謝謝各位的閱讀 如果有高手會的話 也請不吝賜教 -- ※ 編輯: scott750128 來自: 111.243.144.156 (11/23 14:37)
kslman:xpo := xpos-905 11/23 20:41
kslman:ypo := ypos-424 11/23 20:41
kslman:MouseMove, %xpo%, %ypo%,1 11/23 20:41
kslman:ErrorLevel is set to 0 if the image was found in the 11/23 20:43
kslman:specified region, 1 if it was not found, or 2 if there 11/23 20:44
kslman:was a problem that prevented the command from 11/23 20:44
kslman:conducting the search (such as failure to open the 11/23 20:45
kslman:image file or a badly formatted option). 11/23 20:45
kslman:上面查help的 11/23 20:45
kslman:3完全不會 11/23 20:47
scott750128:太謝謝了 很好用 11/25 13:44