I appreciate the help man, this has really stumped me. And I'm definitely not computer savvy enough to get this one working on my own. And I genuinely can't figure out why it isn't working. The code looks perfect to me, and the hotkey works fine manually. Only thing I can think of is that NirCmd isn't working right, and I don't really know how to test thatYincognito wrote: ↑March 27th, 2019, 7:32 am I had a look at the Hotkey plugin before writing my previous reply and it won't help much, IMO, since as far as I know it doesn't simulate hotkeys, it only allows Rainmeter to detect them. Basically, it won't be able to pass a hotkey to another program, which is what you'd want to do.
I'm surprised it didn't work as well, since it should have to. I didn't test it with NirCMD, just set the hotkey and then manually press the hotkey to see if MusicBee's window shows up, and it did. If you did everything right and it still doesn't work, the only two causes I see for this is that either NirCMD doesn't pass the hotkey properly to MusicBee or that MusicBee is using a more sophisticated way of detecting hotkeys (as in it looks for actual physical press of the keys and doesn't get fooled by simulating them).
Maybe I'll give it a shot as well, to see what's going on...
***Edit***
Is it possible that this plugin might be the answer?
https://forum.rainmeter.net/viewtopic.php?f=128&t=22868&hilit=ProgramOptions+plugin
I'll be honest, not much of it makes sense to me and I'm a bit too tired to parse it well. I'll try in the morning. But from what I can understand it seems relatively promising