View Single Post
Old 02-20-2018, 01:13 PM   #17
spk77
Human being with feelings
 
Join Date: Aug 2012
Location: Finland
Posts: 2,668
Default

Thanks!
There's an alpha version available in post#1.
  • Right click on script window: shows the main menu
  • Right click on button: remove or rename button


Quote:
Originally Posted by Klangfarben View Post
This is really fantastic! Would there be any way to assign a key command or MIDI CC to enable/disable specific tags/groups?
I'm not sure...maybe that would be possible with reaper.get_action_context:

Code:
Lua: reaper.get_action_context()

is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context()
Returns contextual information about the script, typically MIDI/OSC input values.

val will be set to a relative or absolute value depending on mode (=0: absolute mode, >0: relative modes). resolution=127 for 7-bit resolution, =16383 for 14-bit resolution.
Notes: sectionID, and cmdID will be set to -1 if the script is not part of the action list. mode, resolution and val will be set to -1 if the script was not triggered via MIDI/OSC.
spk77 is offline   Reply With Quote