Announcement

Collapse
No announcement yet.

Problem with subtitles on MPHC

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with subtitles on MPHC

    Hello i would ask if someone have problem with implementing this feature in ride runner, i've saw some old treaths about how to use hotkeys with SENDKEY for the commands that mphc has but aren't implemented inside ride runner (for example change track audio of the video, change sub, show/Hide sub and so on)
    Sadly i've read (and tested) that SENDKEY cannot be used with the standard setup of video player, need to load mpc as an external application.
    The problem is that i cannont lunch it as an external application because (i've tested modifing the structure of the video skin) when i go to select video it will not load
    So i was wondering if this problem was fixed during the time or left as it was, there are other ways?
    Thanks for have read

  • #2
    noone had the same trouble?

    Comment


    • #3
      sendkey is only going to send to the "input active" window... i wouldnt use it ever...
      so.. there must be a better way right?

      + Skin Command; "SENDWMCOMMAND;windowname,lparam;wparam"
      windowname can use format of !classname!windowame


      now what is the windowname, i dont know
      what is the value lparam, i dont know
      what is the value of wparam, i dont know

      but once you do, do it!

      not hard to figure out...

      lparam is the command u want to send... look at mpchc!! (Options, keys... ID column)
      wparam is =0

      sendwmcommand;!MediaPlayerClassicW!;xxx;0

      should do it
      where xxx is the command
      like 952 (next audio)

      test in skin tool!!!

      sendwmcommand;!MediaPlayerClassicW!;952;0

      tested, and works when outside of rr, because...
      the player is parented to the rr screen... so... the window will not be able to found as of today...
      i will consider another way possibly looking for the current rr screen's children
      -Thanks
      Mitch
      www.rush2112.net

      "Did you test it in carwings??"

      Sun, Come shine my way
      May healing waters bury all my pain
      Wind, Carry me home
      The fabric of reality is tearing apart
      The piece of me that died
      Will return To live again

      Comment


      • #4
        thanks very much mitch, you're like the light in the dark lol never saw abou that command i just looked the history of april 2011 and read this "sendwmcommand", and i found that by googling
        I tested it with SkinTool the command line you give me "sendwmcommand;!MediaPlayerClassicW!;952;0" but it's not working i also tested a simplest command (play/pause 889) with this line "sendwmcommand;!MediaPlayerClassicW!;889;0"
        I tested also with winodw name as: Media Player Classic Home Cinema - v1.5.2.3456
        This is the code used in video_player.skin file for embed it: C,0,60,800,262 (the skin idle for 1 sec then show off if mouse don't change position)

        The version of ride runner i'm using is the last one from 03-02-12
        Can't figure out what's the problem of the command, maybe the window syntax is wrong?

        ps: This is the list of commands if someone need it http://www.autohotkey.net/~specter33...20Commands.txt

        Comment


        • #5
          like i said, it wont work, once a programs window is parented
          if you dont know what that means, its a WINDOWS OS thing...

          re-read my post...
          -Thanks
          Mitch
          www.rush2112.net

          "Did you test it in carwings??"

          Sun, Come shine my way
          May healing waters bury all my pain
          Wind, Carry me home
          The fabric of reality is tearing apart
          The piece of me that died
          Will return To live again

          Comment


          • #6
            actually i added some support for parented windows month or so ago...
            hmm

            i see.. ok, you have a PM
            Last edited by mitchjs; 03-29-2012, 09:37 PM.
            -Thanks
            Mitch
            www.rush2112.net

            "Did you test it in carwings??"

            Sun, Come shine my way
            May healing waters bury all my pain
            Wind, Carry me home
            The fabric of reality is tearing apart
            The piece of me that died
            Will return To live again

            Comment

            Working...
            X