Thread: Creating a Windows program

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    65

    Creating a Windows program

    I want to make a Windows program that implements something like an alias. For example, it detects if I type "qqq" (three q's in a row) then replaces it with some text so that I can quickly type stuff out. So if I wanted "qqq" to mean "the quick brown fox", then after I type the third q, the program simulates backspace being pressed three times, and then simulates "the quick brown fox" being typed out. However, if I did something like q q <backspace> q q, then even though that would appear as 3 q's in Notepad or whatever, it wouldn't trigger the alias. I have a basic knowledge of C++. Is this program doable, and what resources should I look at to get started? Thanks for reading.

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    62
    Yes, it is very doable. but I think you will find it pretty annoying. Look up keyboard hooks, and SendInput from the MSDN.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 01-01-2007, 07:36 AM
  2. Replies: 2
    Last Post: 12-22-2006, 08:45 PM
  3. Replies: 1
    Last Post: 01-24-2005, 02:07 PM
  4. Controlling windows not created by the C++ program
    By Aelstro in forum Windows Programming
    Replies: 2
    Last Post: 04-05-2003, 12:34 PM
  5. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM