Thread: Pretty New coder - Is this possible/Hinters

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    1

    Pretty New coder - Is this possible/Hinters

    So yeah I'm a fairly new coder but I'm trying to learn to do some various things.
    I can't find any straight forward answers to this anywhere else on the internet but I was wondering if my idea was possible before I spend time on it, and if possible could anyone give me hinters as to where to go.

    I want a program that can run in the background, and when I press designated keys on the keyboard, the cursor will move to a position on the screen that I have set.

    Thanks in advance

  2. #2
    Registered User inequity's Avatar
    Join Date
    Nov 2010
    Location
    Seattle, Washington
    Posts
    59
    Anything is possible, including this, but this not trivial to implement in C++. You'd have to consider operating system and then learn a lot about it to make this happen.

    For this specific project, I'd recommend using an interface written specifically for this type of thing. I'd recommend checking out AutoIt, it's pretty straightforward and does things like this easily.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Location
    Belgrade, Serbia
    Posts
    163
    I recommend AutoHotkey.
    Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
    What profit hath a man of all his labour which he taketh under the sun?
    All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
    For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help! Pretty Please!
    By verbity in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-05-2007, 04:08 AM
  2. I'm pretty lost, please help
    By BurleMD in forum C Programming
    Replies: 8
    Last Post: 10-22-2006, 08:34 PM
  3. Pretty new to C and am looking for some help
    By CrazyCanuck in forum C Programming
    Replies: 3
    Last Post: 10-07-2003, 11:58 AM
  4. C++ (Pretty hard...)
    By aznkidben2 in forum C++ Programming
    Replies: 6
    Last Post: 08-10-2003, 12:11 AM