I'd like to send ctrl-A to another program that isn't currently active. Ideally I'd like to trigger mouse events, key sequences on the other program. Basically I'd like to write a Macro program to interface with an already written program.

Anyone have any information on how to do this? I'm thinking I'd have to use the FindWindow API, but I'm lost after that...

Thanks,
Dim A