I want to be able to tell MusicMatch Jukebox to PAUSE using the keyboard's Pause/Break key, even when MMJB is not the active application.
This seems like it ought to be easy enough to do, but several attempts (SendKeys, postmessage, etc) have failed. The key point is that it needs to work when MMJB doesn't have the Windows keyboard focus. I've tried to use the "Hotkeys Utility" v.1.3 by Arjen Broeze:
...but that has the same problem (at least under 2000 and XP) - the target application must have the keyboard focus.
I've also considered using OLE automation, but I haven't found any documentation on the DDE server within MMJB (assuming there is one). A third possiblity is controlling MMJB through the MMJB QuickPlay tray app, but I haven't got a clue where to start down that road.
This need first started when I purchased a KeySpan IR Remote Control. It woked fine when MMJB was the current application, but it refused to control MMJB if any other program was focused. Contacting KeySpan was a dead end (I believe they are now, justifiably, out of business!). So now I want to do it myself. If anything can get it done DELPHI can! Any ideas?