2014-12-22, 06:16
For the <ondown> that looks like a visible condition for the relevant controls..
textbox id="800"
<visible>ControlGroup(9000).HasFocus(90200) + StringCompare(Control.GetLabel(90200),Cast)</visible>
cast panel id="1000"
<visible>ControlGroup(9000).HasFocus(90200) + StringCompare(Control.GetLabel(90200),Plot)</visible>
For the ondown action <ondown condition="Control.HasFocus(foo) + StringCompare(Control.GetLabel(foo),bar)">XXXX</ondown>
The studio problem is a script problem, the script applies " / ".join(Studio) function to the studio values, so you get one long string "bla / bla / bla" which will never match the value "bla.png"
I haven't tried any other panel's because they don't interest me but I'll give it a test. Just remember the script is a work in progress and going by the readme those controls may not have access yet.
textbox id="800"
<visible>ControlGroup(9000).HasFocus(90200) + StringCompare(Control.GetLabel(90200),Cast)</visible>
cast panel id="1000"
<visible>ControlGroup(9000).HasFocus(90200) + StringCompare(Control.GetLabel(90200),Plot)</visible>
For the ondown action <ondown condition="Control.HasFocus(foo) + StringCompare(Control.GetLabel(foo),bar)">XXXX</ondown>
The studio problem is a script problem, the script applies " / ".join(Studio) function to the studio values, so you get one long string "bla / bla / bla" which will never match the value "bla.png"
I haven't tried any other panel's because they don't interest me but I'll give it a test. Just remember the script is a work in progress and going by the readme those controls may not have access yet.