Not in general and not for multiple items. However, tm:GetCurrentVideoItem() returns the currently selected video clip.
Good judgement comes from experience. Experience comes from bad judgement. # Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 # # BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
SeldomSeenKid wrote:However, tm:GetCurrentVideoItem() returns the currently selected video clip.
This is actually not true, unfortunately. GetCurrentVideoItem() only returns the uppermost video item that is currently under the playhead. Clip selection is not factored in at all. I wish this wasn't the case.
SeldomSeenKid wrote:However, tm:GetCurrentVideoItem() returns the currently selected video clip.
This is actually not true, unfortunately. GetCurrentVideoItem() only returns the uppermost video item that is currently under the playhead. Clip selection is not factored in at all. I wish this wasn't the case.
Thanks for the info, so there is really no way to know if a clip is selected.
I guess the same is true for a clip/timeline being enabled/locked ?
Hey DR dev team, When will we get some movement on this, please? The lack of this basic functionality is holding back the scripting community. Go and visit the REAPER (DAW) forums and you will see the scripting community is very healthy and a great source of innovation.