Jump to content

DasAuto

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by DasAuto

  1. Thank you so much for the info, I will be looking into it.
  2. Hi, thanks for replying. I am actually looking for an invented function using some magical windows handles... or something directly from the graphic card's rasterizer or whatever. according to my half baked intuition a frame was put on screen from "the frame buffer" ( I don't really know) as an array the first place. I would like to read directly from that buffer in bulk, not just one pixel at a time. thanks
  3. Hi Fellow Coders I am looking for an Efficient user function of getting an area of pixels' colors and return a multi dimensional array. I am not asking for a simple nested for loops that does pixelgetcolor for each pixel, I am more of looking for a more root level approach that is more efficient and fast. Thanks
  4. Thanks for the replies, I didn't understand the Dim and Local explanation there. and unfortunately it is not something can be solved by a loop. my needs arise from something like this: Func ColorCompare( $p1, $p2) endfunc $p1 and $p2 are 2 elements arrays representing pixels when I call the func ColorCompare, I would like to be able to just do this: ColorCompare( [23, 53] , [345, 132]) Apparently I can not.
  5. Hi Fellow code-naughts. How is it going. I m trying to do this: Dim $myArray[4] ;long arduous codes insert here $myArray = [1, 2, 3, 4] ; <======= and obviously this gives you an error. #cs so besides doing the $myArray[0] = 1; $myArray[1] = 2; ..... any faster way of doing this? thanks #ce ALso Second question: all local variables, even arrays are destroyed at the end of their scope right? I am not sure about array being a pointer or not in autoit.
  6. thank you for both suggestions, I have found the older source code, I think they are more than enough for me, albeit confusing but exciting as well. I have found the way to use thumb drive as well, but I have to weigh the risk of getting too found of autoit syntax and screwing up my c++ exams =)
  7. Hi, Just found out about AutoIt yesterday. I like the simplicity and the pure awesomeness (that send() method is amazing). However the computer I can access on campus won't allow installation of anything, So I m stuck with C++/Java. I have only taken 2 computer sciences courses so far, so my abilities are limited. I figured out how to use autoit dll, but I m thinking maybe I should use c++ native code on some of the commonly used methods to improve efficiency. PixelGetColor comes to mind first. is it possible to get source code for it? or any gurus could write up a sample c++ code of pixelgetcolor to inspire me? thanks
×
×
  • Create New...