Color And Coordinate finder!

Discussion in 'Scar/Simba General Discussion' started by superbatman, Jan 2, 2009.

Color And Coordinate finder!
  1. Unread #1 - Jan 2, 2009 at 8:48 PM
  2. superbatman
    Joined:
    Jan 2, 2009
    Posts:
    252
    Referrals:
    0
    Sythe Gold:
    0

    superbatman Forum Addict

    Color And Coordinate finder!

    Hey all, im pretty knew to this scar stuff, and when i very first started, i was looking for a program that would give me the on-screen coordinates and color of the pixel where the mouse was. i couldnt find one so i ended up writing it myslef. There is probably one out there, but i couldnt find it, its helped me alot, i wouldnt be able to do anything without it.


    Code:
    program ColorFinder;
    
    var color,x,y : integer;
        z,a,b: string;
    
    procedure findcolor;
    begin
         z:= '(';
         a:= ',';
         b:= ')';
         GetMousePos(x,y);
         color:=GetColor(x,y);
         writeln('color = '+IntToStr(color)+(z)+IntToStr(x)+(a)+IntToStr(y)+(b));
    end;
    begin
         findcolor;
    end.
    
     
  3. Unread #2 - Jan 7, 2009 at 3:07 PM
  4. radiclerobby
    Joined:
    Mar 9, 2008
    Posts:
    720
    Referrals:
    0
    Sythe Gold:
    0

    radiclerobby Apprentice
    Banned

    Color And Coordinate finder!

    lol XD its called the color diber the 6th one over from where the target thing is to specify the window look at it go 6 over and boom :p

    ? locked?
     
< Im getting an error... | ¿Whats better? ¿..SCAR..? *_or_* ¿..RSBOT..? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site