waner_garouche Posté(e) 22 février 2006 Share Posté(e) 22 février 2006 Bonsoir, j'ai édité le fichier DialogSubMenu.xml afin de placer des raccourcis python sur la page de xbmc, mais j'ai un prob: je peux acceder au deux en bas (meteo france et cinoche) mais pas au dernier en haut (meteo paris). En plus quand je passe de "cinoche" à "meteo france", je ne peux plus redescendre sur "cinoche" le curseur disparait. Passionant tout ça me direz-vous, mais bon pour une brêle comme moi en info je suis déjà content d'avoir réussit à faire ça et j'aimerais bien en ajouter d'autres <window> <id>105</id> <visible effect="fade" time="200" start="hidden">Window.IsActive(105)</visible> <!-- Change the defaultcontrol ID to have another button focussed when !--> <!-- you bring the panel up. !--> <!-- (look for this tag: <id>1123</id> on the button u want to focus) !--> <defaultcontrol>1109</defaultcontrol> <type>buttonMenu</type> <coordinates> <system>1</system> <posX>500</posX> <posY>70</posY> </coordinates> <controls> <control> <type>image</type> <id>0</id> <posX>10</posX> <posY>15</posY> <width>160</width> <height>440</height> <texture>subpanel.png</texture> </control> <!-- To add another button to the submenu, just put in your hyperlink, !--> <!-- give it the desired label and set visible to YES! !--> <!-- To link direct to a script,xbe/audio/video file use (eg): !--> <!-- <execute>F:\Emulators\ScummVMx\default.xbe</execute> !--> <!-- To link to a XBMC screen use !--> <!-- <execute>XBMC.ActivateWindow('ID here')</execute> !--> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1123</id> <label>-</label> <posX>30</posX> <posY>110</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1123</onleft> <onright>1123</onright> <onup>1109</onup> <ondown>1122</ondown> <align>center</align> <textOffsetY>-1</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1122</id> <label>-</label> <posX>30</posX> <posY>130</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1122</onleft> <onright>1122</onright> <onup>1123</onup> <ondown>1121</ondown> <align>center</align> <textOffsetY>-1</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1121</id> <label>-</label> <posX>30</posX> <posY>150</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1121</onleft> <onright>1121</onright> <onup>1122</onup> <ondown>1120</ondown> <align>center</align> <textOffsetY>-1</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1120</id> <label>-</label> <posX>30</posX> <posY>170</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1120</onleft> <onright>1120</onright> <onup>1121</onup> <ondown>1119</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1119</id> <label>-</label> <posX>30</posX> <posY>190</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1119</onleft> <onright>1119</onright> <onup>1120</onup> <ondown>1118</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1118</id> <label>-</label> <posX>30</posX> <posY>210</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1118</onleft> <onright>1118</onright> <onup>1119</onup> <ondown>1117</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1117</id> <label>-</label> <posX>30</posX> <posY>230</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1117</onleft> <onright>1117</onright> <onup>1118</onup> <ondown>1116</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1116</id> <label>-</label> <posX>30</posX> <posY>250</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1116</onleft> <onright>1116</onright> <onup>1117</onup> <ondown>1115</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1115</id> <label>-</label> <posX>30</posX> <posY>270</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1115</onleft> <onright>1115</onright> <onup>1116</onup> <ondown>1114</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>Scripts button</description> <visible>yes</visible> <type>button</type> <execute>F:\logiciels\xbmc\scripts\MyCine83\MyCine83.py</execute> <id>1109</id> <label>cinoche</label> <posX>30</posX> <posY>390</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1109</onleft> <onright>1109</onright> <onup>1110</onup> <ondown>1123</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>Scripts button</description> <visible>yes</visible> <type>button</type> <execute>F:\logiciels\xbmc\scripts\My Meteo\XBMC\scripts\MyMeteo08\France-Meteo08.py</execute> <id>1110</id> <label>meteo france</label> <posX>30</posX> <posY>370</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1109</onleft> <onright>1109</onright> <onup>1110</onup> <ondown>1123</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> <control> <description>Scripts button</description> <visible>yes</visible> <type>button</type> <execute>F:\logiciels\xbmc\scripts\My Meteo\XBMC\scripts\MyMeteo08\Paris-Meteo.py</execute> <id>1111</id> <label>meteo paris</label> <posX>30</posX> <posY>350</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1109</onleft> <onright>1109</onright> <onup>1110</onup> <ondown>1123</ondown> <align>center</align> <textOffsetY>0</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> </controls> </window> merci ++ Lien vers le commentaire Partager sur d'autres sites More sharing options...
JaHeLL Posté(e) 23 février 2006 Share Posté(e) 23 février 2006 'lo, c'est pas une histoire de script, mais plutot de "skinning" sujet déplacé dans la section appropriée... a+ Lien vers le commentaire Partager sur d'autres sites More sharing options...
cyber warrior Posté(e) 23 février 2006 Share Posté(e) 23 février 2006 Je pense que nous avons un peu le même style de problème : http://gueux-forum.net/index.php?showtopic=97417 Soyons patient ... JaHeLL m'a dit qu'il allait me (donc nous) répondre ... Le temps qu'il finisse ses multiples développements de skin je pense ... Be patient ... to be continued ... lol Lien vers le commentaire Partager sur d'autres sites More sharing options...
JaHeLL Posté(e) 23 février 2006 Share Posté(e) 23 février 2006 'lo, je peux acceder au deux en bas (meteo france et cinoche) mais pas au dernier en haut (meteo paris).En plus quand je passe de "cinoche" à "meteo france", je ne peux plus redescendre sur "cinoche" le curseur disparait. a premiere vue comme ça, c'est un probleme d' ID des boutons, regarde la correspondance en tres les ID : <control><description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1122</id> <label>-</label> <posX>30</posX> <posY>130</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1122</onleft> <onright>1122</onright> <onup>1123</onup> <ondown>1121</ondown> <align>center</align> <textOffsetY>-1</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> et les onup/ondown: <control><description>SubMenu button</description> <visible>no</visible> <type>button</type> <execute>q:\scripts\-.py</execute> <id>1122</id> <label>-</label> <posX>30</posX> <posY>130</posY> <width>110</width> <height>20</height> <font>font101</font> <onleft>1122</onleft> <onright>1122</onright> <onup>1123</onup> <ondown>1121</ondown> <align>center</align> <textOffsetY>-1</textOffsetY> <textureNoFocus>-</textureNoFocus> </control> il faut que celles ci correspondent, c'est ce qui permet la navigation, au pire reprends ton truc depuis le debut sur un *.xml tout neuf, Soyons patient ... JaHeLL m'a dit qu'il allait me (donc nous) répondre ... vivi, promis, j' ai pas mal de taf, là, je vais essayer de faire une réponse qui pourra servir ultérieurement, je m 'y mettrais "au calme" pour que ça soit pas l 'embrouille ^_^ Apres, bien sûr, ça ferait plaisir de voir quelqu 'un qui se lancerait là dedans... allez on s 'motive les gars ! a+! Lien vers le commentaire Partager sur d'autres sites More sharing options...
schumpopo Posté(e) 24 février 2006 Share Posté(e) 24 février 2006 (modifié) Salut, Je vais peut etre dire une betise mais avez vous tester Submenu editor ? Ce script vous permet de modifier votre DialogSubmenu.xml à partir de XBMC le tout en interface graphique . ++ Submenueditor.rar Modifié 24 février 2006 par schumpopo Lien vers le commentaire Partager sur d'autres sites More sharing options...
waner_garouche Posté(e) 24 février 2006 Auteur Share Posté(e) 24 février 2006 je viens de d'installer le script submenueditor mais quand je le lance il me dit: file "dialogSubMenu.xml" not found in the current Skin Project Mayhem III beta\! donc j'ai copié le fichier dialogSubMenu.xml dans xbmc/skin/Project Mayhem III beta/pal/ (j'ai crée le dossier pal) mais bon ça marche pas. Par contre je sais plus si mon fichier est celui d'origine ou un modifié. D'autre part j'ai l'impression que le dossier Project Mayhem III beta est un peu vide comparé à Project Mayhem III, donc il faut peut être que j'installe qlqcse? Bref j'y arrive pas Lien vers le commentaire Partager sur d'autres sites More sharing options...
cyber warrior Posté(e) 24 février 2006 Share Posté(e) 24 février 2006 Non mais moi ça à rien à voir en fait ... http://gueux-forum.net/index.php?showtopic=97417 Lien vers le commentaire Partager sur d'autres sites More sharing options...
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant