Old 08-14-2019, 05:14 PM   #1
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
Human being with feelings
MusoBob's Avatar
Join Date: Sep 2014
Posts: 971

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

Last edited by MusoBob; 08-14-2019 at 10:09 PM.
MusoBob is offline   Reply With Quote

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 11:32 PM.

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