Thread: Autoclicker help

  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    23

    Autoclicker help

    I'm trying to make a simple program with c, but I'm not sure where to start.

    The program needs to simulate the clicking of a window with the space bar. I'd like to be able to do this with the space bar for as long as the space bar is held down. (down to the very milliseconds if possible)

    It needs to then just simulate the "holding" part and not the actual dragging. I only need to be able to do this for the main window that's in front of the rest of the windows.

    This is obviously has NOTHING to do with cheating in an online game, so be a friend and help me out.

    I'm using Visual Studio 2008 on winxp. Thanks for the help guys.
    Last edited by cb0ardpr0gr^mm3r; 12-28-2009 at 06:18 AM.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Your question has almost nothing to do with C, and everything to do with your operating system.

    I would advise googling for this, as best you can, and asking this question in Windows forums and newsgroups, as well as checking out the basics in the msdn library.

    You may also want to check out AutoIt, although I have no idea if it has a function to do what you want.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple autoclicker
    By Aparavoid in forum Windows Programming
    Replies: 8
    Last Post: 12-24-2009, 09:02 PM