简体   繁体   中英

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

i launched the application using the following code ie

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 related 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM