Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet show_text bug virtualdj 8.5
hello everyone, this is my first post, i have noticed trying to map my denon hc4500 that the show_text '$ myvar $' command doesn't work, i need to send the value of a variable to the screen for a few seconds, and that's the command correct, but it does not work in vdj8 I have tried it in vdj7 and it works perfectly, but when inserting it in vdj8 it shows the text of the variable, but not its value, is there a new way to do it? or is it a program glitch? Thanks for the help
 

Posté Fri 01 Oct 21 @ 3:57 am
locodogPRO InfinityModeratorMember since 2013
use these.

get_var $myVar
set $myVar
 

Posté Fri 01 Oct 21 @ 4:24 am
NicotuxHome userMember since 2014
maybe just because it spell "show_text '$myvar$'' with no spaces

I don't know about this function so may be wrong with the following
in VDJ script do not usually end with dollar
with the introduction of text variables in VDJ things changed
you may try some things like this
show_text 'get_var $myvar'
show_text '`get_var $myvar`'


 

Posté Fri 01 Oct 21 @ 4:24 am
thanks for the quick answers, unfortunately I have tried all show_text '$myvar$' does not work, I have tried the get_text command in TEXT1 and it works correctly but I need to send the value from other buttons (that's what show_text is for), when changing a button or to read the jog value for example, and also try in vdj7 and if it works but not in vdj8
 

Posté Fri 01 Oct 21 @ 4:46 am
AdionPRO InfinityCTOMember since 2006
how did you set the variable?
 

Posté Fri 01 Oct 21 @ 10:43 am
NicotuxHome userMember since 2014
some of my tests : it look like only multiline can display directly
implicit params somehow work ...
set $test `get_text 'essai1'` & deck 1 get_var $test & param_cast text & show_text
set $test `get_text 'essai1'` & deck 1 get_var $test & param_cast text & show_text
set $test `get_text 'essai1|essai2'` & deck 1 get_var $test & param_cast text & show_text
all display correctly either line 1 or line 2
set $test `get_text 'essai1|essai2|essai3'` & deck 1 get_var $test & param_cast text & show_text
display everything between quotes

effectively $test$ does not seem to work anymore or need some unknown init
show_text '$test$'
display nothing

show_text '$test$|test'
display "$test" as line 1 and test as line 2

Note: my "controller" is keyboard/mouse and is using `get_display 1 2500ms` and `get_display 2 2500ms` as names of pad_param
 

Posté Fri 01 Oct 21 @ 1:05 pm
I tried all those lines and none returned values, I have virtualdj 8.5
 

Posté Fri 01 Oct 21 @ 5:17 pm
AdionPRO InfinityCTOMember since 2006
Found the bug. Looks like it was probably never working in VDJ 8. (I guess only used by some very old controllers)
Will fix.
 

Posté Sat 02 Oct 21 @ 6:38 am
excellent, I am using a denon hc4500 controller and I have worked a lot on the screen and I have been finding details like that, thank you very much
 

Posté Sat 02 Oct 21 @ 8:18 pm
NicotuxHome userMember since 2014
Nice way to put infos and send DJ Message on screen when in use out of context in a videoskin

<text size="24" color="colorr" weight="bold" align="center" action="deck active get_display 2 12500ms"/>
<text size="22" color="color" weight="bold" align="center" action="deck active get_display 1 12500ms"/>

just send message to deck active it will replace artist and title

deck active show_text 'text in line #1|Test in Line #2'

(note I swapped lines to get title in big top line 2 and artist in small bottom line 1)
 

Posté Sat 02 Oct 21 @ 8:58 pm
Adion wrote :
Found the bug. Looks like it was probably never working in VDJ 8. (I guess only used by some very old controllers)
Will fix.


1+
Adion! I'm also use a lot this controller.
please fix this bug on (show_text)
on the next update

thank you
Ruben.

 

Posté Wed 20 Oct 21 @ 7:37 pm
hi! Adion
I wondering why? show_text bug wasn't fixed on this update. any reason why?

 

Posté Thu 28 Oct 21 @ 3:03 am
AdionPRO InfinityCTOMember since 2006
Did you try it?
 

Posté Thu 28 Oct 21 @ 4:24 pm
Adion!
Thank you
Work perfectly 👌
 

Posté Sat 30 Oct 21 @ 5:44 pm