Colour Detection + Right-click

Discussion in 'Script Requests' started by Rothya, Jan 13, 2010.

Colour Detection + Right-click
  1. Unread #1 - Jan 13, 2010 at 2:22 AM
  2. Rothya
    Joined:
    Jan 13, 2010
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    Rothya Newcomer

    Colour Detection + Right-click

    Hello everyone!

    I hoped that someone out there would be able to help me out making this simple script for me. Basically all it needs to do is...

    Detect a colour of my choice and then afterwards do a right click on that location - then wait 5seconds and do the same thing

    Thank you very much in advance! :love:
     
  3. Unread #2 - Jan 27, 2010 at 5:07 AM
  4. radiclerobby
    Joined:
    Mar 9, 2008
    Posts:
    720
    Referrals:
    0
    Sythe Gold:
    0

    radiclerobby Apprentice
    Banned

    Colour Detection + Right-click

    easy mate here and goodluck with whatever your autoing

    Code:
    {.include srl/srl.scar}
    var
    m,v,q,x,y:integer;
    const
    color=881721;//replace 881721 with the color of your choice
    stay=12;// how many milliseconds to wait between each of the find color
    howmany=12;// how many times to look and click for color
    
    begin
    wait(100+random(300));
    getclientdimensions(v,q);
    repeat
    if(findcolor(x,y,color,0,0,v,q))then
    begin
    mouse(x,y,2,2,false);
    inc(m);
    end;
    wait(stay+random(100));
    until(m=howmany);
    end.
     
  5. Unread #3 - Jun 8, 2010 at 10:43 PM
  6. Ace257
    Joined:
    Feb 13, 2008
    Posts:
    41
    Referrals:
    0
    Sythe Gold:
    0

    Ace257 Member

    Colour Detection + Right-click

    general info for everyone to left click means true if its true you dont have to write true, but if you want to right click this means you need to put false. just thought i'd comment. lol hope this helps someone looking at this thread to see what he changed. :)
     
< Paying For Easy/short/simple Script! | I need an image/color detector for ypp >

Users viewing this thread
1 guest


 
 
Adblock breaks this site