快速登录:  

Forum: VirtualDJ Technical Support

话题: Linefeed in variables
I would like to be able to place an multiline message on the video screen.
the set_var_dialog '$testtxt' 'Custom text' gives me the opportunity to set the text but does not seem to accept cr/lf.
Anyone who knows a work around.

I can not use the text video FX as the text window is displayed next to the video master window.
 

发表时间 Mon 19 Sep 22 @ 5:49 pm
Have you tried using \n in the text ?
Also on the skin element you're using make sure to set multiline option to yes
<text font="Arial" fontsize="12" align="left" color="white" scroll="no" multiline="YES" action="get_var '$testtxt' "/>
 

发表时间 Tue 20 Sep 22 @ 9:34 am
Hello PhantomDeejay,
can you explain the whole thing in more detail how it works?

(where and how do I have to do something to make it work)
 

发表时间 Tue 20 Sep 22 @ 10:36 am
@PhantomDeejay,

I set the skin script in exactly the same way as you suggested and I do get multiple lines. The breaks just are not where I want them to be.

\n nor \r will do the trick, good suggestion nevertheless.
 

发表时间 Tue 20 Sep 22 @ 7:36 pm