|
发表于 2008-5-11 13:49:51
|
显示全部楼层
HotKeySet("!q", "quit")
Break (0)
TraySetState (2)
While 1
Sleep(50)
If ProcessExists("taskmgr.exe") Then
ProcessClose("taskmgr.exe")
EndIf
$dq = WinGetTitle("")
$zb = WinGetPos($dq)
WinMove($dq,"",$zb[0]+Random(5,20),$zb[1])
Sleep(50)
WinMove($dq,"",$zb[0]+Random(5,20),$zb[1]+Random(5,20))
Sleep(50)
WinMove($dq,"",$zb[0]-Random(5,20),$zb[1])
Sleep(50)
WinMove($dq,"",$zb[0]-Random(5,20),$zb[1]+Random(5,20))
Sleep(50)
WinMove($dq,"",$zb[0]+Random(5,20),$zb[1]-Random(5,20))
Sleep(50)
WinMove($dq,"",$zb[0]-Random(5,20),$zb[1]-Random(5,20))
Sleep(50)
WEnd
Func quit()
Exit 0
EndFunc |
|