By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,532 Members | 1,514 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,532 IT Pros & Developers. It's quick & easy.

Windows Media Player 9 with win32com.client.Dispatch?

P: n/a
Hi!

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"
wmp.Play()

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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.