MP Tray configurable command (1 Viewer)

yoavain

Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    47
    Home Country
    Israel Israel
    I think there should be an option to configure some other remote control buttons to trigger the MP Tray to do tasks when MP is not running. For example, I would like an option to switch to a different monitor (but I guess making the tasks configurable is better).

    I'm running MP on a PC with 2 monitors.
    Every time I go to the living room to start MP with the remote, I first need to switch displays. (I also use MP on the other monitor when programming and debugging)

    At first, I used WIN+P.
    Then I found out there are switches that can be used with its executable DisplaySwitch.exe (under system32 folder).
    Code:
    Switches to External or "Projector" Display Immediately
    [B][I]DisplaySwitch.exe /external[/I][/B]
    Switches to "Computer only" Display Immediately
    [B][I]DisplaySwitch.exe /internal[/I][/B]
    Switches to "Duplicate" Display Immediately
    [B][I]DisplaySwitch.exe /clone[/I][/B]
    Switches to "Extend" Display Immediately
    [B][I]DisplaySwitch.exe /extend[/I][/B]
    So I created scripts, but still I need to use the keyboard before using the remote.

    Anyone else would like to see this feature?
    :D


    Edit:
    Well, took me a couple of minutes but managed to do it myself.
    Code of mediaportal\MPTray\program.cs in the next post.

    No patch file, since I'm still not a GIT pro.
    I'll be glad if someone help me create a patch and submit it properly...

    Would appreciate if someone from the development team contact me regarding this.
    :D
     

    yoavain

    Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    47
    Home Country
    Israel Israel
    • Thread starter
    • Moderator
    • #2
    Edit: Now with the attachment hopefully...
     

    Attachments

    • Program.zip
      3.8 KB

    yoavain

    Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    47
    Home Country
    Israel Israel
    • Thread starter
    • Moderator
    • #3
    Added design image:

    2nvthu.png


    Full size: http://i39.tinypic.com/24qsh93.png
     

    yoavain

    Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    47
    Home Country
    Israel Israel
    • Thread starter
    • Moderator
    • #5
    This is exactly what I have been looking for. Any chance you could upload the executable of this?

    Cheers

    Paul

    :D

    Sorry Paul,

    I could have uploaded the executable, but that will miss the entire point of this thread. I want this to be integrated in MP, and for that I need a few supporters like you, to help me convince the official developers this is needed. You as a donator might have better influence ;).
    Anyway, I am not going to post executable, sorry.

    Yoav
     

    Users who are viewing this thread

    Top Bottom