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: 88
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,377
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: 88
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,377
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
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.