Skin: XML Button mit 2 funktionen ?! (1 Viewer)

Homer J. S.

Portal Pro
December 31, 2007
75
2
Nürburgring - Germany
Home Country
Germany Germany
Hallo MediaPortal Community.

Meine anliegen ist, mit einem Button unter XML 2 Aktionen nacheinander auszuführen.


So ist der BasicHome Button orginal:

<control>
<description>basichome button button</description>
<type>button</type>
<id>26</id>
<posX>144</posX>
<posY>3</posY>
<width>65</width>
<height>55</height>
<textureFocus>nav_refresh_focus.png</textureFocus>
<textureNoFocus>nav_refresh_nofocus.png</textureNoFocus>
<label>-</label>
<action>115</action>
<onleft>21</onleft>
<onright>22</onright>
<onup>26</onup>
<ondown>2</ondown>
</control>


So hätte ich das gerne.... (hier würde vorher ein Stop ausgeführt ,dann 10 ms gewartet und dann der Homescreen aufgerufen)

<control>
<description>basichome button button</description>
<type>button</type>
<id>26</id>
<posX>144</posX>
<posY>3</posY>
<width>65</width>
<height>55</height>
<textureFocus>nav_refresh_focus.png</textureFocus>
<textureNoFocus>nav_refresh_nofocus.png</textureNoFocus>
<label>-</label>
<action>13</action>
<wait>WAIT 10 MS</wait>
<action>115</action>

<onleft>21</onleft>
<onright>22</onright>
<onup>26</onup>
<ondown>2</ondown>
</control>

...aber so funktioniert der Code natürlich nicht.

Wie müsste es richtig aussehen ?
Könnte ich auch ein Programm (*.exe) mit dem Button ausführen ?

Ich bedanke mich schon mal für eure bemühungen.

Gruß
Homer J. S.
 

Users who are viewing this thread

Top Bottom