View Single Post
Old 08-29-2019, 06:25 AM   #1
Distressor
Human being with feelings
 
Distressor's Avatar
 
Join Date: Mar 2017
Location: Berlin
Posts: 151
Default Use CC action inside script

Is it possible to use a Midi CC dependant action inside a script?

Like "View: Move edit cursor (MIDI CC/OSC only - relative recommended)"

Basically take the value of this:
is_new_value, filename, sectionID, cmdID, mode, resolution, val = reaper.get_action_context()
and pass it on to this:
reaper.Main_OnCommandEx(996, 0, 0)
Distressor is offline   Reply With Quote