Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Custom Video Skin

This topic is old and might contain outdated or incorrect information.

Hi Guys, I am trying to write a custom video skin. I have two problems and looking for help.
1. Is there a "get" command for user fields one and two, like there is for get_comment in the xml file?
2. If you get the comment, how do you wrap the text if it is longer than say 20 characters on to a 2nd line ?
Thanks
 

Posted Fri 30 Oct 20 @ 10:38 am
Grok32Home userMember since 2019
use field1 and field2 for the the user fields "get_loaded_song 'field1'"
You can use a text editor to insert line feeds or you can use \n or \r in script to add cr or linefeeds in comments.
 

Posted Fri 30 Oct 20 @ 1:16 pm
Grok32 wrote :
use field1 and field2 for the the user fields "get_loaded_song 'field1'"
You can use a text editor to insert line feeds or you can use \n or \r in script to add cr or linefeeds in comments.



So it would it read < text weight="bold" action "get_message" \n/> ?

 

Posted Fri 30 Oct 20 @ 3:31 pm
Grok32Home userMember since 2019
I'm not sure of your example. But if you wanted a button with two lines you would use something like this.

<text size="14" color="#909090" align="center" weight="bold" format="Auto\nGain"/>

The \n doesn't work everywhere. (like in edit windows)
 

Posted Fri 30 Oct 20 @ 4:00 pm
Grok32 wrote :
I'm not sure of your example. But if you wanted a button with two lines you would use something like this.

<text size="14" color="#909090" align="center" weight="bold" format="Auto\nGain"/>

The \n doesn't work everywhere. (like in edit windows)


Thank you I have figured it out now.

 

Posted Fri 30 Oct 20 @ 4:22 pm


(Old topics and forums are automatically closed)