vMix Forums
»
General
»
General Discussion
»
Hint: Sending an API URL without opening a browser
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
|
3 users thanked wwdv for this useful post.
|
|
|
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# :)
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Hint: Sending an API URL without opening a browser
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