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
OneMoreThing  
#1 Posted : Tuesday, May 22, 2018 5:40:03 AM(UTC)
OneMoreThing

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
meboooth  
#2 Posted : Wednesday, May 30, 2018 7:44:40 PM(UTC)
meboooth

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
Users browsing this topic
Guest (3)
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.