Accesso rapido:  

Forum: VirtualDJ Plugins

Topic: Output the comment field with the text plugin

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

I output the comment field with the text plugin as follows:
deck master effect "text" active & deck master get_loaded_song 'comment' & param_cast text & effect_string 'text' 2

My question:
How can I transfer the setting parameters (1. on / off 2. Outline 3. Position 4. Scroll) to the plugin?

Many greetings Werner
 

Inviato Wed 24 Mar 21 @ 4:06 pm
NicotuxHome userMember since 2014
on/off is ... effect_active
scroll is effect_button 2
outline is effect_button 3

font is effect_string 1
text is effect_string 2
presets is effect_string 3

real command may differ depending on where you are using the plugin (slot in a deck, no slot, release slot, deck video slot, master video, master fx, videosource, sampler ....)

the other can't be changed because simply not exposed
i don't think font is really usable as is or difficult

but a presets can contain everything
 

Inviato Wed 24 Mar 21 @ 4:27 pm
Hi Nicotux,
many thanks for your response!
I managed the text output with a lot of luck!
But otherwise, I have no idea how to do it with
the handover of the parameters!
Can you help me with that?

Many greetings
Werner

PS. Do you understand German?
 

Inviato Wed 24 Mar 21 @ 4:54 pm
NicotuxHome userMember since 2014
Nein, ich verstand kein Deutsch sehr gut mehr
Ich habe nicht die Antwort das letzte Mal gesendet

if text is in master video slot for example :
just map a pad/custom button to
activate/desactivate : "video_fx "
scroll on/off : "video_fx_button 2"
outline : "video_fx_button 2"

if in a slot of a deck or out of a slot
effect_active <slot>
or
effect_active "text"

for buttons:
effect_button <slot> <button>
or
effect_button "text" <button>

for the text :
effect_string "text" 2 "enter some text"
for the preset
effect_string "text" 3 "name of the preset"

 

Inviato Wed 24 Mar 21 @ 6:36 pm
Unfortunately I have no idea about the language in VirtualDJ and therefore understand nothing of what you write!

What i want is this:
How can I transfer the output Pos X = "" and Y = "" as well as the size width = "" and height = "" to the text plugin?

How do I have to write that in this command below
deck master effect "text" active & deck master get_loaded_song 'comment' & param_cast text & effect_string 'text' 2 > ????
 

Inviato Wed 24 Mar 21 @ 7:07 pm
So that you understand what I want

when I create a preset it is written to the TextPresets.xml file as follows

<?xml version="1.0" encoding="UTF-8"?>
<textpresets>
<preset name="Test 100" text="Das ist Test 100" font="Arial" scroll="no" color="white" scrollspeed="0.300122" outline="no" outlinecolor="black">
<pos x="0.0" y="0.10" width="1.0" height="0.20" />
</preset>
<preset name="Test 500" text="Test 500" font="Arial" scroll="no" color="white" scrollspeed="0.300122" outline="no" outlinecolor="black">
<pos x="0.0" y="0.10" width="1.0" height="0.795238" />
</preset>
<


and I want to pass these X and Y values and width and height by command
 

Inviato Wed 24 Mar 21 @ 7:26 pm
Benz Werner wrote :
How can I transfer the output Pos X = "" and Y = "" as well as the size width = "" and height = "" to the text plugin?

- You can not adjust the position or size via script. This part of the plugin is not exposed to script


1) On/off : deck master effect_active 'text'
2) Outline : deck master effect_button 'text' 3
2) Scroll: deck master effect_button 'text' 2
4) Position/Size : deck master effect_button 'text' 1 (opens window)

Benz Werner wrote :

How do I have to write that in this command below
deck master effect "text" active & deck master get_loaded_song 'comment' & param_cast text & effect_string 'text' 2 > ????


get_browsed_song 'comment' & param_cast & deck master get_effect_string text 2
 

Inviato Wed 24 Mar 21 @ 7:26 pm
@RUNE
that's a shame that would be a great function
hopefully that will be done!

Many thanks to RUNE and NICOTUX for the help!
 

Inviato Wed 24 Mar 21 @ 7:35 pm
Complement

this function was previously available, why was it removed?

In an older version of VDJ I was able to do this with rotary potentiometers!
 

Inviato Wed 24 Mar 21 @ 7:43 pm


(Vecchi argomenti e forum sono automaticamente chiusi)