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
smudge1977  
#1 Posted : Wednesday, May 9, 2018 2:29:57 PM(UTC)
smudge1977

Rank: Advanced Member

Groups: Registered
Joined: 4/3/2014(UTC)
Posts: 58
Location: UK

Thanks: 19 times
Was thanked: 4 time(s) in 1 post(s)
I have this as a scripting solution. The sleep is required as when you fade in the input is still not active so therefore no returned in the xml
Would be great if anybody had a better solution....

I have to now run this script with every input - maybe a script that runs all the time would be better?
Or a script that i run with a blank overlay that loops checking the current input - this then means i can easily stop the backup link...

Ideas gratefully received...


Threading.Thread.Sleep(600)
dim xml = API.XML()
dim x as new system.xml.xmldocument
x.loadxml(xml)
dim n = x.SelectSingleNode("//active")
Console.WriteLine("Beginning Example Script")
Console.WriteLine("http://192.168.1.18:8088/api?Function=Cut&Input="+n.InnerText)
Dim client = WebRequest.Create("http://192.168.1.18:8088/api?Function=Cut&Input="+n.InnerText)
Dim response = client.GetResponse()

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