Kodi Community Forum

Full Version: Setting the default button scroller selection thorugh skin setting.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys,

Trying to figure out away to do this... Any ideas?

...
<defaultbutton>SOME VARIABLE* SET AS A SKIN SETTING</defaultbutton>
...
..
.
<button id="SOME VARIABLE1 SET AS A SKIN SETTING">
<label>0</label>
<onclick>ActivateWindow(MyPrograms)</onclick>
</button>

<button id="SOME VARIABLE2 SET AS A SKIN SETTING">
<label>2</label>
<onclick>ActivateWindow(MyMusic)</onclick>
</button>

<button id="SOME VARIABLE3 SET AS A SKIN SETTING">
<label>3</label>
<onclick>ActivateWindow(MyVideos)</onclick>
</button>

Hades_666
That's not supported. The button id's needs to be a number. The default button is then references the button id you want to see when its initially rendered.