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,244
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 961 time(s) in 795 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,244
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 961 time(s) in 795 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,244
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 961 time(s) in 795 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
Guest (2)
Similar Topics
Help with Capture Card (Hardware Compatibility)
by stamperdog 12/14/2024 7:29:57 AM(UTC)
Live Stream Help (General Discussion)
by Lighthouse_Gosport 11/25/2024 2:42:25 AM(UTC)
Help Need! SOS - NDI one desktop can not see the other (NDI)
by gujingc 11/13/2024 7:23:40 PM(UTC)
External Render Card - Help SOS (General Discussion)
by gujingc 10/14/2024 9:54:24 AM(UTC)
BCF2000 Setup Help in vMix (Hardware Compatibility)
by coultersound 7/28/2024 1:59:52 AM(UTC)
Need help with MultiCoder (General Discussion)
by Dave Galegor 7/18/2024 7:41:43 AM(UTC)
Audio set up issues - please help (General Discussion)
by AimeeParnell 6/11/2024 4:26:12 AM(UTC)
HELP! Livestream audio died during Sunday service (Hardware Compatibility)
by Austin_Parise 5/14/2024 11:19:12 AM(UTC)
Help please sorry if this has already been asked (General Discussion)
by Carol McFarland 4/26/2024 4:05:57 AM(UTC)
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)
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.