How To: Control Windows Media Player

 
#11

When you run this in PowerShell, what is returned?

Code:


get-executionpolicy

#12

"RemoteSigned"

#13

Go, that's good. Now with MediaPlayer open, playing a music track and with more than one track in the play list, what happens when you run the PowerShell script for "Next_Track.ps1"?

#14

nothing...
it does not jump the track...

#15

I tryed to change my keyboard settings.. to English. (mabe the codes are different for Brazilian ABNT keyboard).
but it did not worked too..

#16

Do any of the PowerShell scripts work for you like mute, previous, play/pause?

Does the script in EZ-Builder work to open the Windows Media Player?

Do you have next/previous play/pause keys on your keyboard? If so, can you manually press those keys to control the Windows Media Player?

#17

Ok... I just tested with an Windows 8 PC (virtual MAchine) and it workrd Great!
so.. mabe the problem is with windows 7 codes...
Mabe ?..

#18

Can you show a screen shot of your Media player under Win7?

#19

I ran the scipts under my Win7 virtual machine and it ran fine once I set the ExecutionPolicy to RemoteSigned. The codes are the same across Windows versions.

Under your Windows 7 machine do you have next/previous play/pause keys on your keyboard? If so, can you manually press those keys to control the Windows Media Player?

#20

ok.. The mute/unmute is working on windows 7.
The "previuou Track", also working..

But the "Next Track", The "play_PAuse" and the others are not!...
Since its a virtual Machine, the Buttons on the keyboard does not control the Windows Media Player..
So It migth be some difference on code numbers.. don't you think ?