logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
rickvoskamp  
#1 Posted : Tuesday, June 27, 2017 4:36:24 PM(UTC)
rickvoskamp

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.
doggy  
#2 Posted : Tuesday, June 27, 2017 4:56:59 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,223
Belgium
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




doggy  
#3 Posted : Tuesday, June 27, 2017 5:03:58 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,223
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
a few link to get started

Here

and

Here
rickvoskamp  
#4 Posted : Wednesday, June 28, 2017 1:09:08 PM(UTC)
rickvoskamp

Rank: Member

Groups: Registered
Joined: 2/3/2017(UTC)
Posts: 11

Thanks: 2 times
doggy wrote:
a few link to get started

Here

and

Here

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 #.
doggy  
#5 Posted : Friday, February 23, 2018 9:13:07 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,223
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
SetTextColor is now in the API
User is suspended until 7/1/2029 2:52:17 AM(UTC) najafysmm  
#6 Posted : Monday, December 11, 2023 10:27:36 PM(UTC)
najafysmm

Rank: Newbie

Groups: Registered
Joined: 11/28/2023(UTC)
Posts: 9
United Arab Emirates
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
raugert  
#7 Posted : Tuesday, December 12, 2023 1:09:19 AM(UTC)
raugert

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2017(UTC)
Posts: 569
Canada
Location: Manitoba

Thanks: 115 times
Was thanked: 313 time(s) in 178 post(s)
Originally Posted by: najafysmm Go to Quoted Post
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"
thanks 1 user thanked raugert for this useful post.
najafysmm on 12/31/2023(UTC)
User is suspended until 7/1/2029 2:52:17 AM(UTC) najafysmm  
#8 Posted : Sunday, December 31, 2023 9:11:06 PM(UTC)
najafysmm

Rank: Newbie

Groups: Registered
Joined: 11/28/2023(UTC)
Posts: 9
United Arab Emirates
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
doggy  
#9 Posted : Sunday, December 31, 2023 10:16:50 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,223
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: najafysmm Go to Quoted Post
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.)?
User is suspended until 7/1/2029 2:52:17 AM(UTC) najafysmm  
#10 Posted : Monday, January 1, 2024 3:42:57 PM(UTC)
najafysmm

Rank: Newbie

Groups: Registered
Joined: 11/28/2023(UTC)
Posts: 9
United Arab Emirates
Location: Abudabi

Thanks: 1 times
Hi Mr Doggy
yes
take a look at this video

Flashing Subtitle When Color Changes

i 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
doggy  
#11 Posted : Monday, January 1, 2024 6:46:20 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,223
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: najafysmm Go to Quoted Post
Hi Mr Doggy
yes
take a look at this video

Flashing Subtitle When Color Changes

i 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
Users browsing this topic
Guest
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.