有关输入序列号的问题
在做个一程序的自动安装,但是卡在输入序列号那里了,无法继续。在此请教高手指导。具体是这一步无非输入序列号:ControlSend("EasyScan 安装程序", "","","ES-LDY0-7706-SBIS-N3E")
写的脚本如下:
Run("EasyScan_Setup_2006.02.10_1509.exe")
Wait for the Notepad to become active. The classname "Notepad" is monitored instead of the window title
WinWaitActive("EasyScan 安装程序")
Now that the Notepad window is active type some text
Send("!n")
WinWaitActive("EasyScan 安装程序")
ControlClick("EasyScan 安装程序","我同意该许可协议的条款","Button3")
Send("{tab}{tab}","!n")
Now quit by pressing Alt-F and then scrolling down (simulating the down arrow being pressed six times) to the Exit menu
WinWaitActive("EasyScan 安装程序")
ControlSend("EasyScan 安装程序", "","","ES-LDY0-7706-SBIS-N3E")
WinWaitActive("EasyScan 安装程序")
Send("!n")
WinWaitActive("EasyScan 安装程序")
Send("!n")
WinWaitActive("EasyScan 安装程序")
Send("!n")
WinWaitActive("EasyScan 安装程序")
Send("!n")
WinWaitActive("EasyScan 安装程序")
Send("!n")
WinWaitActive("EasyScan 安装程序")
Send("!f")
界面框为:
谢谢高手指定 LZ用這個參數吧
ControlSetText 模拟复制粘贴可以么 谢谢,试一下到。 简单一点,先发送一个(或几个,看需要)tab,然后发送注册码 已找到问所在,谢谢各位高手。 回复 6# 68020082
问题在哪呢?可以解释一下吗?
页:
[1]