INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Keep MC minimized/background during Pause/Play command  (Read 1867 times)

RedJ

  • Galactic Citizen
  • ****
  • Posts: 298
Keep MC minimized/background during Pause/Play command
« on: August 01, 2016, 01:52:26 pm »

I'm using a Microsoft Natural keyboard and assign the media key for Play Pause to a custom command
Code: [Select]
"...\J River\Media Center 22\Media Center 22.exe" /Pause
However, MC always jumps to foreground focus when the media key is pressed.  I use the command line option because the Windows system call will invert the play state of any media app that is running which will just change what is playing rather than the intended stoppage of content.  Is there a switch I can add to the command that will cause MC to remain minimized or in the background?
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2661
Re: Keep MC minimized/background during Pause/Play command
« Reply #1 on: August 01, 2016, 02:01:15 pm »

You need to call the C:\Windows\System32\MC22.exe executable, not the MC application.
Logged

RedJ

  • Galactic Citizen
  • ****
  • Posts: 298
Re: Keep MC minimized/background during Pause/Play command
« Reply #2 on: August 01, 2016, 04:00:03 pm »

Much better, thank you.
Logged
Pages: [1]   Go Up