mu奇迹后台 按键精灵

GetCursorPos x, y

Call 句柄窗口大小()

x = x-xx1

y = y-yy1

Rem a

Call Plugin.Bkgnd.RightDown(jb,x,y)

Delay 5000

Call Plugin.Bkgnd.RightUp(jb,x,y)

Delay 200

Goto a

Sub 句柄窗口大小()

jb = Plugin.Window.MousePoint()

bkdx = Plugin.Window.GetWindowRect(jb)

bk = Split(bkdx, "|")

xx1 = bk(0)

yy1 = bk(1)

xx2 = bk(2)

yy2 = bk(3)

End Sub