Original Message:
Sent: 02-15-2024 19:00
From: Chris Jordan
Subject: Utilize Take Item number as value
Amazing! Many thanks Simon - this provided the result needed to pair with the amount of resized/styled image files we handle for daily production
------------------------------
Chris Jordan
Graphic Artist in Charge
NBCUniversal
Original Message:
Sent: 02-15-2024 15:29
From: Simon Redmile
Subject: Utilize Take Item number as value
engine.sequencer.getFocusedTakeItem(take1)
for example
dim take1, take2 as xpTakeItem
engine.sequencer.getFocusedTakeItem(take1)
engine.sequencer.getTakeItemByID(take1.ID + 1000,take2)
take1.execute
take2.execute
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 02-15-2024 14:27
From: Chris Jordan
Subject: Utilize Take Item number as value
Hello!,
I found this little gem of a script in the forum to overwrite an existing TakeItem with the ID of 1000:
dim take2 as xpTakeItem
engine.sequencer.getTakeItemByID(1000,take2)
take2.ID = 2000
I was wondering if there was a way to extract the Take ID (regardless of it's number) to use the value for other scripting purposes. The case I'd like to try is a TakeID number (ex 1234) could be used to drive SetVolatileTexture to map an image with the same naming (1234.jpg). Not sure if this is even possible but wanted to throw it out there.
------------------------------
Chris Jordan
Graphic Artist in Charge
NBCUniversal
------------------------------