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 : 7 years ago
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 : 7 years ago
doggy

Rank: Advanced Member

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

Thanks: 299 times
Was thanked: 982 time(s) in 815 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 : 7 years ago
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 : 7 years ago
doggy

Rank: Advanced Member

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

Thanks: 299 times
Was thanked: 982 time(s) in 815 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 : 7 years ago
doggy

Rank: Advanced Member

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

Thanks: 299 times
Was thanked: 982 time(s) in 815 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
Similar Topics
ASL interpreter window template help (General Discussion)
by ab800 27 days ago
Black Screen Appearing During Live Stream in vMix Need Help! (General Discussion)
by romromillys 2 months ago
Help Needed with SMTAV IP PTZ Cameras Positioning Issue (Hardware Compatibility)
by jacan sevada 2 months ago
Help with Capture Card (Hardware Compatibility)
by stamperdog 3 months ago
Live Stream Help (General Discussion)
by Lighthouse_Gosport 4 months ago
Help Need! SOS - NDI one desktop can not see the other (NDI)
by gujingc 4 months ago
External Render Card - Help SOS (General Discussion)
by gujingc 5 months ago
BCF2000 Setup Help in vMix (Hardware Compatibility)
by coultersound 8 months ago
Need help with MultiCoder (General Discussion)
by Dave Galegor 8 months ago
Audio set up issues - please help (General Discussion)
by AimeeParnell 9 months ago
HELP! Livestream audio died during Sunday service (Hardware Compatibility)
by Austin_Parise 10 months ago
Help please sorry if this has already been asked (General Discussion)
by Carol McFarland 11 months ago
Help with WaitForCompletion? (Instant Replay)
by sample_text 12 months ago
Can someone PLEASE help Me! (General Discussion)
by cody@raceontexas.com 12 months ago
Help Please! NDI Desk Capture - Monitor takes over (NDI)
by bdrady 12 months ago
Audio Dropouts Again. Please Help (General Discussion)
by MarkNF82 12 months ago
Camera input colors inverted - Help!! (General Discussion)
by kirbyk48 about a year ago
Chyron Lyric 8.8 Help (General Discussion)
by DougD about a year ago
New PC for vMix. I need help... (Systems)
by filmmaker75 about a year ago
Vmix Hard Help (Systems)
by gicnymedia about a year ago
Help! My titles goes blank when the data source updates (GT)
by TL68 about a year ago
Data Source script help (General Discussion)
by NSCPro about a year ago
BitFocus Playlist Help (General Discussion)
by BoxMan_Actual about a year ago
Bitfocus Companion - GFX Playlist Help (3rd Party Software and Development)
by BoxMan_Actual about a year ago
3080 - Can't select NVidia as my Graphics Adapter (after help articles!) (General Discussion)
by BoxMan_Actual about a year ago
Help how to put vmix output NDI across segments (NDI)
by HULK622 about a year ago
Focusrite In Vmix Help (General Discussion)
by mcampos about a year ago
help me to remove a keyboard sound when mixing (General Discussion)
by erwiket about a year ago
Spec Help Needed for vMix PC (Systems)
by VeloMedia about a year ago
Shortcut Function Reference help (Beta Discussion)
by RichDanby about a year ago
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.