现获取左上角坐标
Dim Hwnd
Hwnd = Plugin.Window.MousePoint()
//下面这句是得到窗口句柄的客户区大小
sRect = Plugin.Window.GetClientRect(Hwnd)
//下面这句用于分割字符串,将横坐标和纵坐标分成两个字符串
dim MyArray
MyArray = Split(sRect, "|")
//下面这句将字符串转换成数值
L = Clng(MyArray(0)): T = Clng(MyArray(1))
R = Clng(MyArray(2)): B = Clng(MyArray(3))
Plugin Color = BkgndColor.GetPixelColor(Hwnd, L+屏幕到点之间的X距离差, T+Y差)
反正你用后台也能实现
现获取左上角坐标
Dim Hwnd
Hwnd = Plugin.Window.MousePoint()
//下面这句是得到窗口句柄的客户区大小
sRect = Plugin.Window.GetClientRect(Hwnd)
//下面这句用于分割字符串,将横坐标和纵坐标分成两个字符串
dim MyArray
MyArray = Split(sRect, "|")
//下面这句将字符串转换成数值
L = Clng(MyArray(0)): T = Clng(MyArray(1))
R = Clng(MyArray(2)): B = Clng(MyArray(3))
Plugin Color = BkgndColor.GetPixelColor(Hwnd, L+屏幕到点之间的X距离差, T+Y差)
反正你用后台也能实现
另外,虚机团上产品团购,超级便宜
菜鸟级的就放弃吧.会后台了再学才是时候.