开发者

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

开发者 https://www.devze.com 2023-02-07 02:03 出处:网络
i launched the application using the following code i.e. import os cmd = r\'start C:\\WindowsMediaPlayer\\wmplayer.exe\'

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

精彩评论

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