Music library search onclick ?
#1
Hi

Im using a custom window for X amount of music library functions, In MyMusicNav the library search button is button id 8, Is there an onclick function to bring up the music library search?

I've tried "ActivateWindow(MusicLibrary,search,return)" & "MusicLibrary.search" but with no luck.

Thanks.
Reply
#2
SendClick(windowid,id)

Sends a click to a control in a given window (or active window if omitted).
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Thanks Ronie.

But <onclick>SendClick(10502,8)</onclick> doesn't work for me.
Reply
#4
maybe you need two onclicks then..
<onclick>ActivateWindow(MusicLibrary,return)</onclick>
<onclick>SendClick(10502,8)</onclick>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
<onclick>ActivateWindow(MusicLibrary,return)</onclick>
<onclick>SendClick(10502,8)</onclick>

Works.

Thanks again Ronie.
Reply

Logout Mark Read Team Forum Stats Members Help
Music library search onclick ?0