ShortCut'er Plugin - Shortcuts for the MP sections

Discussion in 'MediaPortal 1 Plugins' started by MoPhat, December 18, 2007.

  1. MoPhat
    • Team MediaPortal

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    Home Country:
    Switzerland Switzerland
    [DEVELOPMENT WILL BE CONTINUED HERE]

    FINAL RELEASE 1.0 NOW AVAILABLE!

    This plugin let you create keryboard shortcuts to any screen like myDVD, TV etc...

    You can also create shortcuts like CTRL + SHIFT + [KEY] !!! :p

    Just put the ShortCuter.dll in the plugin / process folder and let me know if its works for you.




    Update 11.11.2011
    Uploaded 1.2.0+ compatible version

    Update 24.08.2009
    - Compiled against the MP1.1 Alpha version (ShortCuter_MP1.1.rar)

    Update 24.3.2008
    - Release 1.0 (final) are now available!
    - New sources and plugin attached
    - Its now possible to use CTRL + SHIFT with some keys

    Update 8.2.2008
    - its now possible to add new shortcuts
    - New sources and plugin attached
    - i have not found yet a solution to implement that 3 keys at the sametime are detected in MP like CTRL+ALT+X, if anyone has a tip...give it to me :D

    Update 18.12.2007:
    - the Sources are now attached here
    - a compiled version is also attached


    feel free to check the sources an give feedback how to solve this ;) SC_Screenshot.jpg

    greetz
    MoPhat

    [DEVELOPMENT WILL BE CONTINUED HERE]
     

    Attached Files:

    Last edited by a moderator: August 2, 2015
    • Like Like x 35
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    MoPhat,

    thanks a lot for this great plugin. It seems it will solve all my keyboard/remote problems.

    In any case I suggest to put those shortcut in the main MP code so all users are not forced to download an external dll to have all My* keys work.

    Will post my feedback this evening , after a try in real life...

    Simone
     
    • Like Like x 1
  4. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    MoPhat,

    I'm trying to test your shortcut, but with Imon I have some difficulties mapping the choiced keys.
    Can you change them using something like:

    Home = Ctrl + h
    Tv = Ctrl + t
    Tv Full = Ctrl + Shift + t = Ctrl + T
    Teletext = Ctrl + e
    Teletext Full = Ctrl + Shift + e = Ctrl + E
    Movies = Ctrl + v
    Movies Full = Ctrl + Shift + v = Ctrl + V
    Radio = Ctrl + r
    Music = Ctrl + m
    Pictures = Ctrl + p
    Tv guide = Ctrl +g
    Weather = Ctrl + w

    Thanks in advance.

    Simone
     
  5. MoPhat
    • Team MediaPortal

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    Home Country:
    Switzerland Switzerland
    chemelli

    Check version 1.0 in the first post.
    you can now set the keys for the shortcuts - i hope this solves your problems :p

    With my iMon remote control, i have no problems with the remote keys.


    => sorry its not possible for this moment to use 2 keys like Ctrl + h or similar :mad:

    greetz
    MoPhat
     
  6. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    MoPhat,

    thanks a lot for the quick update, but how to do configure iMON software to handle semigraphic char like the one in the first post ?

    Can you be so kind to attach your .IMO file ?
    Simone
     
  7. MoPhat
    • Team MediaPortal

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    Home Country:
    Switzerland Switzerland
    Please use the new bug-fixed version 1.1 and the imo file, this works well for me :p

    MoPhat
     
  8. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy

    In the Generic Keyboard Plugin source I found this:

    ---------- KEYBOARD.XML
    <button name="DVD/Menu" code="11077">
    <action layer="0" condition="PLAYER" conproperty="DVD" command="ACTION" cmdproperty="91" sound="cursor.wav" />
    <action layer="0" condition="PLAYER" conproperty="DVD" command="ACTION" cmdproperty="92" sound="cursor.wav" />

    ----------
    give it a try :)

    Simone
     
  9. MoPhat
    • Team MediaPortal

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    Home Country:
    Switzerland Switzerland
    thanks chemelli, but that's not that what i need :(

    I need the ID from the XML file in the skin folder like this one:

    Code (Text):
    1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    2. <window>
    3. [COLOR="Red"][B]  <id>6</id>[/B][/COLOR]
    4.   <defaultcontrol>2</defaultcontrol>
    5.   <allowoverlay>yes</allowoverlay>
    6.   <define>#header.label:134</define>
    7.   <define>#header.image:videos_logo.png</define>
    8.   <define>#header.hover:hover_my videos.png</define>

    Its anywhere in the mymovies files, but i have not found yet.


    does this version work for you?

    thanks
    MoPhat
     
  10. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    MoPhat,

    I'm not at home now to make a full test, but it seems to work really fine ;-) Thanks for your work.

    I found this peace of code in C:\SourceMP\MediaPortal\MediaPortal.Base\skin\BlueTwo wide\settings_dvd.xml:

    Code (Text):
    1.  
    2. [LEFT]<?xml version="1.0" encoding="utf-8" standalone="yes"?>
    3. <window>
    4.   <id>[COLOR="Red"][B]704[/B][/COLOR]</id>
    5.   <defaultcontrol>24</defaultcontrol>
    6.   <allowoverlay>yes</allowoverlay>
    7.   <define>#header.label:6015</define>
    8.   <define>#header.hover:hover_my videos.png</define>[/LEFT]
    Hope this helps.

    Simone
     
  11. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    MoPHat,

    I have your solution up and running with the same issues I have on MyKeys actually ;-(
    no MyDVD and keys overlap other keys...

    Is it possible for you to share the code ? I would like to add <ctrl> and <alt> identifiers for each key. This will give users the option to enable them and translate a "T" to "Ctrl+T" or "Ctrl+Alt+t" that will not interfere with others plugin keys...

    Thanks again for your work and time.

    Simone
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!