Adblock breaks this site

Colour picking help

Discussion in 'Archives' started by Le_Dark_Lord, Jul 23, 2007.

  1. Le_Dark_Lord

    Le_Dark_Lord Forum Addict
    Banned

    Joined:
    Dec 6, 2005
    Posts:
    451
    Referrals:
    3
    Sythe Gold:
    0
    Colour picking help

    I couldn't find any posts that could help - mainly SCAR guides - but I want my program to allow the user to pick a color, then the program uses that color to click on things.

    If you want an example of what I am trying to make, look at Sythe's Auto Woodcutter (Can't remember the exact name).

    Don't tell me to use SCAR either. I just know some leecher or something will tell me to -.-'


    thanx
     
  2. halojunkie

    halojunkie Active Member

    Joined:
    Dec 17, 2005
    Posts:
    232
    Referrals:
    0
    Sythe Gold:
    0
    Colour picking help

    Umm...try using the Common Dialog Control in VB6 and i think its something like

    Code:
    commondialog1.showcolor
    
    
     
  3. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    Colour picking help

    If you want a drag and drop get pixel color function I can help. Give me a bit to let me find it.

    Edit: Here is a link to the source, i got the GetPixel function from some help site (it was a while ago). http://www.darthatron.com/uploads/FPC.zip
     
  4. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    Colour picking help

  5. Le_Dark_Lord

    Le_Dark_Lord Forum Addict
    Banned

    Joined:
    Dec 6, 2005
    Posts:
    451
    Referrals:
    3
    Sythe Gold:
    0
    Colour picking help

    thanks!
     
  6. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    Colour picking help

    that would be called pixel detection and in pascal i think its like getpixel im not very good with that since i only know visual basic and i have no clue how to do it in vb sorry =/
     
  7. pwnintheface

    pwnintheface Member
    Banned

    Joined:
    Jul 31, 2007
    Posts:
    70
    Referrals:
    0
    Sythe Gold:
    0
    Colour picking help

    i dont know it off the top of my head, but you should use the function getpixel from gui. Just google it.
     
< Paying for a quester and i will vouch. | selling obby name >


 
 
Adblock breaks this site