You can always disconnect the data in sequencer for that item so it doesn't change.

If that's not what you want I'd recommend setting up some kind of copy on keypress, so when ou do a keypress it copies from the datalinq fields to a static text box and they are visible while the datalinq'd text is not.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 01-27-2023 09:01
From: Daniël
Subject: Copy datalink values to text values
I've not been clear about what my intent is, i'm sorry.
I want to edit the published data per sequenceitem. So in sequenceitem 1 i want data 1, so when i come back to sequenceitem 1, data 1 is still there eventhough its not there anymore in datalinq. I've no idea how i would accomplish this
------------------------------
Daniël Vegter
Graphics Operator
NEP The Netherlands
Original Message:
Sent: 01-27-2023 08:57
From: Red
Subject: Copy datalink values to text values
Getfocusedtakeitem should work, what did write?
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 01-27-2023 08:50
From: Daniël
Subject: Copy datalink values to text values
I've found the key-press scripting part, thanx. But i'm looking for a piece of code that would tell my script to find the scene that is selected in the sequencer.
I guess i could direct it to the preview-framebuffer, but it would be neater if it were to direct directly to the selected sequence.
i've tried getfocusedtakeitem or scene but got no luck.
------------------------------
Daniël Vegter
Graphics Operator
NEP The Netherlands
Original Message:
Sent: 01-27-2023 08:42
From: Red
Subject: Copy datalink values to text values
You don't need to make it a global you just need to add it to a key press.


Drag script into your shortcuts.

type your script.

Set shortcut.

Don't forget you'll need to tell the script how to find the scene first.
For example:
dim scene as xpScene
dim fb as xpOutputFramebuffer
engine.GetOutputFramebuffer(0, fb)
fb.GetSceneOnLayer(0, scene)
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 01-27-2023 08:34
From: Daniël
Subject: Copy datalink values to text values
Hi,
I'm pushing datalinq values from a streamdeck thru tcp to datalinq.
How would i write a script that copy's the datalinq value to the currently selected textobject in the currently selected sequencer?
I have a script that reads a textobject in the scene that gets filled with the datalinqvalue, and copys it to the final textobject, but i want this to run under a button.
So how would i make this global?
"Naam" is the destination textobject
"datalinqnaam" is the datalinq-filled dummy textobject
dim _naam as xpTextObject
dim _datalinqnaam as xpTextObject
self.GetObjectByName("Naam", _naam)
self.GetObjectByName("datalinqnaam", _datalinqnaam)
_naam.Text = _datalinqnaam.Text
Thanx!
------------------------------
Daniël Vegter
Graphics Operator
NEP The Netherlands
------------------------------