INTERACT FORUM

Please login or register.

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

Author Topic: I need an example on MCC_KEYSTROKE -command  (Read 5646 times)

joelh

  • Member
  • *
  • Posts: 1
I need an example on MCC_KEYSTROKE -command
« 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?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: I need an example on MCC_KEYSTROKE -command
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: I need an example on MCC_KEYSTROKE -command
« Reply #2 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.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: I need an example on MCC_KEYSTROKE -command
« Reply #3 on: November 26, 2007, 02:15:12 pm »

Girder can target Keystrokes to a particular window even if it isn't in the foreground.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: I need an example on MCC_KEYSTROKE -command
« Reply #4 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
Logged
Pages: [1]   Go Up