Can't use return with ActivateWindow(VideoFiles)?
#1
<onclick>ActivateWindow(VideoFiles,T:\Video)</onclick>

works but then parentNode (back button) returns to T:\
so, I changed it to:

<onclick>ActivateWindow(VideoFiles,T:\Video,return)</onclick)

and now the ActivateWindow goes to: T:\ instead (the list shows "Video")

If I change it to

<onclick>ActivateWindow(VideoFiles,T:\Video\Comedy,return)</onclick

the ActivateWindow presents an empty list. Taking the ",return" makes it work as expected.

What's happening? :confused2:
Reply
#2
Ah, a careful reading of http://wiki.xbmc.org/?title=List_of_Built_In_Functions indicates that the "return" parameter is only valid for some windows and only lists MusicLibrary and VideoLibrary as ones that definitely support it. Perhaps that is the problem?

Oh yes, xbmc is in Library mode at the time ActivateWindow is called.
Reply
#3
See here http://trac.xbmc.org/ticket/7032
Reply
#4
Thanx. I added my two-cents worth to the ticket. I'll work around the problem for now.
Reply

Logout Mark Read Team Forum Stats Members Help
Can't use return with ActivateWindow(VideoFiles)?0