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
clincoln777  
#1 Posted : Tuesday, January 26, 2021 3:22:22 AM(UTC)
clincoln777

Rank: Newbie

Groups: Registered
Joined: 9/18/2014(UTC)
Posts: 4
Location: Dallas

Thanks: 2 times
Does anyone know if there Is a scripting command that allows me to shut down (exit) vMix from within a script running on the local PC?
doggy  
#2 Posted : Tuesday, January 26, 2021 4:52:40 AM(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)
from within vMix ?

google has ......

try this and link the script to a shortcut or streamdeck button (title the shortcut or mark the button with "suicide") ;-)

Code:
For Each prog As Process In Process.GetProcesses
        If prog.ProcessName = "vMix64" Then
                prog.Kill()
        End If
Next
avsoundguy  
#3 Posted : Tuesday, January 26, 2021 5:12:04 AM(UTC)
avsoundguy

Rank: Advanced Member

Groups: Registered
Joined: 10/26/2016(UTC)
Posts: 79

Thanks: 189 times
Was thanked: 12 time(s) in 11 post(s)
I have done this where I used the HTTP Matrix tool from Eric Pratt and Windows Task Scheduler so I could set a specific time for this to happen after a video played out at a certain time and I wanted to shutdown vMix afterwards, so it can work fine depending on use case but I would not use a shortcut or button since as per doggy's reference to it as a potential "suicide" scenario
avsoundguy  
#4 Posted : Tuesday, January 26, 2021 5:13:09 AM(UTC)
avsoundguy

Rank: Advanced Member

Groups: Registered
Joined: 10/26/2016(UTC)
Posts: 79

Thanks: 189 times
Was thanked: 12 time(s) in 11 post(s)
Automation for vMix is another option with everything in a single package
Users browsing this topic
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.