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

Status
Not open for further replies.

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,232
    2,386
    South of France
    Home Country
    France France
    Thx for this Plugin, i like it but have one problem with it.
    Its dont works with some Programs/Games. For example the SingStar Clone "Ultra Star" or the Game "rFactor".
    Its a directory Problem, that means that the exefile from the program or the game dont start in his Directory so the Program or game dont find the other needet files. Its need a chdir() bevor start the exe.
    Hi chrissooo,
    It's a good idea, I (hope I) will add this feature in the next release.
    Thanks.

    @zicoz : just map a alt+F4 on your remote and, you will be done.
     

    jfcala

    Portal Member
    February 25, 2008
    21
    1
    valencia
    Home Country
    Spain Spain
    hi, i like this pluginis so good, but when i use it with indigo skin all ok but in xface i have the picture in low to the left but not in the photographs central to slide. how can i make it thanks
     

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    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 (-; ][

    I saw this post and is exactly what I'm looking for.
    I'm using poweroff with MP to shutdown (sleep) my PC. Now I have a static setting of 30 minutes before shutdown but I'd really like to enter this everytime I use this, like in a pop up such as described in this post.
    For reference, I already started a new thread on this bit, you can find that here. Thought about making my own plugin (totally clueless though about this) but it seems like something like this could be easily implemented in multishortcut (offcourse I could be way off :))
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,232
    2,386
    South of France
    Home Country
    France France
    @jfcala : did you try ButtonImage and ButtonImageFocus ?

    I'm using poweroff with MP to shutdown (sleep) my PC. Now I have a static setting of 30 minutes before shutdown but I'd really like to enter this everytime I use this, like in a pop up such as described in this post.
    For reference, I already started a new thread on this bit, you can find that here. Thought about making my own plugin (totally clueless though about this) but it seems like something like this could be easily implemented in multishortcut (offcourse I could be way off :))
    hum... I'm not sure to really understand what you want.
    Should this do the trick ?

    What you will write in Virtual Keyboard will be passed to arguments before running program.
    See you.
     

    Attachments

    • config.JPG
      config.JPG
      22.9 KB
    • VK.JPG
      VK.JPG
      40 KB

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    Ok to clarify what I want, these are the arguments passed to poweroff for sleep in x seconds
    standby -warn -warntime 1800 -msg "Scheduled sleep"
    The warntime bit is how much delay till the action is executed (in this case pc goes to sleep). So it would be nice to define this with a variable instead of a static setting of 1800 seconds (which is a half hour, defined in the config of the "sleep.dll" which I created using multishortcut). To clarify I've setup Aeon Wide -> extra menu to have buttons for sleep and others (wakeup / shutdown server).
    The post I quote is exactly what I'm looking for (change a argument value passed to a program while running MP, not just from the "configuration.exe")

    I'm really not sure what you are talking about (talking about miscommuncication). How Am I suppose to get this keyboard while running MP and being in the "extra menu" of aeon wide? How does this virtual keyboard "know" that I want to change argument values of a multishortcut DLL file?
    Or maybe are you suggesting ways how I could write such a plugin myself... I'm confused
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,232
    2,386
    South of France
    Home Country
    France France
    I'm really not sure what you are talking about (talking about miscommuncication).
    Sorry, this is certainly due to my bad english.
    What I tried to explain is MultiShortcut launch a program defined in configuration (with or without defined arguments).
    I thought you just wanted to have the ability to change thoses arguments, when you decided to launch poweroff.
    In your case, it's not easily possible with MultiShortcut cause, you were obliged to type <standby -warn -warntime 900 -msg "Scheduled sleep"> in the Virtual Keyboard.
    And I hope you can understand I can't release a specific MultiShortcut version for your own use only
    i.e. : replace 1800 by the value you type in keyboard, leaving rest of value.

    How Am I suppose to get this keyboard?
    Only if I (or another guy) release a MultiShortcut with this feature or, if many people are interested by this.
     

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    And I hope you can understand I can't release a specific MultiShortcut version for your own use only
    Well, offcourse! I love this plugin so it's just me asking for feautures (new to this plugin anyways) or possibilities! This piece of plugin I couldn't ever write myself with my current programming skills so I really do appreciate it and don't expect all the special requests (such as mine) be answered.

    So this virtual keyboard is not implemented yet. If you'd checkout my other thread you'll see I'm already thinking of brushing up my C# and write this one myself.
    I'm really new anyways with mp, know some skinning by now but never really had a go at writing plugins.

    The reason I want this is cause MP is really missing a good "sleep" feauture. My Alarm is not flexible enough! There has to be a real easy way to get the HTPC to sleep in x minutes (or seconds, hours whatever)... As I see it Poweroff already has all the abilities (and loads more I even don't use) and just wanted something easy and fast to get this going, but it seems that multishortcut isn't going to be able for now. That's too bad but hey might give me the extra impulse to write this plugin myself

    p.s.

    Could be just me being silly here but aren't arguments always passed in the same manner? like:
    "-argumentVariableName ArgumentValue" (note the space). As in:
    -warntime (which is argumentVariableName) 1800 (which is argumentValue)

    If this is the case their could easily be made some kind of generic plugin!
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,232
    2,386
    South of France
    Home Country
    France France
    So this virtual keyboard is not implemented yet.
    You're right, not in the actual release.

    If you'd checkout my other thread you'll see I'm already thinking of brushing up my C# and write this one myself.
    Yep, just take a look at it. Therefore, you quoted smnnekho post, who wanted to have a dynamic Arguments change.

    The reason I want this is cause MP is really missing a good "sleep" feauture. My Alarm is not flexible enough! There has to be a real easy way to get the HTPC to sleep in x minutes (or seconds, hours whatever)...
    The GUIAlarm plugin is a part of MP then, you should ask what you need to MediaPortal Devs but, I suppose they are really busy at the moment.

    Regards.

    Could be just me being silly here but aren't arguments always passed in the same manner? like:
    "-argumentVariableName ArgumentValue" (note the space). As in:
    -warntime (which is argumentVariableName) 1800 (which is argumentValue)

    If this is the case their could easily be made some kind of generic plugin!
    In case of MultiShortcut, it take the entire Arguments you write and, run programs with those Arguments.
     

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    ok, thx framug. It's clear now. Thx again for taking the time to explain!

    I guess this'll be up to me or anyone else who sees and likes the idea (which in itself is kind of a hack anyways :) ).
    I guess the MP staff knows about myalarm not being up to the task (cause it's really useless at it's current state) but maybe I should contact some dev member (what are the proper channels here on mp?).

    I don't see, from my current programming background, how hard this could be to implement... You'd just split up the string with some regex, make your adjustments and their you go.... but then again my c# and dotNet knowledge aren't that great.

    seems like I'm complaining again :) Just me being a critic I guess...

    Just saw Multishortcut is sitting in the SVN dir so nothing stopping me here but free time :)
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,232
    2,386
    South of France
    Home Country
    France France
    Just saw Multishortcut is sitting in the SVN dir so nothing stopping me here but free time :)
    It should not be so difficult, for a J2ME / PHP programmer like you. ;)
    To definitively end this story, I just understand what you mean by "(talking about miscommuncication)".
    This was not the case, I saw your post then, I decided to add VirtualKeyboard feature, maybe for helping you.
    This was instant coding, that's why, I didn't talk about it before. :)
    Bye.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom