2016-01-21, 05:24
I need check if a file exist or not, I want to made visible a image with this check.
Anybody know how can i do it ?
thanks in advance
Anybody know how can i do it ?
thanks in advance
<!-- put the image flag -->
<control type="image" id="777101">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.2),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.2))</visible>
</control>
<!-- Separator -->
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.3))</visible>
</control>
<!-- don't have image put text -->
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.2)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777101))</visible>
</control>
<visible>!IsEmpty(Control.GetLabel(777101))</visible>
<include name="audiomio">
<!-- aqui tengo que poner las banderas -->
<control type="image" id="777100">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.1),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.1))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.2))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.1)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777100))</visible>
</control>
<control type="image" id="777101">
<width min="0" max="46">auto</width>
<height min="0" max="44">auto</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.2),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.2))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.3))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.2)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777101))</visible>
<!-- <animation effect="slide" end="-44,0" time="0" tween="sine" easing="out" condition="IsEmpty(Control.GetLabel(777101))">Conditional</animation>-->
</control>
<control type="image" id="777102">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.3),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.3))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.4))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.3)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777102))</visible>
</control>
<control type="image" id="777103">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.4),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.4))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.5))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.4)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777103))</visible>
</control>
<control type="image" id="777104">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.5),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.5))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.6))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.5)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777104))</visible>
</control>
<control type="image" id="777105">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.6),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.6))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.7))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.6)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777105))</visible>
</control>
<control type="image" id="777106">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.7),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.7))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.8))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.7)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777106))</visible>
</control>
<control type="image" id="777107">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.8),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.8))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.9))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.8)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777107))</visible>
</control>
<control type="image" id="777108">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.9),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.9))</visible>
</control>
<control type="label">
<width>10</width>
<height>44</height>
<font>Font_18A</font>
<label>/</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.10))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.9)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777108))</visible>
</control>
<control type="image" id="777109">
<width>46</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window(2003).Property(AudioLanguage.10),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.10))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.10)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>IsEmpty(Control.GetLabel(777109))</visible>
</control>
</include>
<include name="AudioandSub">
<control type="image">
<left>-45</left>
<top>-60</top>
<height>225</height>
<width>2025</width>
<texture flipy="true" diffuse="shadow_mask.png">darkgrey.png</texture>
<colordiffuse>$VAR[value_texturecolor]</colordiffuse>
<animation effect="fade" end="85" condition="true">Conditional</animation>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(55)">Conditional</animation>
<animation effect="slide" end="-540,-22" time="0" condition="Control.IsVisible(57)">Conditional</animation>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(59)">Conditional</animation>
<visible>Control.IsVisible(51) |Control.IsVisible(55) | Control.IsVisible(57)</visible>
</control>
<control type="image">
<left>-975</left>
<top>-60</top>
<height>225</height>
<width>1800</width>
<texture flipy="true">shadow_mask.png</texture>
<colordiffuse>85000000</colordiffuse>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(55)">Conditional</animation>
<animation effect="slide" end="-540,-22" time="0" condition="Control.IsVisible(57)">Conditional</animation>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(59)">Conditional</animation>
<visible>Control.IsVisible(70)</visible>
</control>
<control type="image">
<left>-22</left>
<top>0</top>
<width>3</width>
<height>90</height>
<texture>line_v.png</texture>
<colordiffuse>FFFFFAF0</colordiffuse>
<visible>![Control.IsVisible(51) | Control.IsVisible(55) | Control.IsVisible(57) | Control.IsVisible(59) | Control.IsVisible(70)]</visible>
</control>
<control type="image">
<!-- Audio -->
<left>0</left>
<top>0</top>
<width>38</width>
<height>38</height>
<texture>osd_audio.png</texture>
<colordiffuse>FFFFFAF0</colordiffuse>
<aspectratio>keep</aspectratio>
<fadetime>FanartCrossFadeTime</fadetime>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.1))</visible>
</control>
<control type="grouplist">
<!-- <animation effect="fade" start="100" end="80" time="40" condition="true">Conditional</animation>-->
<left>60</left>
<top>-4</top>
<width>650</width>
<height>44</height>
<align>left</align>
<itemgap>5</itemgap>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.1))</visible>
<orientation>horizontal</orientation>
<include>audiomio</include>
</control>
<include name="audiomio">
<!-- aqui tengo que poner las banderas -->
<control type="image" id="777100">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.1),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.1))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.2))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.1)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777100),"grey.png")</visible>
</control>
<control type="image" id="777101">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.2),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.2))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.3))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.2)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777101),"grey.png")</visible>
</control>
<control type="image" id="777102">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.3),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.3))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.4))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.3)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777102),"grey.png")</visible>
</control>
<control type="image" id="777103">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.4),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.4))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.5))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.4)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777103),"grey.png")</visible>
</control>
<control type="image" id="777104">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.5),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.5))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.6))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.5)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777104),"grey.png")</visible>
</control>
<control type="image" id="777105">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.6),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.6))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.7))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.6)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777105),"grey.png")</visible>
</control>
<control type="image" id="777106">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.7),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.7))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.8))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.7)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777106),"grey.png")</visible>
</control>
<control type="image" id="777107">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.8),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.8))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.9))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.8)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777107),"grey.png")</visible>
</control>
<control type="image" id="777108">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.9),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.9))</visible>
</control>
<control type="label">
<width>auto</width>
<height>44</height>
<font>Font_18A</font>
<label> /</label>
<textcolor>FFFFFAF0</textcolor>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.10))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.9)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777108),"grey.png")</visible>
</control>
<control type="image" id="777109">
<width>auto</width>
<height>auto</height>
<texture fallback="grey.png">$INFO[Window(2003).Property(AudioLanguage.10),images/flags/subtitles/flags/,.png]</texture>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.10))</visible>
</control>
<control type="label">
<width>50</width>
<height>44</height>
<font>Font_18A</font>
<label>$INFO[Window(2003).Property(AudioLanguage.10)]</label>
<textcolor>FFFFFAF0</textcolor>
<visible>StringCompare(Control.GetLabel(777109),"grey.png")</visible>
</control>
</include>
<include name="AudioandSub">
<control type="image">
<left>-45</left>
<top>-60</top>
<height>225</height>
<width>2025</width>
<texture flipy="true" diffuse="shadow_mask.png">darkgrey.png</texture>
<colordiffuse>$VAR[value_texturecolor]</colordiffuse>
<animation effect="fade" end="85" condition="true">Conditional</animation>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(55)">Conditional</animation>
<animation effect="slide" end="-540,-22" time="0" condition="Control.IsVisible(57)">Conditional</animation>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(59)">Conditional</animation>
<visible>Control.IsVisible(51) |Control.IsVisible(55) | Control.IsVisible(57)</visible>
</control>
<control type="image">
<left>-975</left>
<top>-60</top>
<height>225</height>
<width>1800</width>
<texture flipy="true">shadow_mask.png</texture>
<colordiffuse>85000000</colordiffuse>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(55)">Conditional</animation>
<animation effect="slide" end="-540,-22" time="0" condition="Control.IsVisible(57)">Conditional</animation>
<animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(59)">Conditional</animation>
<visible>Control.IsVisible(70)</visible>
</control>
<control type="image">
<left>-22</left>
<top>0</top>
<width>3</width>
<height>90</height>
<texture>line_v.png</texture>
<colordiffuse>FFFFFAF0</colordiffuse>
<visible>![Control.IsVisible(51) | Control.IsVisible(55) | Control.IsVisible(57) | Control.IsVisible(59) | Control.IsVisible(70)]</visible>
</control>
<control type="image">
<!-- Audio -->
<left>0</left>
<top>0</top>
<width>38</width>
<height>38</height>
<texture>osd_audio.png</texture>
<colordiffuse>FFFFFAF0</colordiffuse>
<aspectratio>keep</aspectratio>
<fadetime>FanartCrossFadeTime</fadetime>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.1))</visible>
</control>
<control type="grouplist">
<!-- <animation effect="fade" start="100" end="80" time="40" condition="true">Conditional</animation>-->
<left>60</left>
<top>-4</top>
<width>650</width>
<height>44</height>
<align>left</align>
<itemgap>5</itemgap>
<visible>!IsEmpty(Window(2003).Property(AudioLanguage.1))</visible>
<orientation>horizontal</orientation>
<include>audiomio</include>
</control>