Rank: Newbie
Groups: Registered
Joined: 7/18/2017(UTC) Posts: 5
|
Hi Guys,
I'm trying to write a (vb)script to run onCompleted that writes the input just ran to a text file. I can easily write a text file - i just need to know how to get the input number / name of the source that has just played. (sort of like a log - but just for specific files)
if there a reference sheet of variables you can get?
Many thanks
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/23/2017(UTC) Posts: 1
|
OneMoreThing wrote:Hi Guys,
I'm trying to write a (vb)script to run onCompleted that writes the input just ran to a text file. I can easily write a text file - i just need to know how to get the input number / name of the source that has just played. (sort of like a log - but just for specific files)
if there a reference sheet of variables you can get?
Many thanks example Code:
Dim doc As New XmlDocument()
do
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("label.xaml").Text("label1") = name
Loop
label.xaml param label1
|
|
|
|
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