开发者

how to control the buttons or tabs in the launch application using python

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜