vMix Forums
»
General
»
General Discussion
»
Mix prev to program in script
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
Hello,
FADE PREVIEW to PROGRAM and VICEVERSA
I put this but not works
API.Function("Fade",1000)
I check also
Dim doc as new XmlDocument() doc.LoadXml(API.XML()) Dim node as Integer= (doc.SelectSingleNode("//preview").Innertext) Console.writeline(node ) API.Function("Fade",1000,node )
But not....
Any help.
Reggards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Please check out the "scripting for dummies" post (and others) in this forum
Also google VB.net programming as it appears you are just copying tidbits of code in the hope it will work (see your other post)
Also check out the shortcuts to see what specifics are needed i a specific function
Also be more specific in your questions please
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
Hello,
FADE PREVIEW to PROGRAM and VICEVERSA
it is not especific?
Yes I check but I not find, also I see the shourcut function "fade" but I not know who I have to apply.
reggards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto Hello,
FADE PREVIEW to PROGRAM and VICEVERSA
it is not especific?
No it is not ! Your post title says MIX prev into program Mix is an input that also has a preview and an output, you want to switch those with a shortcut or function ? Then you write FADE PREVIEW to PROGRAM: do you whish to transition whatever is in the main preview to the main output ? or do you want the MIX input go to the main output ?
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
hello,
I understand that my level of English is not good, but I don't understand that if you don't want to answer, don't answer and that's it. Life is too short to be angry all day.
And I say that because you haven't even said hello once, you don't need to answer if you don't feel like it
I will like "fade" preview (xnl) to active
I DO NOT want to know what there is, I just want preview to go active and activate preview
With shorcut I have it done but I can't get the Fade function to work properly.
reggards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto hello,
I understand that my level of English is not good, but I don't understand that if you don't want to answer, don't answer and that's it. Life is too short to be angry all day.
And I say that because you haven't even said hello once, you don't need to answer if you don't feel like it
MIX input go to the main output this is correct
reggards Chill dude! I am not mad at all besides i gave you tips and apparently you are not following them as per proof : https://forums.vmix.com/posts/m79229-Scripting-for-Dummies#post79229i Know it's not always easy to write in another language ( hint: write correctly first in onw language and do a google translate) but regardless formulating questions correctly will help you get correct answers oh BTW : Hello and have a nice day
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
Hello, Change preview to program Quote:API.Function("Slide",Input:=0)
reggards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto Hello,
When you can put the link that works.
reggards Says the person who didn't even put code bits in a Syntax highlighting LOL Not my fault the forum seems to have a little bug , select the link text, right click it and tell it go to the link. ( oh, it's from the "scripting for dummies" thread post #23
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto Hello,
Change preview to program
API.Function("Slide",Input:=0)
reggards That's NOT what you asked ! Code:' Transition the preview to output
API.Function("Slide",Input:=0)
This is what you asked for! (" MIX input go to the main output this is correct") Code:' Put an input in the Output
API.Function("ActiveInput",Input:=TheInput)
'or or to use a transition while putting it into Output
API.Function("Slide",Input:=TheInput) 'where TheInput is the MIX input
Mix inputs are mini mixes : see helpfiles Inputs ›› Add Input ›› Mix MIXInp.JPG (66kb) downloaded 1 time(s).
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
Hello,
I was asking something very simple because I did not see it and did not know how to apply the Fade function, although I had seen the manual.
I didn't know that 0 is the preview.
It's the first time I've seen the mini mixers.
I appreciate the clarification.
All the best.
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Mix prev to program in script
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close