Posts: 3,379
Joined: Feb 2009
Reputation:
15
mcborzu
Skilled Skinner
Posts: 3,379
Striking out, tried in my condition='" ":
!substring(listitem.path,special://skin/720p/DialogSelect.xml)
Control(6).HasFocus
Control.IsVisible(6)
When I have debugging="true" seems like I get different results. Normally DialogSelect says Window: selectdialog (DialogSelect.xml)
but when triggered via Script.Favorites it reads the absolute path Window: C:\Program Files (x86)\etc...
Any help/ideas?
Check out Night - A Skin For XBMC
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Use Window.IsActive(DialogSelect.xml) instead of Window.IsActive(selectdialog).
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
2013-02-13, 00:00
(This post was last modified: 2013-02-13, 00:00 by `Black.)
It's because the favourites script "subclasses" (not really - it just uses the .xml file for a custom dialog) the select dialog. That way it's not available via "selectdialog" and you have to use the xml name. It's the same for windows/dialogs from scripts, so e.g. if you want a visible condition for the next aired dialog, you have to use Window.IsActive(script-NextAired-TVGuide.xml).