INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: joelh on November 20, 2007, 02:06:21 pm

Title: I need an example on MCC_KEYSTROKE -command
Post by: joelh on November 20, 2007, 02:06:21 pm
Hi Im using jrmc on my secondary monitor while Im using my first for other stuff, I simply want to use my remote-controll to send a up, down, left, right and enter stroke to jrmc. I tried to use the MCC_KEYSTROKE command to send a keystroke to jrmc while I have other programs in the foreground with no results at all. Could someone give me an working example of how to us MCC_KEYSTROKE command with the mentioned keys?
Title: Re: I need an example on MCC_KEYSTROKE -command
Post by: Matt on November 23, 2007, 10:32:39 am
I'm not sure what keys you can send with this command.  I'll try to follow-up next Monday when we're back in the office.
Title: Re: I need an example on MCC_KEYSTROKE -command
Post by: Matt on November 26, 2007, 12:06:54 pm
MCC_KEYSTROKE simulates a keyboard press, but it does not target Media Center.

The keystroke will go to whatever window is currently focused.
Title: Re: I need an example on MCC_KEYSTROKE -command
Post by: glynor on November 26, 2007, 02:15:12 pm
Girder can target Keystrokes to a particular window even if it isn't in the foreground.
Title: Re: I need an example on MCC_KEYSTROKE -command
Post by: mark_h on May 11, 2010, 06:04:57 am
MCC_KEYSTROKE simulates a keyboard press, but it does not target Media Center.

The keystroke will go to whatever window is currently focused.

Just hit this problem myself.  Trying to build a simple BAT file to automate exporting of some playlists.  Things are fine up to the point that MC wants me to hit OK.  Is there anyway to get the keystrokes to MC from a BAT file??

Cheers,

Mark