vMix Forums
	 » 
	General
	 » 
	Feature Requests
	 » 
	Make the "In Program" trigger available please
	 
	
        
            
            
    | 
	Rank: Newbie
 Groups: Registered
 Joined: 5/4/2020(UTC) Posts: 4  | 
            
		      
                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? | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,446  Location: BelgiumThanks: 311 timesWas thanked: 1006 time(s) in 830 post(s)
 
 | 
            
		      
                Have you considered scripting ( can check if input is "InProgram") | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Newbie
 Groups: Registered
 Joined: 5/4/2020(UTC) Posts: 4  | 
            
		      
                Never done that. Don't know how. | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,446  Location: BelgiumThanks: 311 timesWas thanked: 1006 time(s) in 830 post(s)
 
 | 
            
		      
                Originally Posted by: Donvil  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 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Newbie
 Groups: Registered
 Joined: 5/4/2020(UTC) Posts: 4  | 
            
		      
                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. | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Newbie
 Groups: Registered
Joined: 5/19/2020(UTC)
 Posts: 6
 
 |  | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Newbie
 Groups: Registered
 Joined: 5/19/2021(UTC) Posts: 2  Location: Brooklyn |  | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
	vMix Forums
	 » 
	General
	 » 
	Feature Requests
	 » 
	Make the "In Program" trigger available please
	 
	
    
        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.
	
	
    
    
        Important Information:
        The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
        
        
More Details
        Close