Windows Media Player 9 with win32com.client.Dispatch?
mickel at csc.fi
Tue Mar 23 10:16:46 CET 2004
Anybody tried using Windows Media Player 9 via win32com? (And more
precisely, combining that with a Tkinter application.)
I found a few earlier threads on Windows Media Player and Python, but it
seems nobody has really got it to work, e.g. the below does not work:
wmp = win32com.client.Dispatch("MediaPlayer.MediaPlayer.1")
wmp.FileName = "C:/Path/To/Some/Media/File.wav"
Is "MediaPlayer.MediaPlayer.1" really the progid to use for Windows Media
Is there some other way to use Windows Media Player from Python?
Embedding C++ in Python? Any code examples?
Thanks in advance.
Mickel Grönroos, application specialist, linguistics, Research support, CSC
PL 405 (Tekniikantie 15 a D), 02101 Espoo, Finland, phone +358-9-4572237
CSC is the Finnish IT center for science, www.csc.fi
More information about the Python-list