Old 07-08-2021, 05:27 AM   #1
bruno123
Human being with feelings
 
bruno123's Avatar
 
Join Date: Aug 2019
Posts: 55
Default Select midi notes inside region



I want to double-click on the region to have all the notes inside it selected. Is it possible?
bruno123 is offline   Reply With Quote
Old 07-08-2021, 09:24 PM   #2
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Right click Save Link/Target As
Select all midi notes starting in current region.lua

If you don't want to unselect all other notes first then leave out
Code:
  -- UNSELCT ALL NOTES
  reaper.MIDIEditor_OnCommand( reaper.MIDIEditor_GetActive(), 40214 )-- Edit: Unselect all
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 07-23-2021, 05:04 AM   #3
bruno123
Human being with feelings
 
bruno123's Avatar
 
Join Date: Aug 2019
Posts: 55
Default

Quote:
Originally Posted by MusoBob View Post
Right click Save Link/Target As
Select all midi notes starting in current region.lua

If you don't want to unselect all other notes first then leave out
Code:
  -- UNSELCT ALL NOTES
  reaper.MIDIEditor_OnCommand( reaper.MIDIEditor_GetActive(), 40214 )-- Edit: Unselect all
Thank you.

How do I apply this script to whenever I double-click on a region inside the midi editor?
bruno123 is offline   Reply With Quote
Old 07-23-2021, 10:16 AM   #4
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Run it or create a Shortcut

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 07-23-2021, 10:26 AM   #5
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Sorry, for double click load the script in the MIDI Editor Actions then:

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob 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 07:14 PM.


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