找回密码
 加入
搜索
查看: 2015|回复: 1

冰点自动解除,可不知道dfauto.ini里的密码应该怎么写

[复制链接]
发表于 2009-4-2 16:41:25 | 显示全部楼层 |阅读模式
$PAW = INIREAD ("dfauto.ini","DF密码","DF密码",@ScriptDir)
IF $paw <> ""Then
a()
ElseIf $paw = ""Then
b()
EndIf
FUNC a()
send("{shiftdown}")
send("{ctrldown}")
send("{altdown}")
send("{f6}")
send("{shiftup}")
send("{ctrlup}")
send("{altup}")
WinWaitActive("Deep Freeze 6")
ControlSetText("Deep Freeze 6","","TEdit1",$paw)
sleep(300)
send("{enter}")
sleep(500)
ControlClick("Deep Freeze 6", "","TRadioButton2")
sleep(300)
ControlClick("Deep Freeze 6", "","TButton6")
sleep(500)
send("{enter}")
shutdown(2)
ENDFUNC

FUNC b()
$pass = inputbox("密码","请输入DF管理密码","","*",200,120)
$paw = iniwrite ("dfauto.ini","DF密码","DF密码",$pass)
ENDFUNC

[ 本帖最后由 coolfier 于 2009-4-2 18:04 编辑 ]
 楼主| 发表于 2009-4-2 17:54:54 | 显示全部楼层
已经解决了,写的时候出错了,应该是如下:

[冰点密码]
冰点密码=******

[ 本帖最后由 coolfier 于 2009-4-2 18:35 编辑 ]
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-24 08:25 , Processed in 0.076526 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表