0

I'm trying to control windows media player in c#. That means, I want to be able to programmically play songs. To reiterate, I'm talking about the full version of WMP, not the component you can embed into a windows form. I can launch the WMP process just fine, the problem comes in actually controlling it as I can't think of any keypresses I can send to the player that would tell it to select a song and play music. I can do this in iTunes just fine by sending a spacebar key-press to the process, but not so in Windows Media Player. Does anyone have any ideas as per how I can control widows media player programmically in C#? Is there a special command I can send to the process to complete this task?

Waffles
  • 151
  • 1
  • 2
  • 6
  • possible duplicate of [How to interact with Windows Media Player in C#](http://stackoverflow.com/questions/56478/how-to-interact-with-windows-media-player-in-c-sharp) – Max von Hippel Aug 05 '15 at 22:27