|
本帖最后由 mcnk2011 于 2014-6-17 15:37 编辑
查看系统的登录页面的源文件,里面没有一个form,这样的情况下如何使用autoit进行自动输入用户名和密码并登录啊
<div class="loginpanel" style="background:url(images/writeframe.png) ;">
<div style="margin-left: 360px;margin-top: 34px;">
<a href="jre-6u22-windows-i586.exe" title="点击下载安装" style="color: #4F565F;font-size:12px;"><span style="font-family:微软雅黑;font-size: 12px;color: color: #4F565F;" onclick="checkDownLoad()">JAVA插件</span></a>
<!--<span> |</span>
<a href="CheckOcx.exe" title="点击下载安装" style="color: #4F565F;font-size:12px;"><span style="font-family:微软雅黑;font-size: 12px;color: color: #4F565F;" onclick="checkDownLoad()">审讯插件</span></a>-->
<span>|</span>
<a href="tts_chinese_for_xp.zip" title="点击下载安装" style="color: #4F565F;font-size:12px;"><span style="font-family:微软雅黑;font-size: 12px;color: color: #4F565F;" onclick="checkDownLoad()">XP系统语音引擎</span></a>
<span>|</span>
<a id="setupwizard" href="setupwizard.exe" title="点击下载运行" style="color: #4F565F;font-size:12px;"><span style="font-family:微软雅黑;font-size: 12px;color: color: #4F565F;" onclick="checkDownLoad()">系统环境配置工具</span></a>
</div>
<table border="0" cellspacing="8" style="margin-left: 236px;margin-top: 20px;">
<tr>
<td align="right"><img src="images/name.png"/></td>
<td align="left" onkeydown='if(event.keyCode == "219" || event.keyCode == "222" || event.keyCode == "221") return false'>
<select id="userNameCombobox" style="width:233px;height:28px;" name="userNameCombobox" class="easyui-combobox">
</select>
</td>
</tr>
<tr>
<td align="right"><img src="images/password.png"/></td>
<td align="left"><input id="password" type="password" name="password" class="inputText" value="" onfocus="this.select()" onkeydown="submitPage()" /></td>
</tr>
<tr>
<td></td>
<td><span style="font-family:微软雅黑;font-size: 12px;color: #4F565F;">同一台电脑只允许同时登录一个帐号</span></td>
</tr>
<tr>
<td></td>
<td>
<input type='checkbox' id='checkbox' >
<span style="font-family:微软雅黑;font-size: 12px;color: #273F5A;"><b>记住密码</b></span> |
|