Thanks Simon, I'm still having trouble with this. The script worked but for some reason it broke some other functionality.
Currently, the data is driven by a Datalinq key (manual input). I'm trying to automate it.
Another thing I could try - Is there anyway to auto populate this object (after running the script math) into a Datalinq key? That could solve my issue.
Original Message:
Sent: 10-13-2025 04:45
From: Simon Redmile
Subject: Field text to Sequencer item name
I would have an onOnline script for this yes.
Dim text As xpTextObject
Dim num As Integer
Self.GetObjectByName("Text1", text)
' Convert the text to a number
num = CInt(text.Text)
' Add 1
num = num + 1
' Set the new value back as text
text.Text = CStr(num)
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 10-12-2025 16:34
From: Paulo Dias
Subject: Field text to Sequencer item name
Hey Simon, I appreciate the feedback, will switch it to "&".
This reminds me that I have another scene in the same project in which I need to do some math script for. I tried it in Visual Logic but it seems like the logic is only working after the scene goes online and the scene updates (wrongfully) mid air.
Basically I need a script that grabs the value of textField1 (Datalinqed) and places into textField2 after adding a plus "1".
Example, if textField1 contains "2", textField2 should read "3".
Is scripting the way to go for this?
Thank you!
------------------------------
Paulo Dias
Original Message:
Sent: 10-12-2025 05:47
From: Simon Redmile
Subject: Field text to Sequencer item name
I would use ampersand "&" instead of plus "+" in future just incase you get into doing mathematics, using plus symble will get confusing, other than that, nice one!
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 10-11-2025 13:55
From: Paulo Dias
Subject: Field text to Sequencer item name
Here it goes.
The result was:
"L3 Joe Smith, Jack Furly, Tina Robson"
------------------------------
Paulo Dias
Original Message:
Sent: 10-10-2025 01:48
From: Alejandro Galvan
Subject: Field text to Sequencer item name
Could you please upload some screenshots of how you did it and one of your results?
Thank you.
------------------------------
Alejandro Galvan
LA36 LOS ANGELES TV ACCESS
Original Message:
Sent: 10-09-2025 11:10
From: Paulo Dias
Subject: Field text to Sequencer item name
Thanks Simon, that works perfectly.
All I added was + " L3" on the last line.
Appreciate the fast response!
------------------------------
Paulo Dias
Original Message:
Sent: 10-09-2025 10:49
From: Simon Redmile
Subject: Field text to Sequencer item name
What a great question, I dunno why I have never though to do this, anyway I was so intriged I decided to go write a test and got it first time and it seems pretty robost.
I only tested this with a simple scene so go steady as I could see it potentially cause some slowness.
Put this script "OnPreviewRender"
dim item as xpTakeItem
dim text as xpTextObject
self.GetObjectByName("Text1", text)
engine.Sequencer.GetFocusedTakeItem(item)
item.Name = text.Text
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 10-09-2025 10:41
From: Paulo Dias
Subject: Field text to Sequencer item name
Hey everyone,
Is there a way to automate the Sequencer name item to reflect a certain text field. For example, my lower third contains a name field "Jose Martinez". I would like the name of the sequencer item to be called "Jose Martinez L3".
That would save me from manually renaming many sequencer items.
Thanks!
------------------------------
Paulo Dias
------------------------------