Kodi Community Forum

Full Version: Replacing onclick call to item with open when TV Guide window is opened.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I currently have a button that when pressed opens group dialog button (id = 28) within another window in a skin I am working on. What I actually want though is the output I get when clicking on the button to be there when I activate the TV Guide window. Is that possibl?

<control type="button" id="6054">
                    <include>MediaMenuItemsCommon</include>
                    <label>$LOCALIZE[19141]</label>
                    <label2>$PARAM[group_label2]</label2>
                    <onclick>SendClick(28)</onclick>
                    <visible>Window.IsActive(MyPVRChannels.xml) | Window.IsActive(MyPVRGuide.xml)</visible>
                </control>

Thanks
Do you mean
Code:
<window>
    <onload>SendClick(28)</onload>
    <controls>
brilliant! thanks a lot...starting to get my eye in with the skinner bit by bit...