Posts: 3,660
Joined: Feb 2008
Reputation:
93
Jeroen
Team-Kodi Member
Posts: 3,660
Anyone know if it's possible to point a SendClick() to the "Search" entry in AddonBrowser.xml (from other windows)?
Can anyone give me a clue about how/where to find the ID for that control? I've been looking through the source, but for me that's still a needle in a haystack sort of thing unfortunately.
Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
it's a listitem so i don't think it's possible.
for future reference, when you need to find the id of a built-in control,
the easiest way would be to enable debugging in your addon.xml file.
Posts: 3,660
Joined: Feb 2008
Reputation:
93
Jeroen
Team-Kodi Member
Posts: 3,660
I see, that's too bad. Cheers for the debugging tip, totally forgot about that.
Posts: 3,660
Joined: Feb 2008
Reputation:
93
Jeroen
Team-Kodi Member
Posts: 3,660
Thanks 'Black, that makes sense. I haven't been able to get it working yet though. After entering the search term the keyboard closes but the addonbrowser won't open.
I'll do some more experimenting with it though, definitely a clever approach