Visible
#1
I want the timer image to be visible only if
Code:
$INFO[Window(Home).Property(t0:title)]
is true.
Code:
$INFO[Window(Home).Property(t0:title)]
  outputs tv guide program info.

This is what I have so far, but not working:

<control type="image">
<left>6</left>
<top>30</top>
<width>40</width>
<height>40</height>
<texture>special://skin/extras/icons/timer.png</texture>
<visible>String.IsEqual($INFO[Window(Home).Property(t0:title)])</visible>
</control>
Reply
#2
(2020-03-02, 04:28)james739 Wrote: <visible>String.IsEqual($INFO[Window(Home).Property(t0:title)])</visible>
You've missed the equals part!

<visible>String.IsEqual($INFO[Window(Home).Property(t0:title)],WHAT_IT_SHOULD_EQUAL)</visible>
Reply
#3
(2020-03-02, 08:11)Hitcher Wrote:
(2020-03-02, 04:28)james739 Wrote: <visible>String.IsEqual($INFO[Window(Home).Property(t0:title)])</visible>
You've missed the equals part!

<visible>String.IsEqual($INFO[Window(Home).Property(t0:title)],WHAT_IT_SHOULD_EQUAL)</visible> 
Code:
$INFO[Window(Home).Property(t0:title)]
outputs channel that is added to timer/reminder. what syntax do I use if I want to compare 
Code:
$INFO[Window(Home).Property(t0:title)]
to programming list from epg in the tvguide window?

The aim is to have the timer image visible only when the string output from 
Code:
$INFO[Window(Home).Property(t0:title)]
  match same programming title in the epg.

Thanks
Reply
#4
I've no idea but if you add a label $INFO[Window(Home).Property(t0:title)] somewhere it will show you the values you want.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Visible00
This forum uses Lukasz Tkacz MyBB addons.