mark2004 Posted December 3, 2014 Posted December 3, 2014 Hi Everyone. I'm trying to do some basic control of the playback of audio files with windows media player. I'd like to be able to play/pause/jump back 5 seconds etc through scripting but I'm having some trouble. Here is a basic test script I have been using to just open a file and let it play for 5 seconds and then pause it. I can start playing the file just fine but I cannot pause it. Any ideas? $oWM=ObjCreate("WMPlayer.OCX.7") $oWM.OpenPlayer(@MyDocumentsDir & "\testMessage.wav") Sleep(5000) $oWM.Controls.pause
mark2004 Posted December 3, 2014 Author Posted December 3, 2014 This may not be in the right forum. I just posted in general
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now