漫画更新

Hwnd = Plugin.Window.Find(0, "雷电模拟器")
TracePrint hwnd

Call Plugin.Window.Move(Hwnd, 1314, 0)


While True
颜色1 = GetPixelColor(1754, 205)
颜色2=GetPixelColor(1413,704)
颜色3=GetPixelColor(1785,777)

    

Newstr = datediff("s", #1970-1-1#, now)

// = year(now) & month(now) & day(now) & hour(now) & minute(now) & second(now)
TracePrint Newstr    
Call Plugin.Pic.PrintScreen(1314, 124, 1878, 993, "C:UsersDellDesktop漫画更新" & Newstr)
Delay 1000
KeyPress "Space", 1
Delay 1000

颜色4 = GetPixelColor(1754, 205)
颜色5=GetPixelColor(1413,704)
颜色6 = GetPixelColor(1785, 777)


If 颜色1 = 颜色4 and 颜色2 = 颜色5 and 颜色3 = 颜色6 Then 
ExitScript 
End If



Wend
原文地址:https://www.cnblogs.com/wangbin2020/p/13785963.html