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
User is suspended until 8/19/2025 12:45:46 AM(UTC) marcyaghi1  
#1 Posted : Saturday, April 21, 2018 2:28:24 PM(UTC)
marcyaghi1

Rank: Advanced Member

Groups: Registered
Joined: 3/15/2018(UTC)
Posts: 82
Afganistan

Thanks: 5 times
Was thanked: 10 time(s) in 8 post(s)
Hello
I need to make something on vmix

on key press in showtcuts
i need to execute an http url for example ; http://192.168.1.1/vmix.php


how to do this

in script ??

regards



BTW
this isnot working



Dim webStream As Stream
Dim webResponse = ""
Dim req As HttpWebRequest
Dim res As HttpWebResponse
req = CType(WebRequest.Create("http://10.1.2.56:8088/API/?Function=OverlayInput1In&Input=2"), HttpWebRequest)
res = CType(req.GetResponse(), HttpWebResponse)
webStream = res.GetResponseStream() ' Get Response
Dim webStreamReader As New StreamReader(webStream)
While webStreamReader.Peek >= 0
webResponse = webStreamReader.ReadToEnd()
End While
doggy  
#2 Posted : Saturday, April 21, 2018 2:52:11 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
might be helpfull to know the intention in order to see if it's the right approach to begin with (ex Shortcut Y/N)
User is suspended until 8/19/2025 12:45:46 AM(UTC) marcyaghi1  
#3 Posted : Saturday, April 21, 2018 3:15:26 PM(UTC)
marcyaghi1

Rank: Advanced Member

Groups: Registered
Joined: 3/15/2018(UTC)
Posts: 82
Afganistan

Thanks: 5 times
Was thanked: 10 time(s) in 8 post(s)
its a corn job execution command

URL is
http://192.168.1.1/wp-cr...=5&action=processing

this will update and excel file in the www folder

then data-source will be updated

i already checked this by Puting the above url in chrome , it worked and file is updated , i need to implement this as a key press in vmix


regards

doggy  
#4 Posted : Saturday, April 21, 2018 3:33:04 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
not completely familiar as in not used yet but a HttpWebRequest would be the ticket , but i wonder why you try a script then with WebRequest.Create("http://10.1.2.56:8088/API/?Function=OverlayInput1In&Input=2"), in it instead of execute an http url for example ; http://192.168.1.1/vmix.php

as vMix scripting is based on vb.net one might google in this vb.net, HttpWebRequest and php direction
doggy  
#5 Posted : Saturday, April 21, 2018 3:51:04 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
btw

if it is for updating a datasource why dont you just link to it with your datasource link ?
SImilar to another post of yours "vmix data source"
Users browsing this topic
Similar Topics
Help with WaitForCompletion? (Instant Replay)
by sample_text 3/20/2024 2:43:07 AM(UTC)
Can someone PLEASE help Me! (General Discussion)
by cody@raceontexas.com 3/17/2024 5:40:55 AM(UTC)
Help Please! NDI Desk Capture - Monitor takes over (NDI)
by bdrady 3/15/2024 11:28:38 AM(UTC)
Audio Dropouts Again. Please Help (General Discussion)
by MarkNF82 3/11/2024 3:34:46 AM(UTC)
Camera input colors inverted - Help!! (General Discussion)
by kirbyk48 3/10/2024 11:21:23 PM(UTC)
Chyron Lyric 8.8 Help (General Discussion)
by DougD 3/9/2024 11:52:54 PM(UTC)
New PC for vMix. I need help... (Systems)
by filmmaker75 2/8/2024 12:53:18 AM(UTC)
Vmix Hard Help (Systems)
by gicnymedia 1/16/2024 9:04:57 AM(UTC)
Help! My titles goes blank when the data source updates (GT)
by TL68 12/22/2023 12:48:00 AM(UTC)
Data Source script help (General Discussion)
by NSCPro 12/7/2023 4:02:27 AM(UTC)
BitFocus Playlist Help (General Discussion)
by BoxMan_Actual 11/30/2023 5:10:31 AM(UTC)
Bitfocus Companion - GFX Playlist Help (3rd Party Software and Development)
by BoxMan_Actual 11/29/2023 11:48:05 AM(UTC)
3080 - Can't select NVidia as my Graphics Adapter (after help articles!) (General Discussion)
by BoxMan_Actual 11/28/2023 9:56:39 AM(UTC)
Help how to put vmix output NDI across segments (NDI)
by HULK622 11/27/2023 1:56:07 PM(UTC)
Focusrite In Vmix Help (General Discussion)
by mcampos 11/27/2023 2:41:31 AM(UTC)
help me to remove a keyboard sound when mixing (General Discussion)
by erwiket 10/24/2023 11:47:16 PM(UTC)
Spec Help Needed for vMix PC (Systems)
by VeloMedia 10/19/2023 2:23:50 AM(UTC)
Shortcut Function Reference help (Beta Discussion)
by RichDanby 10/18/2023 9:01:54 PM(UTC)
vMix Crashing - Please Help (Resolved) (General Discussion)
by MrMagoo 10/11/2023 9:59:55 AM(UTC)
Help with video delay (General Discussion)
by Thaddeusb 9/14/2023 2:48:51 AM(UTC)
Capture Card Not Showing UP (need help ASAP) (General Discussion)
by lucaseccc 9/6/2023 1:14:35 PM(UTC)
VST3 plugins aren't shown correctly - help (General Discussion)
by Streampunk 8/29/2023 9:34:20 AM(UTC)
VMix Streaming Error *HELP* (General Discussion)
by HWY32COC 8/20/2023 9:02:44 AM(UTC)
Bitfocus Companion Help (General Discussion)
by Mediaman99 7/24/2023 10:21:02 PM(UTC)
Source 200000 Replay 400000 error help required (Instant Replay)
by bainisteoir81 7/9/2023 11:13:24 PM(UTC)
vMix Crashes - Quits Completely - HELP (Hardware Compatibility)
by enzostrano 7/3/2023 2:24:59 AM(UTC)
I need help with web interface 8089 (General Discussion)
by Roman D 6/18/2023 6:44:53 PM(UTC)
VMixNDIHelper memory leak + High CPU (NDI)
by Geffers 6/18/2023 6:25:00 PM(UTC)
Joystick script help (General Discussion)
by fgolman 5/20/2023 5:19:10 AM(UTC)
Help! POE switch for live production- need to choose (NDI)
by enzostrano 5/14/2023 10:18:17 AM(UTC)
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.