Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Adding program with arguments to Media Center Studio

08 Feb 2010   #1

Windows 7 RC
Adding program with arguments to Media Center Studio

Evening all. I've found this place to be of great help in the past, and haven't had the need to ask for help until now.

Simple setup: LCD TV connected via VGA, LCD Projector connected via HDMI. 2 individual desktops setup with different resolutions.

Requirement: I needed a way to switch media center from the LCD to the Projector easily (for the missus's use & general functionality). To achieve this, I found a program called MurGeeMon, which allowed me to create a hotkey combination to switch the Foreground window (Media Center) to the 2nd display, and vice versa. I set the same hotkey for both commands, and it works a treat, with the ctrl + P hotkey moving MC to the Projector & back again as many times as I want. Within MurGeeMon, there's also an option to create a desktop shortcut for this hotkey.

To automate this, as the media center has a remote, not a keyboard, I needed a quick easy way to automate this command without using a keyboard - this is where Media Center Studio comes into it. I used Media Center Studio to add in a new strip, and then add the hotkey shortcut created by MurGeeMon...this is where I've hit a bit of a brick wall...

Problem...When Media Center is running, and I hit ctrl + P (via directly connected keyboard or VNC remote connection) it switches perfectly - so I know MurGeeMon works as I'd like it to. When I try and add this shortcut into Media Center via Media Center Studio, I cannot for the life of me get it to work. I've tried multiple ways to set this up and the best I've gotten is for media center to minimize and then maximize on the same display.

The shortcut created by MurGeeMon just points directly to its executable file with 11 written after it - which is the number of the hotkey combination within the program (it has around 20 options for hotkey commands, # 11 is to shift the Forground window to the next monitor that I've defined) SO...I guess what I'm chasing is some clarification as to what to write in the Target and Argument fields of Media Center Studio when creating this "program" to run.

Location is C:\Program Files\MurGeeMon\MurgeeMon.exe. Shortcut command for my hotkey links directly to this file with an "11" argument on the end, resulting in the target being "C:\program Files\MurGeeMon\MurGeeMon.exe" 11

With just 11 behind it, I can't get any sort of combination to work when I enter 11 in the argument field eg: -11, /11, 11, "11", ect. ect. I can't even point Media Center Studio directly to the shortcut link as that results in the same problem.

I know it's a long spiel with multiple programs being used, but I just can't see why this won't work when physically pressing the hotkey combo, or double-clicking the shortcut works just fine - it has to be the way I'm telling the program/shortcut to execute when in Media Center.

Any help greatly appreciated!

My System SpecsSystem Spec
09 Feb 2010   #2

Windows 7 RC

Nevermind - I got it sorted :)
My System SpecsSystem Spec

 Adding program with arguments to Media Center Studio

Thread Tools

Similar help and support threads
Thread Forum
Media Center won't record one particular scheduled program
Running Win 7 media center for DVR for a few weeks now and it generally works great. I have several series set to record the entire season, new shows only. I picked the shows on the guide and clicked "record series". The one issue I am having is that it fails to record "The Blacklist". It...
Media Center
Media Center Studio - Revival
In an attempt to revive Media Center Studio I've massaged the original binaries into code ;) What's done: I've rewritten the 4 class libraries I spent the better part of a week rewriting most of the XAML I've created a solution with everything in it I've uploaded all of the source to GitHub
Media Center
Media Center Studio - Gone?
The site is down. Anyone know of anywhere else you can get MediaCentreStudio? Or just a temp problem do you think?
Media Center
UPnP Search Fails when adding Xbox 360 Media Center Extender
First off, I've spent a week searching for a solution to this so if I've missed something obvious I apologize. My xbox has been connected as a media center extender to this computer and router combination for several months now. The router is a Buffalo WZR-HP-G300NH. Earlier this week the...
Network & Sharing
Adding Windows Media Center to 'open with' list
When you right click on a file, you are given an option of what program to use to open the file type with using 'open with' options. I am attempting to open an 'avi' video file with 'Windows Media Center' but the option is not there. Windows Media Player is there as well as a few others. I don't...
Media Center

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:45.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App