Since it was brought up in another thread I thought I would repost my Media Player Classic Home Cinema library from the old forums. Uses SendMessage so the player does not need to be active to receive commands. A list of all available commands, at least at the time it was written, are located at the bottom of the library. This player is very powerful and provides many commands for it.

I discovered some mistakes in the numbers, most likely they changed from when your script was written.
I then changed the setup, such that you can use MPC_HC("Options") to keep up to date, when including new commands.
Thx for sharing!!