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
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
Posté Fri 30 Oct 20 @ 10:38 am
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.
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.
Posté 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.
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/> ?
Posté Fri 30 Oct 20 @ 3:31 pm
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)
<text size="14" color="#909090" align="center" weight="bold" format="Auto\nGain"/>
The \n doesn't work everywhere. (like in edit windows)
Posté 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)
<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.
Posté Fri 30 Oct 20 @ 4:22 pm