Thread: screen color detection and button pressing

  1. #1
    Registered User
    Join Date
    Nov 2008

    screen color detection and button pressing

    Hello, im not very good at Cprogramming, but i need help..

    is it possible to have a program that detects the color of certain pixels or pixel on the screen, and then does a command or presses a button or moves the mouse or clicks the mouse when it is a certain color?

    It is kinda like a macro, but it is for a game, and mouse recorders dont work, ive tried... i now it is done with scar scripts, but i now alot more about c, so please help me out..

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Yes. But read the rules before asking further @

    Have a look on MSDN. GetPixel() or something like that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. Virtually pressing a button
    By Queatrix in forum Windows Programming
    Replies: 4
    Last Post: 08-19-2005, 10:19 AM
  3. Pressing a button works sometimes
    By johny145 in forum Windows Programming
    Replies: 14
    Last Post: 05-18-2005, 11:53 AM
  4. Pressing A Button on Dos..
    By yakabod in forum A Brief History of
    Replies: 8
    Last Post: 01-30-2003, 07:46 AM
  5. Pressing a button in another app
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 03-11-2002, 12:53 PM