Results 1 to 3 of 3

Thread: Control a program through another program [RESOLVED]

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Resolved Control a program through another program [RESOLVED]

    I want to code a program that can control another program. For example, I want my program to have a command button or something that says "next" and when clicked the next track plays in winamp. I would really like to learn how to do this.

    Thanks,
    Sir Loin
    Last edited by Sir Loin; May 26th, 2005 at 06:53 PM.

  2. #2
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Control a program through another program

    Quote Originally Posted by Sir Loin
    I want to code a program that can control another program. For example, I want my program to have a command button or something that says "next" and when clicked the next track plays in winamp. I would really like to learn how to do this.

    Thanks,
    Sir Loin
    Well, at a minimun you'd need to know the basic's of API, some of the type of things required would be:

    Finding Windows,
    Sending Windows Messages,
    Getting Window Handles,
    Possibly Sub-Classing (though, I'm not shure on this one).
    And things of that nature.

    If you can do that you should not have many problems

    Cheers,

    RyanJ
    My Blog.

    Ryan Jones.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Re: Control a program through another program

    I can get the current song, I guess I'll just look at pscode for examples and learn from that.

    Thanks,
    Sir Loin

Posting Permissions

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



Click Here to Expand Forum to Full Width