作者hukunamatata (吁吁~)
看板EzHotKey
標題[請問] autoit不能自動灌KMP
時間Tue Jul 21 10:29:01 2009
最近愛上了Autoit這個程式 當我再灌kmp的時候卻發生了問題...
其他程式都很正常的複製我的動作做一次 可是kmp就很奇怪了..
它會卡在"選擇語言"那邊 那邊有兩種語言 Korean 和 English
選擇Korean的話 - 它會卡在這邊不動 然後不會繼續下一部的動作
選擇English的話 - 它會不讓我編譯成自動執行檔說選擇英文錯誤
請問我該怎麼做呢? 卡在這邊很苦惱說 好不容易快大功告成了>"<
請問有人會嗎? 可以幫忙看看要怎麼解決問題嗎? 就差一點點了:) 希望能幫助我!
Run("kmp.exe")
;--- AutoIt Macro Generator V 0.21 beta ---
Opt("WinTitleMatchMode", 4)
WinWait("新資料夾 (3)","")
$CLVItem = ControlListView("新資料夾 (3)","","SysListView321","FindItem","kmp.exe")
ControlListView("新資料夾 (3)","","SysListView321","SelectClear")
ControlListView("新資料夾 (3)","","SysListView321","Select",$CLVItem)
ControlClick("新資料夾 (3)","","SHELLDLL_DefView1")
WinWait("開啟檔案 - 安全性警告","無法確認發行者,您確定要執行這")
ControlClick("開啟檔案 - 安全性警告","無法確認發行者,您確定要執行這","Button1")
WinWait("Installer Language","Please select a language.")
ControlCommand("Installer Language","Please select a language.","ComboBox1",
"SelectString,"English")----------------卡在這邊出問題!!!
WinWait("The KMPlayer 2.9.3.1428 Setup","&Next >")
ControlClick("The KMPlayer 2.9.3.1428 Setup","&Next >","Button2")
WinWait("The KMPlayer 2.9.3.1428 Setup ","I &Agree")
ControlClick("The KMPlayer 2.9.3.1428 Setup ","I &Agree","Button2")
WinWait("The KMPlayer 2.9.3.1428 Setup ","< &Back")
ControlClick("The KMPlayer 2.9.3.1428 Setup ","< &Back","Button2")
WinWait("The KMPlayer 2.9.3.1428 Setup ","&Install")
ControlClick("The KMPlayer 2.9.3.1428 Setup ","&Install","Button2")
WinWait("The KMPlayer 2.9.3.1428 Setup ","< &Back")
ControlClick("The KMPlayer 2.9.3.1428 Setup ","< &Back","Button2")
--
ㄟ(▔□▔)ㄏ 每次看到這個圖案就會覺得很好笑...
╭──huku───────────────╮
│
http://www.wretch.cc/blog/hukunamatata│ <(_ _)>
╰───────────────────╯
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.228.244.26
※ 編輯: hukunamatata 來自: 125.228.175.171 (07/21 12:57)
1F:→ UndeadSion:1. 卡住的那一行,SelectString 後面少了一個「"」 07/22 13:24
2F:→ UndeadSion:2. 到下一行之前,少了點擊 OK 按鈕的動作 07/22 13:24
3F:推 x2006:AutoIt Macro Generator 真好用, 現在才知道 = =" 07/22 19:13
4F:→ hukunamatata:感謝>"< 後來才知道原來是我自己的電腦的問題... 07/24 22:33
5F:→ hukunamatata:不過看了U大的在回去看大概知道哪邊錯了 感謝^^ 07/24 22:33