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

Status
Not open for further replies.

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    4,594
    613
    South of France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #1
    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

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    46
    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
    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
    46
    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
    46
    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
    46
    Greece Greece
    :oops: 8)
     

    smnnekho

    Retired Team Member
  • Premium Supporter
  • February 6, 2006
    507
    7
    36
    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

    Similar threads
    OP Title Forum Replies Date
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    C Issue with plugin initialisation My TVSeries 7
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 10
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 11
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10

    Similar threads

    Top Bottom