[General]
Description=ʾӣ̨ɫɫ̳
BeginHotkey=120
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
Enable=0
AutoRun=0
[Repeat]
Type=0
Number=1
[Relative]
SetupOCXFile=
[Comment]
Content=˵.
űʾ̨ɫй.
.
ʹ˵.
ȼű.
.
߽ܡ.
361.
.
ڡ.
2007727

[Script]
MessageBox "Ą̊́ɫ̳"&VbCrLf&"ӭʹҵĲ^_^"&VbCrLf&"ȷ̳"
MessageBox "̨ɫڴڱƳĻ"&VbCrLf&"߱ڵס£"&VbCrLf&"ȡɫɫ"&VbCrLf&"÷ΧDirectXͼ"
MessageBox "òеĹܣ"&VbCrLf&"1.ȡָ̨ɫ"&VbCrLf&"2.̨ڵɫ"&VbCrLf&"3.Ӻ̨мɫ"&VbCrLf&"4.̨ڵģɫ"
//---------------------------------------------------------
//                        GetPixelColor
//---------------------------------------------------------
MessageBox "ڽȡָ̨ɫ"&VbCrLf&"ʽ"&VbCrLf&"Plugin Bkgnd.GetPixelColor(ھ,,)"&VbCrLf&VbCrLf&"ʹõǴڵĿͻ"&VbCrLf&"ֵɫֵʮַ"
MessageBox "ҪʾӵĽű£"&VbCrLf&VbCrLf&"Plugin hwnd=Window.Foreground()"&VbCrLf&"Plugin Window.Move(hwnd,-6000,20)"&VbCrLf&"Plugin Color=Bkgnd.GetPixelColor(hwnd,10,50)"&VbCrLf&"MessageBox ""ڿͻ(10,50)ɫֵΪ""&Color"&VbCrLf&VbCrLf&"ýűǰƳĻȻȡôڿͻ(10,50)ɫֵ"
MessageBox "׼ãʾҪʼˡԶ[ͼ]򣡣"
//ȡǰڵľ
//Plugin hwnd=Window.Foreground()
VBSCall RunApp("mspaint.exe")
Delay 1000
//һͼ
Plugin Hwnd=Window.Find("MSPaintApp",0)
//ȡĴڱ߿꣬ںĻԭλ
Plugin rect=Window.GetWindowRect(hwnd)
//佫ƳĻ
Plugin Window.Move(hwnd,-6000,20)
//ȡڿͻ(10,50)ɫ
Plugin Color=Bkgnd.GetPixelColor(hwnd,10,50)
MessageBox "ڿͻ(10,50)ɫֵΪ"&Color
MessageBox "̨ȡɫʾ"
MyArray=Split(rect,"|")
//ԭλ
Plugin Window.Move(hwnd,MyArray(0),MyArray(1))
//---------------------------------------------------------
//                         FindColor
//---------------------------------------------------------
MessageBox "ڽ̨ܺڵɫңϵµ˳ɫ"&VbCrLf&"ʽ"&VbCrLf&"Plugin Bkgnd.FindColor(ھ,ϽǺ,Ͻ,½Ǻ,½,ʮɫֵ)"&VbCrLf&VbCrLf&"ʹõǴڿͻ"&VbCrLf&"ֵҵķĵĴڿͻ"&VbCrLf&"ֵĸʽǣ|"&VbCrLf&"ʹõǴڵĿͻ"&VbCrLf&"Ҳĵ򷵻أ-1|-1"
MessageBox "ҪʾӵĽű£"&VbCrLf&VbCrLf&"Plugin hwnd=Window.Foreground()"&VbCrLf&"Plugin Window.Move(hwnd,-6000,20)"&VbCrLf&"Plugin XY=Bkgnd.FindColor(hwnd,0,0,700,550,""FF0000"")"&VbCrLf&"MyArray1=Split(XY,""|"")"&VbCrLf&"MessageBox ""ҵĵĺ꣺""&MyArray1(0)&""꣺""&MyArray1(1)"&VbCrLf&VbCrLf&"ýűǰƳĻȻָھڲָɫ"
MessageBox "׼ãʾҪʼ"
//ȡǰڵľ
//Plugin hwnd=Window.Foreground()
//ȡĴڱ߿꣬ںĻԭλ
Plugin rect=Window.GetWindowRect(hwnd)
//佫ƳĻ
Plugin Window.Move(hwnd,-6000,20)
//䰴ңϵµ˳ָָɫ
Plugin XY=Bkgnd.FindColor(hwnd,0,0,700,550,"FF0000")
//ڷַָ
MyArray1=Split(XY,"|")
MessageBox "ҵĵĺ꣺"&MyArray1(0)&"꣺"&MyArray1(1)
MessageBox "̨ɫʾ"
MyArray=Split(rect,"|")
//ԭλ
Plugin Window.Move(hwnd,MyArray(0),MyArray(1))
//---------------------------------------------------------
//                       FindCenterColor
//---------------------------------------------------------
MessageBox "ڽ̨ܺڵĴмɫ"&VbCrLf&"ʽ"&VbCrLf&"Plugin Bkgnd.FindCenterColor(ھ,ϽǺ,Ͻ,½Ǻ,½,ʮɫֵ)"&VbCrLf&VbCrLf&"ʹõǴڿͻ"&VbCrLf&"ֵҵķĵĴڿͻ"&VbCrLf&"ֵĸʽǣ|"&VbCrLf&"ʹõǴڵĿͻ"&VbCrLf&"Ҳĵ򷵻أ-1|-1"
MessageBox "ҪʾӵĽű£"&VbCrLf&VbCrLf&"Plugin hwnd=Window.Foreground()"&VbCrLf&"Plugin Window.Move(hwnd,-6000,20)"&VbCrLf&"Plugin XY=Bkgnd.FindCenterColor(hwnd,0,0,700,550,""FF0000"")"&VbCrLf&"MyArray1=Split(XY,""|"")"&VbCrLf&"MessageBox ""ҵĵĺ꣺""&MyArray1(0)&""꣺""&MyArray1(1)"&VbCrLf&VbCrLf&"ýűǰƳĻȻָھڲָɫ"
MessageBox "׼ãʾҪʼ"
//ȡǰڵľ
//Plugin hwnd=Window.Foreground()
//ȡĴڱ߿꣬ںĻԭλ
Plugin rect=Window.GetWindowRect(hwnd)
//佫ƳĻ
Plugin Window.Move(hwnd,-6000,20)
//䰴м䵽ܵ˳ָָɫ
Plugin XY=Bkgnd.FindCenterColor(hwnd,0,0,700,550,"FF0000")
//ڷַָ
MyArray1=Split(XY,"|")
MessageBox "ҵĵĺ꣺"&MyArray1(0)&"꣺"&MyArray1(1)
MessageBox "̨ڵĴмɫʾ"
MyArray=Split(rect,"|")
//ԭλ
Plugin Window.Move(hwnd,MyArray(0),MyArray(1))
//---------------------------------------------------------
//                        FindColorEx
//---------------------------------------------------------
MessageBox "ڽ̨ܺڵģɫ"&VbCrLf&"ʽ"&VbCrLf&"Plugin Bkgnd.FindColorEx(ھ,ϽǺ,Ͻ,½Ǻ,½,ʮɫֵ,,ƶ)"&VbCrLf&VbCrLf&"ʹõǴڿͻ"&VbCrLf&"ͣ0ǰңϵµ˳ɫ1Ǵм䵽ܵ˳ɫ"&VbCrLf&"ƶȣȡֵΧ0.01.01.0"&VbCrLf&"ֵҵķĵĴڿͻ"&VbCrLf&"ֵĸʽǣ|"&VbCrLf&"ʹõǴڵĿͻ"&VbCrLf&"Ҳĵ򷵻أ-1|-1"
MessageBox "ҪʾӵĽű£"&VbCrLf&VbCrLf&"Plugin hwnd=Window.Foreground()"&VbCrLf&"Plugin Window.Move(hwnd,-6000,20)"&VbCrLf&"Plugin XY=Bkgnd.FindColorEx(hwnd,0,0,700,550,""00FFFF"",0,0.9)"&VbCrLf&"Plugin XY1=Bkgnd.FindColorEx(hwnd,0,0,700,550,""00FFFF"",1,0.9)"&VbCrLf&"MyArray1=Split(XY,""|"")"&VbCrLf&"MyArray2=Split(XY1,""|"")"&VbCrLf&"MessageBox ""ңϵµ˳ɫҵĵĺ꣺""&MyArray1(0)&""꣺""&MyArray1(1)&VbCrLf&""м䵽ܵ˳ɫҵĵĺ꣺""&MyArray2(0)&""꣺""&MyArray2(1)"&VbCrLf&VbCrLf&"ýűǰƳĻȻָھڲָɫ"
MessageBox "׼ãʾҪʼ"
//ȡǰڵľ
//Plugin hwnd=Window.Foreground()
//ȡĴڱ߿꣬ںĻԭλ
Plugin rect=Window.GetWindowRect(hwnd)
//佫ƳĻ
Plugin Window.Move(hwnd,-6000,20)
//䰴ңϵµ˳ָָɫ
Plugin XY=Bkgnd.FindColorEx(hwnd,0,0,700,550,"00FFFF",0,0.9)
//䰴м䵽ܵ˳ָָɫ
Plugin XY1=Bkgnd.FindColorEx(hwnd,0,0,700,550,"00FFFF",1,0.9)
//ڷַָ
MyArray1=Split(XY,"|")
MyArray2=Split(XY1,"|")
MessageBox "ңϵµ˳ɫҵĵĺ꣺"&MyArray1(0)&"꣺"&MyArray1(1)&VbCrLf&"м䵽ܵ˳ɫҵĵĺ꣺"&MyArray2(0)&"꣺"&MyArray2(1)
MessageBox "̨ڵĴмɫʾ"
MyArray=Split(rect,"|")
//ԭλ
Plugin Window.Move(hwnd,MyArray(0),MyArray(1))
//---------------------------------------------------------
MessageBox "ˣйܶʾϣ̵̳˽^_^"
