470,594 Members | 1,346 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

Windows Media Player 9 with win32com.client.Dispatch?


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
Player 9?

Is there some other way to use Windows Media Player from Python?
Embedding C++ in Python? Any code examples?

Thanks in advance.

/Mickel G.

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

Jul 18 '05 #1
0 1826

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by RJ | last post: by
reply views Thread by Paul McGuire | last post: by
reply views Thread by Bill Eldridge | last post: by
1 post views Thread by sri2097 | last post: by
4 posts views Thread by Jeffrey Barish | last post: by
4 posts views Thread by mirandacascade | last post: by
2 posts views Thread by Ray | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.