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
fgolman  
#1 Posted : Saturday, April 26, 2025 7:07:58 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 91
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
I've got a data source that sends information via UDP to vMix that identifies caller names from a phone screening system. I have been able to parse it out for the name, location (EG city) and the hybrid that the call is on (1 to 4).

Now, I'm trying to place that name into a title.

I wanted to put this name/location info in the indexed title preset (EG the title editor "list"), 1 to 4, depending upon which hybrid the call is on. This way our producer can quickly select from the presets depending which line goes on-air by right mouse clicking and selecting the appropriately populated line.

So, the problem seem to be in understanding how to get that string variable assigned to a specific index in the title. I haven't been able to successfully get that (always seems to go to the first preset).

I've been searching for samples of code to base my script snippet upon but haven't found anything.

Any example of this would be helpful.

Thank you!


Fritz Golman
RadioDNA
doggy  
#2 Posted : Saturday, April 26, 2025 7:56:28 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 300 times
Was thanked: 989 time(s) in 821 post(s)
Originally Posted by: fgolman Go to Quoted Post


So, the problem seem to be in understanding how to get that string variable assigned to a specific index in the title. I haven't been able to successfully get that (always seems to go to the first preset).

I've been searching for samples of code to base my script snippet upon but haven't found anything.

Any example of this would be helpful.

Thank you!


Fritz Golman
RadioDNA



Code:
API.Function("SetText",Input:="demo.gtzip",SelectedIndex:=1,Value:="line2")

fgolman  
#3 Posted : Saturday, April 26, 2025 10:38:08 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 91
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
This doesn't work.

Perhaps I need to clarify.

I want to populate the TITLE PRESETS.

Using your exact code it only goes into the live window, not the preset lines.

Perhaps this is a bug?

Fritz Golman
RadioDNA
doggy  
#4 Posted : Saturday, April 26, 2025 6:11:48 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 300 times
Was thanked: 989 time(s) in 821 post(s)
Originally Posted by: fgolman Go to Quoted Post
This doesn't work.

Perhaps I need to clarify.

I want to populate the TITLE PRESETS.

Using your exact code it only goes into the live window, not the preset lines.

Perhaps this is a bug?

Fritz Golman
RadioDNA


there is no function to maniplate the preset except for slect next or previous

If you realy insist on working with the presets instead of a datasource directly you still need to manipuate the preset source and import it.

My advice is to the datasource way as that window can stay open for quick selection
nikosman88  
#5 Posted : Saturday, April 26, 2025 8:55:50 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 643
Greece
Location: athens

Thanks: 155 times
Was thanked: 84 time(s) in 80 post(s)
Hi. There also exist API.Function("SelectTitlePreset", Input:="My input", Value:="1") that can go into any title preset for selected input from 0 to n
so a workaround could be first select the 1-4 line preset and then if you need to change the content for it,you use the set text function.
Or datasources is easy option
fgolman  
#6 Posted : Sunday, April 27, 2025 12:07:01 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 91
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: fgolman Go to Quoted Post
This doesn't work.

Perhaps I need to clarify.

I want to populate the TITLE PRESETS.

Using your exact code it only goes into the live window, not the preset lines.

Perhaps this is a bug?

Fritz Golman
RadioDNA


there is no function to maniplate the preset except for slect next or previous

If you realy insist on working with the presets instead of a datasource directly you still need to manipuate the preset source and import it.

My advice is to the datasource way as that window can stay open for quick selection


Thanks. I was thinking that it was read-only and you've confirmed this.

I'd love to use a data source but the information is not flowing into any kind of spreadsheet, it's a live data feed from the call screening system. I can potentially create a matrix of names in memory but the problem is the user interface of selecting the appropriate caller.

Thanks for your response.

Fritz Golman
RadioDNA
doggy  
#7 Posted : Sunday, April 27, 2025 12:27:05 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 300 times
Was thanked: 989 time(s) in 821 post(s)
Originally Posted by: fgolman Go to Quoted Post


I'd love to use a data source but the information is not flowing into any kind of spreadsheet, it's a live data feed from the call screening system. I can potentially create a matrix of names in memory but the problem is the user interface of selecting the appropriate caller.

Thanks for your response.

Fritz Golman
RadioDNA


doesnt have to be a spreadsheet, can be json, xml even a simple textfile

You mention it to be a live data feed so there must be a way to capture it, once you do one can turn it into a datasource
fgolman  
#8 Posted : Sunday, April 27, 2025 12:31:42 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 91
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
Yes, it's going to be a matter to write out the data stream to a file. Gets more complicated at every turn, unfortunately.

I'm thinking that perhaps I can addresses this a bit easier by merely having four titles of the same design and address the data into the appropriate one depending upon which hybrid/phone line the call is on.

Not as clean as using the title presets but not as complex as creating and managing files.

Thanks again.

Fritz Golman
RadioDNA
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.