Kodi Community Forum
How to run this addon without activating the window - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: How to run this addon without activating the window (/showthread.php?tid=202154)



How to run this addon without activating the window - woodside - 2014-08-15

Can anyone tell me how to format this onclick to run the search without activating the window? I have my own list I want to fill and I don't want to open the window. As of now I can click and fill my list but I'm trying to do the same without activating the window I tried replacing ActivateWindow with RunScript, RunAddon, RunPlugin, but that doesn't seem to work. Thanks.

PHP Code:
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/?path=/root/search&amp;feed=search&amp;search=$INFO[Window(Home).Property(Artist)]),return)</onclick> 



RE: How to run this addon without activating the window - `Black - 2014-08-15

PHP Code:
<content>plugin://plugin.video.youtube/?path=/root/search&amp;feed=search&amp;search=$INFO[Skin.String(YouTube.Search)]</content>

<onclick>SetString(YouTube.Search,$INFO[Window(Home).Property(Artist)])</onclick