MyMenu (1 Viewer)

packstlauren

MP Donator
  • Premium Supporter
  • November 26, 2006
    87
    50
    Home Country
    France France
    Re: New Plugin : MyMenu

    New version 1.2 !! Now you can add commands to switch screen with window Id.

    Please test it and make feedback (good or bad :) )

    Pack
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    Re: New Plugin : MyMenu

    Any chances to get the source code?
     

    cubii

    Portal Pro
    November 1, 2006
    627
    32
    50
    AW: New Plugin : MyMenu

    hallo packstlauren, it s me again:

    How does the window thing work?

    I look up the id here: Window IDs - MediaPortal Wiki ?

    make an ne activate window thing, ad the window id from above, change the name...ready?

    In the xml file, the window id gets not saved : <actions type="activateWindow" name="New Action" xmlns=""/>.... thats all

    If i manualy insert the window id afte xmlns only my plugins opens...

    What do i wrong?
     

    packstlauren

    MP Donator
  • Premium Supporter
  • November 26, 2006
    87
    50
    Home Country
    France France
    Re : New Plugin : MyMenu

    Hi cubii,

    I think that you should have something wrong on your system. For me everythings is ok, the xml configuration file is saved everytime i press "save".
    For the windowId you have to check in your skin configuration. I just tried with the ID 0 for MyHome and it works fine.


    Pack

    My fault, your right, there somes bugs.

    I tried to fixe it and update a new version.

    Pack
     

    packstlauren

    MP Donator
  • Premium Supporter
  • November 26, 2006
    87
    50
    Home Country
    France France
    Re: New Plugin : MyMenu

    OK, now bugs are fixed (I hope ;-)).

    Please try the new version 1.2.1

    Enjoy !

    Pack
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    AW: New Plugin : MyMenu

    Ok thanks i will test the new version, can you give me an example i have no idea. What do I have enter in the config in MEPO into the two fields ?
     

    packstlauren

    MP Donator
  • Premium Supporter
  • November 26, 2006
    87
    50
    Home Country
    France France
    Re : AW: New Plugin : MyMenu

    Ok thanks i will test the new version, can you give me an example i have no idea. What do I have enter in the config in MEPO into the two fields ?

    If you want to use the Activate Window Command, you have to do a right click on a menu (the first for example). In the context menu, you select "add action" and then "activate window".

    You can observe that your menu has been added of a new command named "New Action". When you select this new command in the tree, you can see two text boxes in the right panel :
    - one for the name of the command (that what you will see in the menu in MEPO) (ex : Goto to Picture)
    - one for the window id, you have to provide the window id you want to activate. (ex 2, i.e. the ID of the Picture screen)

    When you have finished to configure your command click on the "Validate" button, otherwise you will lost your changes.


    For an "Execute Command" it is the same, but in the right panel you have 3 text boxes :
    -one for the name of the command (ex : MyCommand)
    -one for the program you want to launch ( ex c:\foo.exe)
    -one for the arguments of the program ("bar")

    If you want to add submenus, you have to add a Menu to another menu. The submenu is added as a child in the tree. You can rename it, by selecting it and changing his name in the right panel.

    Finally you have to click on "Save" button in order to save the configuration in a config file. Otherwise ALL your modifications will be lost.

    It can't be more simple. ;)

    Pack
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    AW: New Plugin : MyMenu

    ok i will try it and give you feedback, thanks for the sample. Where can i find out the Window ID from the Plugins Window ?
     

    Users who are viewing this thread

    Top Bottom