vMix Forums
»
General
»
General Discussion
»
[Tips] How to select Preview or Output In VB script
Rank: Newbie
Groups: Registered
Joined: 1/21/2016(UTC) Posts: 1
|
FYI
vMix User Guilde says in order to cut preview to output, use 'Input.Preview.Function("Cut")' command. But it never works for me. By surveying this forum, I found how to select 'Preview' or 'Output' in VB script.(Indirectly) The following is the code.
Dim doc As New XmlDocument() doc.LoadXml(API.XML()) Dim id As String = doc.SelectSingleNode("/vmix/active").InnerText Dim node As XmlNode = doc.SelectSingleNode("/vmix/inputs/input[@number='"+ id +"']") Dim name As String = node.FirstChild.InnerText
Input.Find(name).Function("SetZoom", "+=0.05")
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,210 Location: Gold Coast, Australia Was thanked: 4294 time(s) in 1522 post(s)
|
Yes, sorry about that, there is a bug that crept in that prevents Input.Preview from working properly. It will be fixed in the next update.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/28/2015(UTC) Posts: 183
Thanks: 7 times Was thanked: 15 time(s) in 14 post(s)
|
While looking at those classes, is it possible to expose through abstract the input properties of the program and preview classes? That way parsing or deserializing an xml would not be necessary to retrieve input props and fields?
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
[Tips] How to select Preview or Output In VB 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