vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	Changing input through data change
	 
	
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 9/3/2019(UTC) Posts: 4  Location: Tangerang  
	 
	
     | 
    
        
            
		      
                Dear all, I have question, does it possible to change camera input using data change,  I have mini quiz game that have API on Player seat, so every player on the screen, API will fetch Seat code from game, then I need to show player cam from that seat. so I using excel as data source, and in the excel there is 2 sheet  sheet 1 will lock to data change source and sheet 2 as reference  for example:    The objection is automation input using data change, so I didn't need to operate this pc because the entire operation controlled by API from game to change the camera. since I dumb with programming, if possible can you guys give me some help with this problem.  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,451  Location: Belgium Thanks: 311 times Was thanked: 1008 time(s) in 830 post(s)
  
	 
	
     | 
    
        
            
		      
                Originally Posted by: goldenyears  Dear all,
  I have question, does it possible to change camera input using data change, 
   Yes Quote:since I dumb with programming, if possible can you guys give me some help with this problem.  You are willing to learn it or you want someone else to do it for you ? There are many similar questions about responding to data changes in this forum to look into even script examples  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 9/3/2019(UTC) Posts: 4  Location: Tangerang  
	 
	
     | 
    
        
            
		      
                Originally Posted by: doggy  Originally Posted by: goldenyears  Dear all,
  I have question, does it possible to change camera input using data change, 
   Yes Quote:since I dumb with programming, if possible can you guys give me some help with this problem.  You are willing to learn it or you want someone else to do it for you ? There are many similar questions about responding to data changes in this forum to look into even script examples  I willing to learn but maybe need times and lot of question  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,451  Location: Belgium Thanks: 311 times Was thanked: 1008 time(s) in 830 post(s)
  
	 
	
     | 
    
        
            
		      
                It's pretty simple really (no there is no direct way but with some logic there i a workaround)
  What shortcut would need to be used to achieve the result with the selected input ? (check the shortcut list )  example the input chosen should be overlayed or cut etc) 
  A title input content responds to a data change from your data source and a script can read the content of the title and  instruct a "shortcut" command.
  Check out the "scripting for dummies" post in this forum first, there are a few examples in there that would suit you with a bit of adaptation 
 
 
 
  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 9/3/2019(UTC) Posts: 4  Location: Tangerang  
	 
	
     | 
    
        
            
		      
                Originally Posted by: doggy  It's pretty simple really (no there is no direct way but with some logic there i a workaround)
  What shortcut would need to be used to achieve the result with the selected input ? (check the shortcut list )  example the input chosen should be overlayed or cut etc) 
  A title input content responds to a data change from your data source and a script can read the content of the title and  instruct a "shortcut" command.
  Check out the "scripting for dummies" post in this forum first, there are a few examples in there that would suit you with a bit of adaptation 
 
 
 
   which one? can you provide me example script? I cannot found what i need in Scripting for Dummies  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	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)
  
	 
	
     | 
    
        
            
		      
                Originally Posted by: goldenyears   which one? can you provide me example script? I cannot found what i need in Scripting for Dummies
  Do you expect other people to do your work??  
            
	  
         
     | 
    
        
              1 user thanked stigaard for this useful post.  
     | 
    
        
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 9/3/2019(UTC) Posts: 4  Location: Tangerang  
	 
	
     | 
    
        
            
		      
                Originally Posted by: stigaard  Originally Posted by: goldenyears   which one? can you provide me example script? I cannot found what i need in Scripting for Dummies
  Do you expect other people to do your work??  no no no, I didn't ask to do my work, I ask example, like source code so I can learn how it's works,   
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,451  Location: Belgium Thanks: 311 times Was thanked: 1008 time(s) in 830 post(s)
  
	 
	
     | 
    
        
            
		      
                Originally Posted by: goldenyears  
  no no no, I didn't ask to do my work, I ask example, like source code so I can learn how it's works, 
  That's what they are in the "Scripting for Dummies", examples  Those are never exactly  what you want but give you hints on how to's. Most of them have a little bit of explenation within  There is one that contains  reading the content of a title textbox (That will be auto updated  by your data source ) use that result to decide to give the command (multiple examples there )  Read the helpfiles for a list of the possible commands (same as for shortcuts) , check which shortcut  you would need if you did it manually and use that in your script  as you will need to regularly check on the data change , read up on vb.net coding on how to loop an test for situations ( polling  to see when the textbox content changes)  you said you wanted to learn :-)  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
                           
	vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	Changing input through data change
	 
	
    
        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