Dim A=true
Dim C
DIM retValue
#icon("@res:46dbe370-f3a2-11ec-a785-df1a7bb00d7c.png")
objPoint = Image.Find({"wnd":[{"cls":"LDPlayerMainFrame","title":"雷电模拟器","app":"dnplayer"}]},{"x": 0, "y": 0, "width": 0, "height": 0},@res"46dbe370-f3a2-11ec-a785-df1a7bb00d7c.png",0.9,10000,{"bContinueOnError": true, "iDelayAfter": 300, "iDelayBefore": 200, "bSetForeground": true, "sMatchType":"GrayMatch", "iSerialNo": 1})
If objPoint
#icon("@res:12f9fda0-f396-11ec-a785-df1a7bb00d7c.png")
Image.Click({"wnd":[{"cls":"LDPlayerMainFrame","title":"雷电模拟器","app":"dnplayer"}]},{"x":0,"y":0,"width":0,"height":0},@res"12f9fda0-f396-11ec-a785-df1a7bb00d7c.png",0.9,"left","click",10000,{"bContinueOnError":true,"iDelayAfter":300,"iDelayBefore":200,"bSetForeground":true,"sCursorPosition":"Center","iCursorOffsetX":0,"iCursorOffsetY":0,"sKeyModifiers":[],"sSimulate":"simulate","sMatchType":"GrayMatch","iSerialNo":1})
A=true
#icon("@res:ea07d250-f3a4-11ec-a785-df1a7bb00d7c.png")
bRet = Image.Exists({"wnd":[{"cls":"LDPlayerMainFrame","title":"雷电模拟器","app":"dnplayer"}]},{"x": 0, "y": 0, "width": 0, "height": 0},@res"ea07d250-f3a4-11ec-a785-df1a7bb00d7c.png",0.9,10000,{"bContinueOnError": true, "iDelayAfter": 300, "iDelayBefore": 200, "bSetForeground": true, "sMatchType":"GrayMatch"})
Else
Mouse.Wheel(5,"down", [],{"iDelayAfter":300, "iDelayBefore":200})
End If
Dim jsc