Go Back   Cockos Incorporated Forums > REAPER Forums > newbieland

Reply
 
Thread Tools Display Modes
Old 08-14-2019, 05:14 PM   #1
ErM
Human being with feelings
 
Join Date: Jul 2019
Posts: 2
Default Scripting for Mouse Modifiers?

Would it be possible to create a script that switches the function of right click and double click in the piano roll? I want to open the context menu when double clicking on a midi note rather than right clicking on it, but I also want right click to function the way it normally does everywhere except the piano roll. I'm not sure how scripting works at all, I just want to know if this is even feasible.
ErM is offline   Reply With Quote
Old 08-14-2019, 09:36 PM   #2
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Not sure if you can do it in Reaper or not, but AutoHotKey should do it with "WinGet" so if the current window = Midi Editor it will send right click when you double left click. You may have to change the Mouse Modifier Default Double click to do nothing rather than delete note.
BUT, you need Windows for AHK though there are Mac modifiers and apple script that may do the job.

EDIT: something like this
WinGetClass, class, A
if %class%" = REAPERmidieditorwnd then

See if you find a solution here if not and you want to try AHK give it a go, I haven't AHK for a while but I can look into it if you get stuck.

I added it into my mouse screen zoom AHK:
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak

Last edited by MusoBob; 08-14-2019 at 10:09 PM.
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 04:41 PM.


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