logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
isidto  
#1 Posted : Tuesday, March 2, 2021 9:34:49 AM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
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
doggy  
#2 Posted : Tuesday, March 2, 2021 5:00:57 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
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
isidto  
#3 Posted : Tuesday, March 2, 2021 5:15:42 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
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
doggy  
#4 Posted : Tuesday, March 2, 2021 5:52:26 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post
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 ?

isidto  
#5 Posted : Tuesday, March 2, 2021 6:42:03 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
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
doggy  
#6 Posted : Tuesday, March 2, 2021 6:51:57 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post
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#post79229

i 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
thanks 1 user thanked doggy for this useful post.
isidto on 3/2/2021(UTC)
isidto  
#7 Posted : Tuesday, March 2, 2021 6:55:35 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 2 times
Hello,

Change preview to program

Quote:
API.Function("Slide",Input:=0)


reggards
doggy  
#8 Posted : Tuesday, March 2, 2021 7:01:19 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post
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
doggy  
#9 Posted : Tuesday, March 2, 2021 7:10:04 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post
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).
isidto  
#10 Posted : Tuesday, March 2, 2021 8:03:55 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
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.
Users browsing this topic
Guest
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.