Posts: 73
Joined: Feb 2013
2014-07-28, 19:45
(This post was last modified: 2014-08-05, 17:17 by User 156625.)
Is it possible to open a particular favourite using activatewindow?
For example I have tried
Code:
<onclick>ActivateWindow(favourite.1.Path)</onclick>
to try and open the first favourite but without luck.
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Yes you will need to use the favourites script.
Posts: 73
Joined: Feb 2013
2014-07-28, 20:18
(This post was last modified: 2014-07-28, 20:26 by User 156625.)
Thanks Black. I tried adding the script, which I believe is working using <onload>RunScript(script.favourites)</onload> in my home.xml file.
but when I try to open the first favourite using <onclick>ActivateWindow(favourite.1.path)</onclick> it still doesn't do anything...
got it to work with <onclick>$INFO[Window(Home).Property(favourite.1.path)]</onclick>...
thanks!