hwnd=Plugin.Window.MousePoint()
s=Plugin.Window.GetClientRect(hwnd)
myArray=Split(s, "|", -1, 1)
wx=int(myarray(0))
wy=int(myarray(1))
sizex=int(myarray(2))
wy1=int(myarray(3))
wx1=wx+sizex
kkxx=5
While kkxx>1
IfColor 405+wx,30+wy,"0011FF",0 Then
KeyPress 112,1
Delay 20
MoveTo wx1-93,132+wy
Delay 50
LeftClick 1
EndIf
KeyPress 122,1
kzxx = Plugin.Sys.GetCLB()
EndWhile
0011FF自己的可能不一样,用按键抓抓改变一下
以上为按键8代码
按键7自己改改