RE: Automating windows media player on win7

2014-07-23 Thread Deogratius Musiige
[mailto:python-list-bounces+demu=senncom@python.org] On Behalf Of Deogratius Musiige Sent: 6. juni 2014 15:39 To: MRAB; python-list@python.org Subject: RE: Automating windows media player on win7 Thanks a lot mate. You just made my day. I have looked around the net but cannot find

Re: Automating windows media player on win7

2014-07-23 Thread MRAB
On 2014-07-23 10:20, Deogratius Musiige wrote: Hi mate, The fix you provided works perfect. However, if I put it in a class and import, make instance and execute in another file, the audio is not played. What am I missing? This is what I do: I'm assuming that you're not actually calling

RE: Automating windows media player on win7

2014-07-23 Thread Deogratius Musiige
Deogratius Musiige Sennheiser Communications A/S Direct +45 5618 0320 -Original Message- From: Python-list [mailto:python-list-bounces+demu=senncom@python.org] On Behalf Of MRAB Sent: 23. juli 2014 12:57 To: python-list@python.org Subject: Re: Automating windows media player on win7

Re: Automating windows media player on win7

2014-07-23 Thread MRAB
On 2014-07-23 12:55, Deogratius Musiige wrote: Hi, I have the mentioned imports. And for the matter of fact I can play the audio. The problem is when I make a class with the wmplayer automating code and make an instance of this class in my testing code. When I run this instance, I do not get

Re: Automating windows media player on win7

2014-06-07 Thread MRAB
On 2014-06-06 14:39, Deogratius Musiige wrote: Thanks a lot mate. You just made my day. I have looked around the net but cannot find the controls available. I would like to be able to: - get current playing track - get wmplayer state (playing/paused/stopped) - get the selected sound device

RE: Automating windows media player on win7

2014-06-06 Thread Deogratius Musiige
- From: Python-list [mailto:python-list-bounces+demu=senncom@python.org] On Behalf Of MRAB Sent: 4. juni 2014 21:23 To: python-list@python.org Subject: Re: Automating windows media player on win7 On 2014-06-03 09:10, Deogratius Musiige wrote: Hi guys, I have been fighting with automating

Re: Automating windows media player on win7

2014-06-06 Thread Michael Torrie
On 06/06/2014 07:39 AM, Deogratius Musiige wrote: Thanks a lot mate. You just made my day. I have looked around the net but cannot find the controls available. I would like to be able to: - get current playing track - get wmplayer state (playing/paused/stopped) - get the selected

Re: Automating windows media player on win7

2014-06-04 Thread MRAB
On 2014-06-03 09:10, Deogratius Musiige wrote: Hi guys, I have been fighting with automating wmplayer but with no success. It looks to me that using the .OCX would be the best option. I found the code below on the net but I cannot get it to work. I can see from device manager that a driver is

Re: Automating windows media player on win7

2014-06-03 Thread Chris Angelico
On Tue, Jun 3, 2014 at 6:10 PM, Deogratius Musiige dmusi...@sennheisercommunications.com wrote: Hi guys, I have been fighting with automating wmplayer but with no success. It looks to me that using the .OCX would be the best option. I found the code below on the net but I cannot get it to

Re: Automating windows media player on win7

2014-06-03 Thread Chris Angelico
On Tue, Jun 3, 2014 at 7:42 PM, Deogratius Musiige dmusi...@sennheisercommunications.com wrote: Hi Chris, I want to have wmplayer as part of my automitized test for a headset via the USB HID. I want to be able to execute some of the following operations in my python script: 1. Play

RE: Automating windows media player on win7

2014-06-03 Thread Deogratius Musiige
=senncom@python.org] On Behalf Of Chris Angelico Sent: 3. juni 2014 11:46 Cc: python-list@python.org Subject: Re: Automating windows media player on win7 On Tue, Jun 3, 2014 at 7:42 PM, Deogratius Musiige dmusi...@sennheisercommunications.com wrote: Hi Chris, I want to have wmplayer as part

RE: Automating windows media player on win7

2014-06-03 Thread Deogratius Musiige
windows media player on win7 On Tue, Jun 3, 2014 at 6:10 PM, Deogratius Musiige dmusi...@sennheisercommunications.commailto:dmusi...@sennheisercommunications.com wrote: Hi guys, I have been fighting with automating wmplayer but with no success. It looks to me that using the .OCX