快速登录:  

Forum: VirtualDJ Skins

话题: Help with get_loaded_song if-expression
Hi,

I am modifying the default skin so it fits my needs better.

I would like to have the cover image only displayed when the field1 of the current song is empty. If field1 is not empty I would like to have this value displayed instead.

I have this so far:

<group visibility="get_loaded_song 'Field1' > 0 ? false : true" >
<cover >
<pos x="+7" y="+7"/>
<size width="56-14" height="56-14"/>
</cover>
</group>

This does not work, I guess the "get_loaded_song 'Field1' < 0" expression is wrong.

Can somebody help?

Thanks!
 

发表时间 Mon 21 Feb 22 @ 2:05 pm
locoDogPRO InfinityModeratorMember since 2013
param_equal `get_loaded_song 'field1'` '' ? on : off
 

发表时间 Mon 21 Feb 22 @ 2:19 pm
Fantastic! Thank you!
 

发表时间 Mon 21 Feb 22 @ 3:30 pm