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
brianburks  
#1 Posted : Tuesday, November 29, 2022 2:52:24 PM(UTC)
brianburks

Rank: Newbie

Groups: Registered
Joined: 9/28/2022(UTC)
Posts: 2
United States
Location: TN

I have a custom 2x2 multiview input for 4 inputs. Can I use a script to dynamically change the border color of each layer?
doggy  
#2 Posted : Tuesday, November 29, 2022 6:23:26 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 294 times
Was thanked: 960 time(s) in 794 post(s)
Originally Posted by: brianburks Go to Quoted Post
I have a custom 2x2 multiview input for 4 inputs. Can I use a script to dynamically change the border color of each layer?


There is no (shortcut)function to do so

Alternativly use a (title)rectangle behind and use setcolor function (rectangle.fill.color) to change
brianburks  
#3 Posted : Wednesday, November 30, 2022 2:37:35 AM(UTC)
brianburks

Rank: Newbie

Groups: Registered
Joined: 9/28/2022(UTC)
Posts: 2
United States
Location: TN

Originally Posted by: doggy Go to Quoted Post
Originally Posted by: brianburks Go to Quoted Post
I have a custom 2x2 multiview input for 4 inputs. Can I use a script to dynamically change the border color of each layer?


There is no (shortcut)function to do so

Alternativly use a (title)rectangle behind and use setcolor function (rectangle.fill.color) to change
.



Thanks so much for the help. Your solution is perfect for what I need. I can't seem to find or figure out the correct API call. I can change text box values but not background color. This is one of my attempts: http://192.168.1.236:8088/api/?Function=SetColor&Input=4rectangles&SelectedName=Rectangle2.Fill.Color&Value=#80FF00. My input name is 4rectangles. My rectangle is Rectangle2. Any chance you could help me out one more time?

doggy  
#4 Posted : Wednesday, November 30, 2022 3:03:19 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 294 times
Was thanked: 960 time(s) in 794 post(s)
Originally Posted by: brianburks Go to Quoted Post




Thanks so much for the help. Your solution is perfect for what I need. I can't seem to find or figure out the correct API call. I can change text box values but not background color. This is one of my attempts: http://192.168.1.236:8088/api/?Function=SetColor&Input=4rectangles&SelectedName=Rectangle2.Fill.Color&Value=#80FF00. My input name is 4rectangles. My rectangle is Rectangle2. Any chance you could help me out one more time?



Special characters need to be URL encoded SEE

............Rectangle2.Fill.Color&Value=%2380FF00

Also make sure the rectangle setting of hidden is unchecked (data tab in title designer)
Users browsing this topic
Guest (2)
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.