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
Donvil  
#1 Posted : Saturday, May 1, 2021 9:23:21 PM(UTC)
Donvil

Rank: Newbie

Groups: Registered
Joined: 5/4/2020(UTC)
Posts: 4
United States

I need a trigger which is based on whether or not an input is 'InProgram'. The vMix software definitely already has one that is used for the "automix" feature, but I also need access to that trigger to use it for functions or actions of my own. We've tried to do it using "OnTransitionIn" or "out", but that requires us to have a million triggers on every input where the source input is used in multiview. It does not auto carry over like the automix feature does. The way we do it currently, has a high risk of user error if you forget to set every multiview input with all appropriate triggers. If I could have an "on-program" trigger to the original source input which works whether it is used in a multiview layer or not just like the way "automix" works, that would fix my issue. Is there a way or a plan to make that trigger available?
doggy  
#2 Posted : Saturday, May 1, 2021 11:12:49 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)
Have you considered scripting ( can check if input is "InProgram")
Donvil  
#3 Posted : Saturday, May 1, 2021 11:29:49 PM(UTC)
Donvil

Rank: Newbie

Groups: Registered
Joined: 5/4/2020(UTC)
Posts: 4
United States

Never done that. Don't know how.
doggy  
#4 Posted : Saturday, May 1, 2021 11:44:59 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)
Originally Posted by: Donvil Go to Quoted Post
Never done that. Don't know how.


If simple or complex situations need to be addressed and automated scripting is a tool worth learning about

https://forums.vmix.com/...86-Scripting-for-Dummies

for example

Code:
dim activeinput as string = ""

dim xml as string = API.XML()
dim x as new system.xml.xmldocument
x.loadxml(xml)

activeinput = (x.SelectSingleNode("//active").InnerText)


will give you the input number that is in output after which one can give instruction for whatever is needed by mainly using function which are basically the same as shortcut functions within a logical process

Key is though to know in detail what you want to achieve before creating a complete process
Donvil  
#5 Posted : Thursday, May 13, 2021 8:44:06 AM(UTC)
Donvil

Rank: Newbie

Groups: Registered
Joined: 5/4/2020(UTC)
Posts: 4
United States

I see. I definitely know exactly what I want to happen, I just don't know exactly how to apply the scripts to vMix. I will tap on one of my techs who knows a little bit of scripting.
dobrodt  
#6 Posted : Tuesday, May 18, 2021 7:45:53 AM(UTC)
dobrodt

Rank: Newbie

Groups: Registered
Joined: 5/19/2020(UTC)
Posts: 6

+1
Dstyles  
#7 Posted : Wednesday, May 19, 2021 2:02:15 PM(UTC)
Dstyles

Rank: Newbie

Groups: Registered
Joined: 5/19/2021(UTC)
Posts: 2
United States
Location: Brooklyn

+1
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.