2010-08-24, 22:07
maafeustyle Wrote:Hey, well that's progress
What code did you add to startup.xml to have the minute delay?
Thanks ALOT.
matt
This is the test start.xml -
PHP Code:
<window>
<defaultcontrol always="true">10</defaultcontrol>
<allowoverlay>no</allowoverlay>
<controls>
<control type="button" id="10">
<description>Trigger</description>
<posx>-20</posx>
<posy>-20</posy>
<width>1</width>
<height>1</height>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
<font>-</font>
<onfocus>XBMC.RunScript(script.recentlyadded,limit=10,unplayed=True)</onfocus>
<onfocus>AlarmClock(wait,ReplaceWindow(Home),1,true)</onfocus>
<visible>!Skin.HasSetting(HomeRandom)</visible>
</control>
<control type="button" id="10">
<description>Trigger</description>
<posx>-20</posx>
<posy>-20</posy>
<width>1</width>
<height>1</height>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
<font>-</font>
<onfocus>XBMC.RunScript(script.randomitems,limit=10,unplayed=True)</onfocus>
<onfocus>AlarmClock(wait,ReplaceWindow(Home),1,true)</onfocus>
<visible>Skin.HasSetting(HomeRandom)</visible>
</control>
</controls>
</window>