Connexion rapide:  

Forum: VirtualDJ Skins

Sujet Help with VDJ script for displaying comment text

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

dfyffePRO InfinityMember since 2003
I am trying to display the comment field on my skin, What is the script I would add to my skin xml file to display the scrolling comment of my playing deck on a 4 deck skin, Any 1 of the 4 decks should display the comment text at the same location on my skin. I used the comment to store info about a song/artist. Thanks.
 

Posté Wed 25 Sep 13 @ 8:57 am
djdadPRO InfinityDevelopment ManagerMember since 2005
You need to add this code to your skin..

<textzone deck="X">
<size width="477" height="22" />
<pos x="18" y="169"/>
<text font="arial" size="17" color="#28acff" weight="bold" format="%Comment" scroll="yes"/>
</textzone>

where X is the deck you wish to display the comment for. Of course you need to find the proper pos x,y along with the size and height depending on the skin you wish to use.
 

Posté Wed 25 Sep 13 @ 2:06 pm
dfyffePRO InfinityMember since 2003
Thanks djdad but how would I just display the playing deck comment instead of a specific deck. (Ex if deck 2 is playing live, then display comment from deck 2. All deck will display the same position on my skin). Thanks
 

Posté Wed 25 Sep 13 @ 5:27 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
<textzone >
<size width="477" height="22" />
<pos x="18" y="169"/>
<text font="arial" size="17" color="#28acff" weight="bold" format="`deck active get loaded_song 'comment'`" scroll="yes"/>
</textzone>
 

Posté Wed 25 Sep 13 @ 7:46 pm
dfyffePRO InfinityMember since 2003
thank you djdad, that works.
 

Posté Wed 25 Sep 13 @ 8:38 pm


(Les anciens sujets et forums sont automatiquement fermés)