I'm looking to add control of an external software (Microsoft product) in a Java program I'm writing.

I'm pretty unfamiliar with the whole system of Windows messages and handles, but I've done some reading and believe I have a grasp on what needs to be done.

I just need to send simple commands (next, previous) to the software. Is there some sort of sendCommand() method?

I can't find anything online about any sort of library that would cater to this sort of functionality. ANY advice would be appreciated.