MessageBox "鼠标指向窗口浏览区域后,按回车键开始" Hwnd = Plugin.Wind
MessageBox "鼠标指向窗口浏览区域后,按回车键开始"
Hwnd = Plugin.Window.MousePoint()
Do
GetColor = Plugin.Bkgnd.GetPixelColor(Hwnd, 45, 170)
TracePrint GetColor
Delay 1000
Var1 = GetColor
If Var1 = Var2 Then
i = i + 1
TracePrint i
Else
Var2 = Var1
i=0
End If
If i = 10 Then TracePrint "人物10秒未移动":Exit Do
Loop