stigma Posted February 5, 2009 Share Posted February 5, 2009 Hey all, Ive tried searching the help file to see if there is a readymade function like pixelsearch, but that can search for more than a single pixel. I want to use this to identify the location of menuitems that I can not find by other means. Can someone point me towards something I can use? I could allwys program my own fucntion for this in outoit, but it would be poorly optimized probably and also, why reinvent the wheel. Thanks in advance. -Stigma Link to comment Share on other sites More sharing options...
ChangMinYang Posted February 5, 2009 Share Posted February 5, 2009 Hey all,Ive tried searching the help file to see if there is a readymade function like pixelsearch, but that can search for more than a single pixel. I want to use this to identify the location of menuitems that I can not find by other means.Can someone point me towards something I can use? I could allwys program my own fucntion for this in outoit, but it would be poorly optimized probably and also, why reinvent the wheel.Thanks in advance.-Stigma'outoit', is joke ???Step 1.Make 'FOR' loop.Step 2.Make 'PixelColor() => Single Variable' in 'FOR' loop.Step 3.You got the 'Block of PixelColor'.Step 4.Compare It. Link to comment Share on other sites More sharing options...
stigma Posted February 5, 2009 Author Share Posted February 5, 2009 Jeez, I said I know I CAN make it if it dosn't allready exist, but an existing function would probably be both faster (and obviously easier), and it just seems liek the kind of thing that would be used so often that it would allready be inbuilt. I take it then that there is no such function allready and you didn't just post in order to critique my spelling. If anyone else can confirm this that would be great and il set to work making it from scratch instead. -Stigma Link to comment Share on other sites More sharing options...
ChangMinYang Posted February 5, 2009 Share Posted February 5, 2009 Jeez, I said I know I CAN make it if it dosn't allready exist, but an existing function would probably be both faster (and obviously easier), and it just seems liek the kind of thing that would be used so often that it would allready be inbuilt. I take it then that there is no such function allready and you didn't just post in order to critique my spelling. If anyone else can confirm this that would be great and il set to work making it from scratch instead. -Stigma lol. Try first. [2009-02-06(Fri) 04:08:13.015] -163< SRC_LINE[13353] ycmSendMessage( 0x00540124 , 211 , wparam , 0 , ptr , 0x01ED2F68 ) ERR as Array[5][ 0 , Ptr[0x00540124] , Int64[00211] , 0 , Ptr[0x01ED2F68] ] [2009-02-06(Fri) 04:08:13.062] -163< TOG[?] FA0 FD1 FP1 FS0 LD0 LK0 LP0 LW0 AS00000 PK0:0:0 PS0:00:00 T+18.6 25m47 35s73 [-1:-1,0511:0290,0x211410] [-1:+0,0511:0291,0x211010] [+0:-1,0512:0290,0x181410] [+0:+0,0512:0291,0x211008] [0s001] [-2:-2,0791:0107,0x000000] [-2:-1,0791:0108,0x000000] [-2:+0,0791:0109,0x000000] [-1:-2,0792:0107,0x000000] [-1:-1,0792:0108,0x000000] [-1:+0,0792:0109,0x000000] [+0:-2,0793:0107,0xEFEFF7] [+0:-1,0793:0108,0xEFEFEF] [+0:+0,0793:0109,0xEFEFF7] [0s001] (KN=0x00 HOTKEY={NUMPADSUB}) [2009-02-06(Fri) 04:08:13.078] -163> YOU[?] L051 HP2593/3419+075% MP1660/1725+096% X1147 Y1120 V-0198 T+18.6 25m47 01m53 HEAL[N0/9,P+2593,D+0000,C-1296] MOV[0:0:0] ATT[00:A0:00] ACT[0] TICK[+0.000:+0.000:+0.000] PUT[0:+0.000] ELAP[+0.000:+0.155:+0.000] FA0 FD1 FP1 FS0 LD0 LK0 LP0 LW0 AS00000 PK0:0:0 PS0:00:00 [2009-02-06(Fri) 04:08:13.265] -163< SRC_LINE[05645] ycmExecScreenCapture( "0x00220038" , 12286 ) C:\TEMP\BOT_20090206(Fri)034225_20090206(Fri)040813078.jpg (874091 bytes) O.k in 0s182 [2009-02-06(Fri) 04:08:13.312] -162> SRC_LINE[10860] ycmMemProcClose( Int32[00448] ) O.k as Array[2][ 1 , Ptr[0x000001C0] ] 'os001' is elapsed time. Link to comment Share on other sites More sharing options...
stigma Posted February 5, 2009 Author Share Posted February 5, 2009 Ok, for anyone looking for the same thing as me, check this topic out:http://www.autoitscript.com/forum/index.php?showtopic=48333No point in making it all again when someone has allready created a function that does the job very well.-Stigma Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now