I need a program to access a program..

This is a discussion on I need a program to access a program.. within the Windows Programming forums, part of the Platform Specific Boards category; A friend of mine prompted me with this idea and I like challenges so I'd like to try it. I'd ...

  1. #1
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378

    I need a program to access a program..

    A friend of mine prompted me with this idea and I like challenges so I'd like to try it. I'd like to make a program that would allow the user to execute something, whether i could add items to the AOL Instant Messenger menu or have a shortcut on the desktop, and when executed the program would randomly choose a file that has some stored text in it from a certain directory and make that text the persons away message. i can do all of the file i/o and GUI stuff, the thing i need help with is how i would add an item to the AIM menu and/or how i'd get the text from the file to the away message window. i could simulate mouse clicks on the AIM window, but then i'd need to get the window handle which i do not know how to do as it is not a child process of my program. what i'd like to do, is add an item to a menu such as "put me away" or something to that effect and then have that menu item randomly choose the file/text to be used, open up the "edit away message" window (not necessarily showing it because thats not needed), and then copying the text over to the window (which i have an idea of how to do, but again theres the problem of getting the windows handle) and setting the person as being away.

    i'm not sure how entirely legal that is? but AIM is free software (not free as in open source, but free as in no one pays anything to download/use it except for their internet bill) but i'm also not mass distributing this program. i'd just like to give it to my friend to use and maybe use it myself.
    so...what can ya tell me, doc? lol


    mm...it appears as thought this page does something similar to what i want by intercepting the mouse clicks. is this what i need?
    Last edited by willc0de4food; 03-23-2006 at 07:39 AM.
    Registered Linux User #380033. Be counted: http://counter.li.org

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Access Violation?
    By rwmarsh in forum C++ Programming
    Replies: 6
    Last Post: 05-04-2006, 10:56 AM
  2. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 06:49 PM
  3. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  4. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21