Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 01-16-2018, 07:27 AM   #41
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

15
vitalker is online now   Reply With Quote
Old 02-08-2021, 03:49 PM   #42
FNGL
Human being with feelings
 
FNGL's Avatar
 
Join Date: Jun 2018
Location: Norway
Posts: 5
Default

Thank you so much for this, spk77 and cfillion! It's been a staple in my workflow for about a year at this point. However, it seems to refuse to split the media item even if it is not locked but it is "locked to the active take". I don't know if this behavior was intended, but it isn't suitable for my own workflow, at least.

I've gone ahead and tried to solve this myself, but I haven't found a great way to solve it yet, since it seems like "C_LOCK" returns a 1 if anything regarding the media item at all is locked. So I've made a version that will *always* split the item if it has multiple takes. It is a very hacky solution, but it works. If you know of a better way to solve this, I'd love to hear about it!

By the way, is there a good way to get this version on ReaPack? This is my first time doing anything with Reaper scripting, so I don't know how ya'll work your magic quite yet

Last edited by FNGL; 02-08-2021 at 03:55 PM.
FNGL is offline   Reply With Quote
Old 02-08-2021, 04:02 PM   #43
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

I've released v1.1 with a fix. C_LOCK's first bit is set when the item is locked and the second bit is the active-take lock.
cfillion is offline   Reply With Quote
Old 02-08-2021, 04:09 PM   #44
FNGL
Human being with feelings
 
FNGL's Avatar
 
Join Date: Jun 2018
Location: Norway
Posts: 5
Default

Quote:
Originally Posted by cfillion View Post
I've released v1.1 with a fix. C_LOCK's first bit is set when the item is locked and the second bit is the active-take lock.
You're a legend, mate. Thanks!
FNGL is offline   Reply With Quote
Old 02-08-2021, 09:59 PM   #45
gvdv
Human being with feelings
 
Join Date: Jun 2011
Posts: 293
Default

16
__________________
"If The Beatles or the 60's had a message, it was 'Learn to swim'. And once you've
learned - swim!"
John Lennon
gvdv is offline   Reply With Quote
Old 10-26-2021, 08:38 AM   #46
cdmstudios
Human being with feelings
 
cdmstudios's Avatar
 
Join Date: Oct 2008
Posts: 424
Default

Quote:
Originally Posted by jonboper View Post
+1, inventive solutions for a problem that shouldn't exist.
Exactly. Everyone's help here is amazing, but a much simpler solution is to not allow locked items to be split (at least given the option).
cdmstudios is offline   Reply With Quote
Old 11-13-2021, 04:56 PM   #47
daeavelwyn
Human being with feelings
 
daeavelwyn's Avatar
 
Join Date: Dec 2014
Posts: 597
Default

Quote:
Originally Posted by cfillion View Post
I've released v1.1 with a fix. C_LOCK's first bit is set when the item is locked and the second bit is the active-take lock.
Nice shot !! Could it be possible to improve this at it also takes care of ctrl+drag region to dupplicate regions ? Actually it splits items :-(
daeavelwyn is offline   Reply With Quote
Old 01-18-2022, 10:41 AM   #48
Seldrums
Human being with feelings
 
Seldrums's Avatar
 
Join Date: Jan 2012
Location: North Pole
Posts: 226
Default

This is amazing!

I'll second daeavelwyn's comment. Could this possibly be extended to include copying/moving/dragging regions? In scoring to picture and arranging sections, this could be the long awaited solution to locked video items constantly requiring maintenance edits after region edits.
Seldrums is offline   Reply With Quote
Old 01-18-2022, 01:50 PM   #49
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,874
Default

@Seldrums
Not really

A script to copy and then restore a particular track state chunk (items etc) could be a workarround though assumong your video items are on dedicated tracks

better wouod be to write a dedicated feature request thread with screenshots.
X-Raym is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.