|
楼主 |
发表于 2008-5-8 03:03:54
|
显示全部楼层
Func CloseUp()
RegWrite($Reg, "DisableTaskmgr", "REG_DWORD", "00000000")
WinWaitActive("classname=#32770", "登 录")
ControlClick("classname=#32770", "登 录", "Edit1")
ControlFocus("classname=#32770","","Edit1")
Send($Go)
Send("{enter}")
EndFunc
Func CloseDown()
ProcessClose("ty_Client.exe")
_RunDOS("taskkill /f /im explorer.exe")
RegWrite($Reg, "DisableTaskmgr", "REG_DWORD", "00000000")
Run(@WindowsDir & "\explorer.exe")
EndFunc
$pos = MouseGetPos()
While 1;得到鼠标位置确认值守
Sleep (3000)
$pos2 = MouseGetPos()
If $pos[0]=$pos2[0] And $pos[1] =$pos2[1] Then
ContinueLoop
Else
sleep (10000)
EndIf
Exit
WEnd |
|