Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post

    What language for toy program.

    I want to make a small program where when it is open and running it will keep clicking the left mouse button when the left mouse button is held down.
    *edit*
    I assume the clicking will be in a loop or a timer, but either way, I will need a timer to change the interval in the interface.
    */edit*

    I don't know what programming language I should program this in where I can get the most help.

    If I program this is c++ will there be many tutorials to help me with this type of program?

  • #2
    Regular Coder
    Join Date
    Oct 2004
    Posts
    230
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You'll most likely need to install a mouse hook to capture mouse events. This can be done in C++ and I think in VB as well. Or you can try a pre-built program like one that can be found at http://www.autohotkey.com/ to see if that will do what you need.

  • #3
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    Thanks aman, I will check it out.


  •  

    Posting Permissions

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