vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	Audio Bus State Return - Script
	 
	
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 2/2/2017(UTC) Posts: 9 Location: Australia
  Was thanked: 1 time(s) in 1 post(s)
  
	 
	
     | 
    
        
            
		      
                Hi All,
  Just getting started with scripting and trying to find the syntax for returning the bus on/off states for inputs. Does anyone have that info?? I can't seem to find what I need to pass in the script to find the bus states.
  Cheers, JB 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,453  Location: Belgium Thanks: 311 times Was thanked: 1008 time(s) in 830 post(s)
  
	 
	
     | 
    
        
            
		      
                one can check a audio bus state from the API xml (Muted true or false) From an input data one can check which audiobusses the input is on or the input is muted or not 
  check the "scripting for dummies" posts for tips on reading the API XML 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 2/2/2017(UTC) Posts: 9 Location: Australia
  Was thanked: 1 time(s) in 1 post(s)
  
	 
	
     | 
    
        
            
		      
                Thanks Doggy,
  I found the audiobusses reference in the XML. I'm not well versed in VB.net. How would you parse the return from audiobusses into an if elseif scenario?
  I'm basically creating a single button that toggles the Audio Bus assignment on an input. I need to do this for a couple of busses on a couple of inputs.
  ie: Bus A and B on Input 3, Bus C and D on Input 4 etc.
  I would use a find in C++ can you do something similar in VB.net?
  Cheers, JB 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
                           
	vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	Audio Bus State Return - Script
	 
	
    
        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