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
wwdv  
#1 Posted : Sunday, July 10, 2016 6:07:01 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
Took me a while to find this out, so maybe interesting for others:


This VBS script sends an API command without opening a browser.

For example start streaming:

Dim o
Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "http://127.0.0.1:8088/api/?Function=StartStreaming", False
o.send


thanks 3 users thanked wwdv for this useful post.
corporatejames on 7/10/2016(UTC), kjones9999 on 7/11/2016(UTC), studiodelta on 6/8/2020(UTC)
Speegs  
#2 Posted : Tuesday, July 12, 2016 8:31:05 AM(UTC)
Speegs

Rank: Advanced Member

Groups: Registered
Joined: 8/3/2013(UTC)
Posts: 405
Location: Gold Coast, Australia

Thanks: 27 times
Was thanked: 76 time(s) in 58 post(s)
Powershell:

(New-Object System.Net.WebClient).DownloadString("http://127.0.0.1:8088/api/?Function=StartStreaming")

I've found I can do more with Powershell and well it's on most Vmix systems too :)

BTW: I started doing the odd thing with VBS, but started to find Powershell was better at working with data sources. Of course I'm not a programmer so have not graduated to C# :)
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.