Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 09-27-2017, 05:51 PM   #1
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
Default Looking for a custom action help please

Good morning.

Can someone tell me how to create a custom action (because I can't find a script that does this in Reaper). I would like to select MIDI notes in an item, and copy them to a new item in one action. But I can't wrap my brain around the correct order of actions to do this in one action.

Or do I need to make two, one for the copy and one for paste?

I just want to be able to select some MIDI notes from one item and paste them to a new item on the same track.

Thank you.
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 09-27-2017, 08:13 PM   #2
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,271
Default

Hit the '?' key to open actions list, click new custom action and add the actions you want performed in the order you want them performed. Use the 'consolidate' checkbox if you want your custom action to appear as a single custom action in the undo history (rather than list all the actions it contains).

The limitation you are likely to run into here is that you can't combine actions from the main window and the MIDI Editor in a single custom action. Just take the steps you need to get the behavior you want and look at the undo history to see what actions they were and combine what you can.

Btw how have you managed to use Reaper for 7 years with no custom actions?? I have hundreds.

Anyways, I don't think you can get this into a single action without script, so I recommend you: select the notes, duplicate the item (without pooling), open the second item and invert the selection (same selection should exist in copy) and delete.
__________________
foxyyymusic

Last edited by foxAsteria; 09-27-2017 at 08:24 PM.
foxAsteria is online now   Reply With Quote
Old 09-27-2017, 10:47 PM   #3
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

the problem here is that your action needs to use 2 different action lists and you can't combine them in a custom action or cycle action. Maybe a script can get around that.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 09-27-2017, 11:07 PM   #4
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

You can accomplish your wish by means of using the MIDI Inline Editor.

First:
Open Action List.
Choose for "Section" : MIDI Inline Editor
Click on the "New.." button at the right of "Custom actions"

These are the actions you need in the Custom Action:

Edit: Copy
Edit: Paste


Assign a shortcut to the custom action.

Now, this becomes your workflow:

- Select the midi item in which you wanna select some midi notes.
- Open MIDI Inline Editor (assign this also to a keyshortcut for faster workflow!)
- Select midi notes
- left mouse click in Arrange, where you want to have the selected notes to be copied.
- execute the custom action.


Outcome:
A new midi item gets created, with only the notes you selected in the "original" midi item.
You can now close the MIDI Inline Editor.

Hope this helps !
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 09-28-2017, 05:31 AM   #5
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
Default

Quote:
Originally Posted by vanhaze View Post
You can accomplish your wish by means of using the MIDI Inline Editor.

First:
Open Action List.
Choose for "Section" : MIDI Inline Editor
Click on the "New.." button at the right of "Custom actions"

These are the actions you need in the Custom Action:

Edit: Copy
Edit: Paste


Assign a shortcut to the custom action.

Now, this becomes your workflow:

- Select the midi item in which you wanna select some midi notes.
- Open MIDI Inline Editor (assign this also to a keyshortcut for faster workflow!)
- Select midi notes
- left mouse click in Arrange, where you want to have the selected notes to be copied.
- execute the custom action.


Outcome:
A new midi item gets created, with only the notes you selected in the "original" midi item.
You can now close the MIDI Inline Editor.

Hope this helps !
Bloody brilliant. You are amazing! THANK YOU

Quote:
Originally Posted by EpicSounds View Post
the problem here is that your action needs to use 2 different action lists and you can't combine them in a custom action or cycle action. Maybe a script can get around that.
Ah, thank you !

Quote:
Originally Posted by foxAsteria View Post
Hit the '?' key to open actions list, click new custom action and add the actions you want performed in the order you want them performed. Use the 'consolidate' checkbox if you want your custom action to appear as a single custom action in the undo history (rather than list all the actions it contains).


Btw how have you managed to use Reaper for 7 years with no custom actions?? I have hundreds.

I have plenty of custom actions, I just didn't know how to create one to accomplish my task here.
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 09-28-2017, 05:44 AM   #6
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

UR Welcome !

Actually, never assumed it was possible at all.
Think it's useful for my own workflow too 😂
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 09-28-2017, 11:57 PM   #7
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

Solution!
I just learned this tonight

Let's say you use V for paste in arrange view

open MIDI editor action list, search for "Misc: Pass through key to main window" and add V

Now select notes as normal, copy as normal then V will paste inside the item if it's open, or to a new item if the cursor isn't in the item.

I think that's what you wanted
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds 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 12:15 PM.


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