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

Reply
 
Thread Tools Display Modes
Old 07-01-2017, 12:40 AM   #1
NakajimaYusuke
Human being with feelings
 
NakajimaYusuke's Avatar
 
Join Date: Aug 2013
Location: Japan
Posts: 58
Default I want to reset "Move item contents" individually for each take (SOLVED)

Hi, Reaper can fine adjustment of item contents position by "Alt + drag (Move item contents)".
This operation is convenient for correcting sloppy takes.

However, I sometimes want to reset this process.
Is there a way to reset this process individually for each take?
__________________
Sorry about my poor English.

Last edited by NakajimaYusuke; 07-22-2017 at 08:03 PM. Reason: thank you. solved.
NakajimaYusuke is offline   Reply With Quote
Old 07-01-2017, 02:21 AM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Something like this lua code should reset offset to zero (or maybe it should be relative to first take?)

Code:
it = reaper.GetSelectedMediaItem(0,0) 
if it then  
  reaper.SetMediaItemTakeInfo_Value( reaper.GetActiveTake(it), 'D_STARTOFFS',0 ) 
  reaper.UpdateArrange() 
  reaper.Undo_OnStateChange("Reset take offset") 
end
Also if you play with items instead takes you can try this.

Last edited by mpl; 07-01-2017 at 02:30 AM.
mpl is offline   Reply With Quote
Old 07-01-2017, 03:13 PM   #3
NakajimaYusuke
Human being with feelings
 
NakajimaYusuke's Avatar
 
Join Date: Aug 2013
Location: Japan
Posts: 58
Default

Amazing! This worked perfectly!
I have assigned a shortcut key for this operation. I will use it everyday.
Thank you very much for your help for me.

Also, thanks for the other useful features. I will try soon.
__________________
Sorry about my poor English.
NakajimaYusuke 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 06:40 PM.


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