vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	API - Send multiple Values/ Inputs at once
	 
	
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 8/15/2017(UTC) Posts: 36 Location: Berlin
  Was thanked: 1 time(s) in 1 post(s)
  
	 
	
     | 
    
        
            
		      
                Is there a way for the API to send multiple Inputs or Values at once?
  Especially the following are interesting to me:
  Shut on/off multiple MultiViewOverlays at once, currently it's like  /api/?Function=MultiViewOverlayOn&Input=4&Value=1 /api/?Function=MultiViewOverlayOn&Input=4&Value=3 /api/?Function=MultiViewOverlayOn&Input=4&Value=5
  is there a way to combine it somehow like this (results as invalid parameters) /api/?Function=MultiViewOverlayOn&Input=4&Value=1,3,5
 
  Is there a way to set the Textfields of different Inputs at once    API/?Function=SetText&Input=1&SelectedName=MyText&Value=test API/?Function=SetText&Input=2&SelectedName=MyText&Value=test API/?Function=SetText&Input=3&SelectedName=MyText&Value=test
  becomes something like? API/?Function=SetText&Input=1&Input=2&Input=3&SelectedName=MyText&Value=test or API/?Function=SetText&Input=1,2,3&SelectedName=MyText&Value=test
 
  Thanks in advance 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 5/20/2015(UTC) Posts: 492   Location: Copenhagen, Denmark Thanks: 411 times Was thanked: 102 time(s) in 79 post(s)
  
	 
	
     | 
    
        
            
		      
                Yes there is. Take a look at  http://www.vmix.com/know...-using-scripting-and-api for more info. Basically you make one (post) request where the data includes Function=ScriptStartDynamic, and the Value is your commands - one on each line, actually pretty equal to the ones you provided.  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 8/15/2017(UTC) Posts: 36 Location: Berlin
  Was thanked: 1 time(s) in 1 post(s)
  
	 
	
     | 
    
        
            
		      
                Thanks for your replay, but i guess scripting is only availible to the 4K/pro and not the HD version of vmix... 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 5/20/2015(UTC) Posts: 492   Location: Copenhagen, Denmark Thanks: 411 times Was thanked: 102 time(s) in 79 post(s)
  
	 
	
     | 
    
        
            
		      
                slxxi wrote:Thanks for your replay, but i guess scripting is only availible to the 4K/pro and not the HD version of vmix...  Hi slxxi. You are not limited to send the requests to the Web API via scripting, you can send the request from any application or browser.  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 11/14/2012(UTC) Posts: 300  Location: Finland Thanks: 173 times Was thanked: 15 time(s) in 13 post(s)
  
	 
	
     | 
    
        
            
		      
                slxxi wrote:i guess scripting is only availible to the 4K/pro and not the HD version of vmix...  In my opinion scripting should be available for HD customers also. I hope Martin will enable it in v20. Kind regards, Jan  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 5/20/2015(UTC) Posts: 492   Location: Copenhagen, Denmark Thanks: 411 times Was thanked: 102 time(s) in 79 post(s)
  
	 
	
     | 
    
        
            
		      
                I think the price for the 4K and Pro version are so low, and the features are so great and powerful, so you should support vMix by buying the more expensive versions (which is not expensive after all!). 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
                           
	vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	API - Send multiple Values/ Inputs at once
	 
	
    
        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