
Originally Posted by
Rob H
I'm guessing they may have changed more than just the names of the windows, I did have a play with changing the targeting but that didn't help. Would probably require downloading the source code and poring over it to find the correct message numbers

No change to the message numbers as far as I've seen.
I'm about half way to finishing my "uber" GML that controls Zoomplayer, MPC, MPC-HC, VLC, Meedio, MeediOS, etc with fast and easy configuration. It will take me another day or two.
here's an example of the MPC versus MPC-HC commands
Code:
local action = pld1 -- use "Play" instead of pld1 to test
local pid = nil
local handle = nil
--MPC example
if pid == nil then pid = win.FindProcess("mplayerc.exe")
if pid ~= nil then handle = win.FindWindow("MEDIAPLAYERCLASSICW", nil)
if handle ~= nil then
if action == "Play" then win.SendMessage(handle, 273, 887, 0) end
-- etc.
else pid = nil end
end
end
--MPC-HC example
if pid == nil then pid = win.FindProcess("mpc-hc.exe")
if pid ~= nil then handle = win.FindProcessWindow(pid)
if handle ~= nil then
if action == "Play" then win.SendMessage(handle, 273, 887, 0) end
-- etc.
else pid = nil end
end