Multishortcut plugin to execute programs from home menu! (1 Viewer)

Status
Not open for further replies.

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,884
    1,956
    South of France
    Home Country
    France France
    THIS POST HAS BEEN MOVED FROM #320 TO #1
    - Spragleknas


    really great plugin/hack! Searched quite a while for something like that.
    Hi,
    Well, I don't consider it as a hack cause, MultShortcut provide its own plugin and, hack it to grant many shortcuts.
    Therefore, MultShortcut doesn't need some modified MP dll.

    But... I've got one little question/request:

    This plugin is would be absolutely perfect to use in combination with TrueCrypt. e.g. I set up your plugin to execute "TrueCrypt.exe" with corresponding parameters listet in the TrueCrypt Manual.

    The parameters of course had to end with ..../p "mypassword"

    It would be perfect if we could set up the plugin to add the arguments which are typed with the onscreen Keyboard to the arguments already filled in the configuration.

    ATM the arguments just replaced if your set the OSK.

    Does anybody understand what I mean? :)
    I believe I understand what you mean and, it's a good idea.
    Then, why not trying this new MultiShortcut 1.7 version then ? ;)

    A new thread is created for MultiShortcut plugin.
    Please, post there.
    Here is the link :
    https://forum.team-mediaportal.com/mediaportal-plugins-47/multishortcut-plugin-75305/#post552910
     

    Attachments

    • MultiShortcut.rar
      30.6 KB

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    49
    Home Country
    Greece Greece
    This is a great new plugin that ALLOWS FOR (MULTIPLE) MENU ITEMS, EACH ONE CALLING THE EXECUTABLES YOU WANT! It's the one vital feature missing from MP!

    IT CAN EVEN WORK WITH BATCH FILES OR LINK (shortcut) FILES, if you need to pass parameters! I even called an .scr file (screensaver)!

    NOTE that this plugin is more of a hack, since it implements dynamic ID manipulation that is not normally supported from MP. It all comes as a temporary (?) solution until someone rewrites "Home" plugin to support calling external programs (like it should from version 0.0001).

    Here are the instructions:

    1) Unpack zip archive (duh!)...

    2) Copy the file "DllFix.exe" to you MediaPortal\Plugins\Window directory.

    3) For every button you want:

    3.1) Copy file MultiShortcut.dll to MediaPortal\Plugins\Window directory.

    3.2) Rename it the way you want it (just keep the .dll).

    3.3) Repeat 3.1/3.2 for any extra buttons you want.

    4) After you've copied all the DLLs you want, start DLLFix.exe. NOTICE: DLLFix needs to be run from a local drive and has to be in the same directory as the MultiShortcut DLLs (if you did 2 and 3 correctly, this is the case anyway).

    5) Start MP configuration.

    5.1) Find your plugins (under Window plugins - I prefer to name them MS-something.dll, so to keep them all together, but you can name them as you want, DLLFix will find them anyway).

    5.2) Configure each one (the config form is self explanatory - remember you don't need quotes in the "exefile", and although it says "exefile" it really means full path along with the file, that doesn't need to be an exe)

    5.3) Go to Home plugin and add the plugins you just created and configured, wherever you want.

    6) Close MP configuration (wow! a complex step, I know)...

    ...that's it... go in MP and try things out!

    The author didn't really want to make this plugin for himself or really maintain it. So if you find some major bug, report it in the thread, or find him in IRC (with the nickname you see in the plugin) and he MAY help you out (or me). Note again: that he doesn't really have any intention to maintain the plugin, just created a hack (that gets the job done) because I asked him to and found his soft spot. :D

    (you will find the file in plugins/automation when it gets approved and I will edit this post to have the appropriate link)
     

    mzemina

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,065
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    Is that what you are calling it? Multishortcut plugin? Just checking.

    Mike
     

    MrMartin

    Portal Member
    October 27, 2005
    23
    1
    Great plugin!

    Thanks for a great plugin!

    I just started to use it to get a "Play DVD" buttom in home menu.
    The script buttom is starting my external DVD player ZoomPlayer.
    It actually works - but the problem is now that the program doesnt start ON TOP. I use "Mediaportal Always on top" because otherwise my MCE remote stops working from time to time.
    So for now - i cant see Zoomplayer until i close MP :(

    So now i wonder - how to start an application ON TOP / FOCUSED ?

    Thanks in advance
    Martin
     

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    49
    Home Country
    Greece Greece
    this is not a problem related to the plugin - if you chose mp to stay on top, it will... so stop doing it and find some way to keep it on focus when needed (or make the remote talk to that window all the time - try girder)
     

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    49
    Home Country
    Greece Greece
    Well in fact Tobias listened to your request and released a fix (go to the file section and get it), that I have not tested yet.

    There is now a new flag, which if you set to true, it tries to minimize MP while the other program runs (and restores it after that).

    Also there is a default caption "-unnamed-".
     

    MrMartin

    Portal Member
    October 27, 2005
    23
    1
    NLS said:
    Well in fact Tobias listened to your request and released a fix (go to the file section and get it), that I have not tested yet.

    There is now a new flag, which if you set to true, it tries to minimize MP while the other program runs (and restores it after that).

    Also there is a default caption "-unnamed-".

    Wow! Thanks a lot man! Sounds great

    I will test it out as soon as i get home today :)

    Martin

    EDIT: It works perfectly as i requested :D:D:D Really appretiate your effort! Thanks a lot again!
     

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    49
    Home Country
    Greece Greece
    :oops: 8)
     

    smnnekho

    Retired Team Member
  • Premium Supporter
  • February 6, 2006
    507
    7
    40
    Germany
    really great stuff. love to use it for several stuff. mostly i use it for several web-stuff, eg my cinemas actual programm or the calling-list from my fritzbox via fullscreen browser with large fonts....

    i know the author does not really intend to maintain the plugin and i#m okay with it as it is working fine anyway, but one feature would be cool:

    if you determine a specific URL in the arguments field, would it be possible to add, lets say a %$% or sth similar as a variable for sth you can enter in MP? to be clear:

    i set firefox as exefile, and in the arguments it set -fullscreen -URL "http://en.wikipedia.org/wiki/%$%" and when i call it mp i can enter anything for "%$%" so that i have sth like the wikipedia plugin, just as a webbrowser though(-;... could be used with google and in fact with everything else..

    would be great, just if it is not that much of work (cause in fact i have no idea of coding, the things that seem most easy are often very complicated (-; ]
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom