Python Forum
Open windows media player minimised
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open windows media player minimised
#1
I am trying to open windows media player, minimised, from Python
like so
os.system ("start wmplayer.exe /min C:\\Users\user\Desktop\output.mp3")
Can anyone help ?
Reply
#2
os.system is a fork, not a call to include in your code
There are packages that you can use instead, see: https://pypi.org/search/?q=%22media+player%22&o=
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How would I be able to detect a media player app playing a video. phpjunkie 2 573 Oct-16-2023, 02:09 PM
Last Post: phpjunkie
  Open windows cmd prompt and run cmds with python Extra 3 1,439 Jul-14-2022, 06:07 AM
Last Post: Gribouillis
  Windows install does not create .exe, shortcut,etc to open hammer 4 2,014 May-05-2022, 12:33 PM
Last Post: hammer
  Python & Windows Media Player Extra 9 4,938 Apr-05-2022, 10:34 PM
Last Post: Extra
  Is it possible to open windows and do screenshots with Python? cubangt 2 1,328 Jan-14-2022, 03:57 PM
Last Post: cubangt
  Adding variable to Python code - media sentiment analysis Marietje 3 2,545 May-25-2021, 05:15 PM
Last Post: jefsummers
  Python - Import file sequence into Media Pool jensenni 1 2,129 Feb-02-2021, 05:11 PM
Last Post: buran
  MEDIA ROOT ionezation 1 2,183 Mar-29-2019, 02:43 PM
Last Post: ichabod801
  If - a media player exists? Nwb 2 2,787 Jun-15-2018, 06:40 PM
Last Post: snippsat
  Script for media content and redirect in to a file puneet102 0 2,343 May-22-2018, 12:06 PM
Last Post: puneet102

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020