vMix Forums
»
General
»
Feature Requests
»
Change text color with API
Rank: Member
Groups: Registered
Joined: 2/3/2017(UTC) Posts: 11
Thanks: 2 times
|
I want to change the text color of a title (XAML) using the API.
Is it possible already? I have not found a solution yet.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
no but there are a few workaround options with adapted titles by sending values to hidden textfields that are binded with your visible textfields
There have been a few examples posted in the forum
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 2/3/2017(UTC) Posts: 11
Thanks: 2 times
|
Thanks, i used this solution! Next 'problem': I want tot put a default # in front, so i can update the color with the API using a HEX-code? Who can help me? Quote:{Binding Text, ElementName=COLOR_BLOCK_1}
Update: I found a solution: Code:http://192.168.1.26:8088/api/?function=SetText&input=1&SelectedName=homeBackgroundColor&Value=%23000000
Use: %23 to get a #.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
SetTextColor is now in the API
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/28/2023(UTC) Posts: 9 Location: Abudabi Thanks: 1 times
|
Hi I saw your post about ticker text color change vmix web api and tries much more urls http://127.0.0.1:4473/api/Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=FF4040&SelectedName=Ticker1.Text http://127.0.0.1:4473/api/Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=#FF4040&SelectedName=Ticker1.Text http://127.0.0.1:4473/api/?Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=#00FF4040&SelectedName=Ticker1.Text http://127.0.0.1:4473/api/?Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=%23FF4040&SelectedName=Ticker1.Text but nothing Happens ! tnx 4 ur help
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 115 times Was thanked: 313 time(s) in 178 post(s)
|
Originally Posted by: najafysmm Hi I saw your post about ticker text color change vmix web api and tries much more urls http://127.0.0.1:4473/api/Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=FF4040&SelectedName=Ticker1.Text http://127.0.0.1:4473/api/Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=#FF4040&SelectedName=Ticker1.Text http://127.0.0.1:4473/api/?Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=#00FF4040&SelectedName=Ticker1.Text http://127.0.0.1:4473/api/?Function=SetColor&Input=55eda683-f779-40c2-bcff-bcb272040131&Value=%23FF4040&SelectedName=Ticker1.Text but nothing Happens ! tnx 4 ur help Try using "SetTextColor" instead of "SetColor"
|
1 user thanked raugert for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/28/2023(UTC) Posts: 9 Location: Abudabi Thanks: 1 times
|
tnx alot i solved it but there is a new problem here it cant be to change the color and a flash not occur in title as you know it happens when manually change the text color of subtitles and also will be done when automatically done with web api
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: najafysmm tnx alot i solved it but there is a new problem here it cant be to change the color and a flash not occur in title What flash (a sudden brief burst of bright light.)?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/28/2023(UTC) Posts: 9 Location: Abudabi Thanks: 1 times
|
Hi Mr Doggy yes take a look at this video Flashing Subtitle When Color Changesi dont know how to share it with you Rec 0029c.avi (3,527kb) downloaded 12 time(s).as you see in this video when i try to change the ticker color it flashes and bring back to previous words before spacing red circle what is the solution for this ? normal text is white and red circle is separator
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: najafysmm Hi Mr Doggy yes take a look at this video Flashing Subtitle When Color Changesi dont know how to share it with you Rec 0029c.avi (3,527kb) downloaded 12 time(s).as you see in this video when i try to change the ticker color it flashes and bring back to previous words before spacing red circle what is the solution for this ? normal text is white and red circle is separator This is not a "flash: but a restart of the ticker animation due to change in color, font or content which is normal behaviour for a GT ticker. A ticker is a single "animated" Textblock container you can not change during this action be it font or color. While one can "add" content/data to the title field instead of "replace" as ticker type to get mutiple added data to one line , changing color or font will reset the animation with is current content . Solution is t make sure one does not change color or font while content is visible during the passing of the content
|
|
|
|
vMix Forums
»
General
»
Feature Requests
»
Change text color with API
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