vMix Forums
»
General
»
General Discussion
»
Numpad 1-9 sets text 1-9. How?
Rank: Member
Groups: Registered
Joined: 1/12/2023(UTC) Posts: 16
Thanks: 4 times
|
Friends, need help. Soccer live. When referee adds additional time (injury time) I want just to press 3 on NumPad and +3 text appears in the box (or +5 and 5 appears etc). I don't want to create 9 shortcuts for aech minute. Is it possible? Currently I "Edit Title" manually to 3 and then show this element (visible text + visible image) with A shortcut. I want to set text+show entere element with just one shortcut on NumPad (or at least set text with one shorcut and then show element with my current A shortcut)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/26/2016(UTC) Posts: 80
Thanks: 191 times Was thanked: 13 time(s) in 12 post(s)
|
Just use Set Text and use +=1 to increment the number by 1, each time you use the shortcut it will count up by 1, I always use another key with -=1 in case I accidentally enter the wrong number
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2023(UTC) Posts: 16
Thanks: 4 times
|
Originally Posted by: avsoundguy Just use Set Text and use +=1 to increment the number by 1, each time you use the shortcut it will count up by 1, I always use another key with -=1 in case I accidentally enter the wrong number
I use it already for Score_home and score_away. If there are no other suggestions I will use this method but would like my option to be implemented. Thanks you.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Afaik you will have to use 9 shortcuts. (how else would you create the 1-9 choice) Could of course use 2 shortcuts to add/subtract till you reach the desired number (displayed in a unused title for reference) and then one shortcut to display it (using dynamic value)
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2023(UTC) Posts: 16
Thanks: 4 times
|
Originally Posted by: doggy Could of course use 2 shortcuts to add/subtract till you reach the desired number (displayed in a unused title for reference) and then one shortcut to display it (using dynamic value) Seems this is the only way so far. It's still good for me. Thanks you! My text is: + 3' I need to add/subtract only number, and + and ' should always remain. Is it possible somehow?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: afonia Originally Posted by: doggy Could of course use 2 shortcuts to add/subtract till you reach the desired number (displayed in a unused title for reference) and then one shortcut to display it (using dynamic value) Seems this is the only way so far. It's still good for me. Thanks you! My text is: + 3' I need to add/subtract only number, and + and ' should always remain. Is it possible somehow? Calling a small script to do this formatting using the same source of the "variable" as an example where Headline.Text is holding the variable you adjusted Code:API.Function("SetText", Input:="Title.gtzip", SelectedName:="Description.Text", value:="+" & Input.Find("Title.gtzip").Text("Headline.Text") & "'")
either you call it or put it within a loop to automate the updating when time is changed Is up to you to figure out how to manipulate the process to suit you best (and do some research in this forum ;-) )
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2023(UTC) Posts: 16
Thanks: 4 times
|
Originally Posted by: doggy Calling a small script to do this formatting using the same source of the "variable" as an example where Headline.Text is holding the variable you adjusted Code:API.Function("SetText", Input:="Title.gtzip", SelectedName:="Description.Text", value:="+" & Input.Find("Title.gtzip").Text("Headline.Text") & "'")
either you call it or put it within a loop to automate the updating when time is changed Is up to you to figure out how to manipulate the process to suit you best (and do some research in this forum ;-) ) Almost done. Code:API.Function("SetText", Input:="Scoreboard MF red.gtzip", SelectedName:="Injury time.Text", value:="+" & Input.Find("Scoreboard MF red.gtzip.gtzip").Text("Headline.Text") & "'")
Also I have shortcut for Injury time.Text SetText +=1 But can't understand how to link this shortcut to this script. What is "Headline.Text"? Now I have just +' in scoreboard. Sorry, I am just 2 weeks in vMix (but already learned a lot and made my 1st futsal live full of automated graphics).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/23/2017(UTC) Posts: 1,212 Location: Germany Thanks: 3 times Was thanked: 168 time(s) in 150 post(s)
|
I would do a simple csv file with what you want to display
text,on/off 0,0 +1,1 +2,1 +3,1 ...
For each 1-9 shortcut you jump to the according row in the file.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: afonia Almost done. Code:API.Function("SetText", Input:="Scoreboard MF red.gtzip", SelectedName:="Injury time.Text", value:="+" & Input.Find("Scoreboard MF red.gtzip.gtzip").Text("Headline.Text") & "'")
Also I have shortcut for Injury time.Text SetText +=1 But can't understand how to link this shortcut to this script. What is "Headline.Text"? Now I have just +' in scoreboard. Sorry, I am just 2 weeks in vMix (but already learned a lot and made my 1st futsal live full of automated graphics). Headline.Text is just the name reference of one of the basic vMix titles text fields i used as example that is holding the basic value/number. you can make your own title with your own names etc As i said ,research in this forum a bit , follow the vMix video torials, documentation etc , best way to learn and understand and make your own solutions
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2023(UTC) Posts: 16
Thanks: 4 times
|
Made simplier. Drew this red box with + ' already. So just insert number between with SetText +=1. Thank you all.
P.S. Anyway, learning how to make it with script for other cases.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: afonia Made simplier. Drew this red box with + ' already. So just insert number between with SetText +=1. Thank you all.
P.S. Anyway, learning how to make it with script for other cases. is an option as long as you have single digit and alignment is perfect ;-)
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Numpad 1-9 sets text 1-9. How?
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