vMix Forums
»
General
»
GT
»
Color Script
Rank: Newbie
Groups: Registered
Joined: 1/13/2021(UTC) Posts: 3 Location: Москва Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
Hi Friends, help me write a script. It is necessary that the text when pressed, let's say on A, starts up and changes color (blinking red, for example), and pressing B stops and becomes white.
|
1 user thanked Trambler for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,209 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
You don't need a script to change textcolors using a key (A - B) but shortcuts
the changecolor function is in the list of shortcuts as is hide/unhide to simulate blinking
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/13/2021(UTC) Posts: 3 Location: Москва Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: doggy You don't need a script to change textcolors using a key (A - B) but shortcuts
the changecolor function is in the list of shortcuts as is hide/unhide to simulate blinking What is needed is a script to simulate blinking text Function=SetTextColour&Duration=1000&Input=White.gtzip&Value=red&SelectedName=TextBlock1.Text How do I loop this command?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,209 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
What you need is a understanding of programming first! Please check how shortcuts functions are defined (elements needed) before converting it into a function for in a script . both need the same arguments ! a SetTextColour for example does NOT contain a duration argument. one can not mix and match various arguments from different functions ! also google on how to program in vb.net for example like how to loop etc one can also check the "scripting for dummies" post in this forum to get many examples Code:'blinking text
do while true
API.Function("SetTextVisible",Input:="Text Middle Centre Left Right Sharp.gtzip",SelectedName:="Message.Text")
sleep(1000)
loop
if the title is only one text one can use triggers to blink too (overlay on/off) ;-)
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/13/2021(UTC) Posts: 3 Location: Москва Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: doggy What you need is a understanding of programming first! Please check how shortcuts functions are defined (elements needed) before converting it into a function for in a script . both need the same arguments ! a SetTextColour for example does NOT contain a duration argument. one can not mix and match various arguments from different functions ! also google on how to program in vb.net for example like how to loop etc one can also check the "scripting for dummies" post in this forum to get many examples Code:'blinking text
do while true
API.Function("SetTextVisible",Input:="Text Middle Centre Left Right Sharp.gtzip",SelectedName:="Message.Text")
sleep(1000)
loop
if the title is only one text one can use triggers to blink too (overlay on/off) ;-) Thanks, Everything started
|
|
|
|
vMix Forums
»
General
»
GT
»
Color 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