Results 1 to 8 of 8

Thread: Find Color

  1. #1
    Join Date
    Jan 2007
    Posts
    181
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Find Color

    How do I tell scar to find a color on the screen and click it? is it like this?

    FindColour(54646) Clickmouse?

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    read my tut "things the beginner tuts don't teach you" that will teach you how to make a color clicker, links in sig. but I'll tell you here I guess too, still you should read that anyway :
    SCAR Code:
    procedure WhatEver;
    begin
    if(FindColor(x,y,color,coords,coords,coords,coords))then
    MMouse(x,y,2,2);
    wait(100+random(50));
    Mouse(x,y,2,2,);
    end;
    begin
    WhatEver;
    end.
    that would be basically all there is to it unless you want to get more advanced and the x,y are just the variables I ussually use for things like that, you can make those variables or your own as long as you declare them near top of script

  3. #3
    Join Date
    Jan 2007
    Posts
    181
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why have you wrote Cords Cords Cords because I would be trying to find color on the whole screen.

  4. #4
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    just put the coords for the whole screen
    "your always where you supposed to be"

  5. #5
    Join Date
    Jan 2007
    Posts
    181
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by del_signo View Post
    just put the coords for the whole screen
    How would I find out those?

  6. #6
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    use the color picker.

  7. #7
    Join Date
    Jan 2007
    Posts
    248
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    those are the coords for the region of what u wanna look for. It makes a box, and searches for the color within that box.

  8. #8
    Join Date
    Jan 2007
    Posts
    181
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How could I use the color picker when that gives me the cords for the area that I picked the Color in someone said that I need cords for the whole screen.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. find color but NOT in a specified box..
    By fre in forum OSR Help
    Replies: 5
    Last Post: 07-10-2008, 03:10 PM
  2. how can i find the color?
    By soul extange in forum OSR Help
    Replies: 1
    Last Post: 03-22-2008, 03:14 AM
  3. Replies: 5
    Last Post: 07-31-2007, 07:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •