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
otkim  
#1 Posted : Thursday, January 21, 2016 4:44:52 AM(UTC)
otkim

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")
admin  
#2 Posted : Thursday, January 21, 2016 7:25:35 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,211
Man
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.

jhebbel  
#3 Posted : Thursday, January 21, 2016 7:45:07 AM(UTC)
jhebbel

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?
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.