Jump to content

Blahbots

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Blahbots

  1. sorry for a bump but for a thing i am writing i really need 2 of the questions answered: the Would it be possible to make a function based on PixelSearch to give coordinates of ALL pixels that fit the hex+variations rather then just first one. Put in context, hypothetically say there is a help program that would draw red rectangles around buttons whatnot. Using pixelsearch to ID the boxes would be extremely problematical since the rectangle would always shift-up/down left right ie:never stay simetric with the actual button. now if you had say 3 pixels then its much easier to fit a rectangle around that... and -PixelSearch for a range of pixels. Something i asked before but thread got lost...If i had say 2 pixels is it possible to search every pixel in between the 2 hexes rather then having to find 1 in the middle and then use variations..
  2. nah just didnt post the entire thing: While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = somecodehere stuff happens here Case $msg = morecodehere alotof other stuff happeninoing here ase $msg = the finalcodebit weee even more stufff.... EndSelect Wend Thanks for response though...seems like it will be the only one:(
  3. Okay so I saved up a bunch of questions concerning different aspects of AutoIt: -PixelSearch for a range of pixels. Something i asked before but thread got lost...If i had say 2 pixels is it possible to search every pixel in between the 2 hexes rather then having to find 1 in the middle and then use variations... -How exactly does PixelSearch work? Does it scan top left corner to bottom left corner in rows until it finds the first pixel that fits the target pixel+variations or does it scan the entire area and then give coords of the best fit? -Just a dumb question about my code...which doesn't seem to work. While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect this seems to not work...ever. I usually end up closing the script through task manager. -Would it be possible to make a function based on PixelSearch to give coordinates of ALL pixels that fit the hex+variations rather then just first one. Put in context, hypothetically say there is a help program that would draw red rectangles around buttons whatnot. Using pixelsearch to ID the boxes would be extremely problematical since the rectangle would always shift-up/down left right ie:never stay simetric with the actual button. now if you had say 3 pixels then its much easier to fit a rectangle around that... -sliders: i am having extremely hard time reading data off slider. I can create one in my GUI (if i am lucky and it actually appears) but when i try to set a variable to get the info of the slider the script magically gets f*cked...will post code later don't have it on this computer.. Any and all help appreciated.
  4. I can understand it sertanly but since i am a total AutoIt nub i have no chance of making this into a proper algo...:\
  5. Hey, although this does work for a single pixel how would you use this to search for range or variations as you would with PixelSearch
  6. Use cheat engine.
  7. another thing. what if there is 2,3 pixels i need to search at the same time? d i just run them all through ifthen or what.
  8. ahh would this function change the resolution of the child window or inbed it asis?
  9. hmm but that's just the thing i am not too used to graphical things like that. Can you give me an example of a function that would search diff luminocities and saturation as well as the color range of say 15 for each RGB edit: also if forexample i actually KNOW the range of pixels how would i set PixelSearch to scan the known range rathern then all pixels around the only known one? (do i have to find a pixel "some where in the middle of that range" that sounds bizarre.)
  10. Never worked with VB or its derivatives, How would i inbed a running process inside my GUI (its easy to start something using the GUI but how would i start it INSIDE the GUI is the question)
  11. thanks, i knew about the variations but is that the only way to apply it? because i have a number of functions, depending on user input different pixels are searched the function thus varies so: PixelSearch(10, 10, 800, 580, $color) is what i have do i just: PixelSearch(10, 10, 800, 580, $color, 100) if i say want 100 variations of that color? thats another thing, i am not really all that savy on graphics so how many variations would it take to have everything from dark orange to brown? But thanks for the help.
  12. Hi, i am writing a tool that would click at sertain pixel. However I would like to inquire if its possible to search for a "range" of colors rather then just one and make this efficient-not search for every single on in that range...
×
×
  • Create New...