i launched the application using the following code i.e.
import os
cmd = r'start C:\WindowsMediaPlayer\wmplayer.exe'
os.system(cmd)
say i launched win media player.. now i want to control the buttons/the menus to open a file . or do some audio settings.. any thing that is r开发者_JAVA百科elated to media player using the python script.. please any on can help me with this....
Maybe you should use a framework such as pywinauto Using this, you can launch windows applications and control them.
Check this out
精彩评论