View Full Version : Toggle "hide watched" with remote?
Is it possible to toggle the "hide watched" menu option with a remote? (Using eventghost or a keypress)
I searched the wiki for the action in keymap.xml, but couldn't find it. :no:
Look here. Add functions to keymap.
List of Built In Functions (http://xbmc.org/wiki/index.php?title=List_of_Built_In_Functions)
I'm afraid that doesn't get me much closer.
I found this reference in the mediastream skin:
<control type="radiobutton" id="14">
<description>Watched Toggle</description>
<visible>Window.IsVisible(MyVideoLibrary)</visible>
<label>20367</label>
<include>OMButtonItem</include>
</control>
I somehow have to combine that with a built in function, but I'm at a loss which one.
jmarshall
2009-01-13, 01:01
Try:
SendClick(14)
Feel free to add this to the online manual:
SendClick([window,]controlID)
Emulates a click message from the given controlID in the (optionally given) window (name or id).
Cheers,
Jonathan
Thanks. Will try it tomorrow! :nod:
I'll give that a go as well as it's something I'd like on the remote too. Thx J.
SendClick([window,]controlID)
Like this one.
Thankx Jonathan
Where does this belong in the wiki? Builtins?
Where can you get a list of controlIDs?
Belongs here.
List of Built In Functions (http://xbmc.org/wiki/index.php?title=List_of_Built_In_Functions)
Works like a charm! Thanks!