INTERACT FORUM

Please login or register.

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

Author Topic: MC and scripts  (Read 847 times)

BradC

  • World Citizen
  • ***
  • Posts: 207
MC and scripts
« on: February 02, 2013, 02:55:11 am »

HI

Is there any way to get MC to run a script (or external program) internally on startup and closure?

I wish to set the RME mixer to a specific preset for MC. I can do this via MIDI.

I could do what I want via powershell, but it would be neater if MC could run the external command itself.

Brad
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: MC and scripts
« Reply #1 on: February 02, 2013, 11:03:31 am »

You could start MC with a batch file that does some stuff before launching the program.
Logged
Matt Ashland, JRiver Media Center

BradC

  • World Citizen
  • ***
  • Posts: 207
Re: MC and scripts
« Reply #2 on: February 02, 2013, 08:03:36 pm »

ok thanks

I know how to do what I want with a powershell script that can also change the mixer back when MC exits. It's just a bit of a pain, as I have to redirect shortcuts etc to make it robust.

It would've been neater if MC could've run scripts.

Ideally it would run a script (in my case a MIDI command) at each switch to a zone.

The origin of my problem is that to use internal volume and convolution filters, I need to turn the mixer volume up almost to max. This is a problem for using apps outside of MC (eg games), so I need to turn the mixer volume back down to sane levels.

Is there an alternative approach?
Logged
Pages: [1]   Go Up