More > JRiver Media Center 20 for Windows
MC20.exe --- trying to rename it...
glynor:
--- Quote from: DoubtingThomas on August 23, 2014, 12:42:28 pm ---wrote a C++ wrapper pgm for MCxx.exe which gets the version number from a config file to know what MCxx.exe to call. I might have it take a look at the process list to determine which MCxx.exe to call instead of using the config file.
--- End quote ---
That was basically my plan, only to look up the current version by connecting to MC via COM when needed.
BabyFace:
--- Quote from: glynor on August 23, 2014, 01:21:31 pm ---That was basically my plan, only to look up the current version by connecting to MC via COM when needed.
--- End quote ---
I don't even have a windows compiler... I use cygwin and the "unix" C++ compiler.
I really miss my MSDN account from when I was working.
Gylnor, you know, if your result would be an exe file, you might want to share it with the group. You and I can't be the only ones that would like it.
My pgm is interlinked into the code for my home automation system, so wouldn't be good as a stand alone pgm.
glynor:
Done, and included in MCUtilities. Grab it and let me know how it works out for you. I'm redoing my scripts all to point to MCcl.exe instead right now.
glynor:
I just finished redoing all of my scripts to work with MC20, now using MCcl.exe instead of the MC20.exe launcher directly. It works perfectly. All of them work exactly as they did, but now to update from MC19 to MC20, I just launch the one I want, approve the UAC prompt that comes up (if I've switched versions), and then do:
--- Code: ---MCcl --update
--- End code ---
I can't tell any performance impact from my systems due to this new "pointer" application. I suppose, if you are using it for things you might run over and over in very quick succession, it might make a difference. I should note, though...
If you're doing this, for things like Volume Control and other keypresses that might happen rapidly.... Don't, especially if you're using Girder. Sending Windows Messages instead performs much better.
Windows Messages are easy to set up in Girder with the SendMessage Action (under Windows):
Use the following Settings:
* Message: 33768
* wParam: The MCC command you want to execute.
* lParam: The optional parameter for the MCC command, if any.
Use SendMessage instead of PostMessage: Enabled (on my system anyway)
Then, click the target button and use:
Match Invisible Tasks: Enabled
Substring Matching: Enabled
ClassName: MJFRAME
Executable: MEDIA CENTER
By the way, you can also enable the Child Class option for certain commands, and filter for Theater View, Display View, and other modes with that, in order to have a command do one thing when in Standard View, and a different thing in Display View.
BabyFace:
Thanks.
An problem with using Windows message as I see in your example is that it's tied to a MC version.
I don't use volume control with Media Center, I let my audio preamp do it. So no problem for me.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version