作者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