v5.979rc2 - June 13 2019 + Audio Units: do not scan 32-bit AUs on Mojave (can override by setting au_scan32=1 in reaper.ini) + MIDI: support linking program change messages on all channels sequentially to FX preset changes + VST3: limit built-in program dropdown display to 512 items (for VEP) + VST3: limit dropdown to 512 presets of each type # ReaScript: fix SetEnvelopePointEx when changing both time/value and selection state [p=2145949]
So awesome that Global actions are finally coming, but a couple things could make the transition a lot easier (unless I missed something):
1. Is there a way to convert all existing shortcuts to Global or do I have to spend several hours doing it by hand?
2. Can you plz allow the dropdown box to save the last selection or the process will be even more tedious for users preferring global actions.
1. Is there a way to convert all existing shortcuts to Global or do I have to spend several hours doing it by hand?
If you did that then you'd be killing off other shortcuts, for example, the FX Chain window has an option tied to Control+B, and by default Control+B in Main is tied to "View: Show project bay window", if you make Control+B global then you are basically disabling Control+B for the FX Chain window or other windows that make use of Control+B.
The way I plan to use Global keys is they call a script that runs specific actions/code depending on what has focus, where the mouse is, etc, etc. Example, my "S" key splits item under mouse like normal and can also solo the track when a FX window has focus.
If you did that then you'd be killing off other shortcuts
I know, but that's the whole point. Every single shortcut I use is non-default and I never use the ones I can't customize (e.g fx window). Therefore I want my assigned shortcuts working exactly the same at all times and ultimately that's the reason I made the request a decade ago. Although I probably should have posted in a more relevant pre...
If you did that then you'd be killing off other shortcuts, for example, the FX Chain window
good. they shouldn't have been default anyway.
I can't tell you how many times I've tried to bounce something via shortcut only to realize I had instead bypassed an fx due to window focus -- in doing so NOT bouncing my work for the last 15 min. it's a recipe for user error
this focus issue is what caused me to move as much as possible toward controller-based action triggering, since midi and osc isn't screen-focus dependent
so glad these window focus issues are finally getting resolved.
__________________ mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
oh btw devs, regarding that slick micro-mouse click drag fix you wrote to prevent us from rearranging tracks -
in addition to a similar inertia fix being needed when clicking the waveform in the media editor, I think we would benefit from the same treatment when snap is off / grid is tiny in the midi editor. I spend a lot of time deleting notes that I accidentally drew in with tiny clickdrags
__________________ mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
If the devs can't help make all shortcuts global then maybe ask reaper-reverse-engineer-expert 'Mespotine' to write a script to update your 'Reaper-kb.ini', seems a global key setting is just another line in that ini file.
If the devs can't help make all shortcuts global then maybe ask reaper-reverse-engineer-expert 'Mespotine' to write a script to update your 'Reaper-kb.ini', seems a global key setting is just another line in that ini file.
AFAIR, it was a different sectionnumber in the KEYS-entries, but need to check this again.
Haven't bothered documenting this feature, as it's still in flux.
__mergesort - seems to be missing in the reaper_plugin_functions.h in reaper 5.979rc2, at least the lines
Quote:
#if defined(REAPERAPI_WANT___mergesort) || !defined(REAPERAPI_MINIMAL)
REAPERAPI_DEF //==============================================
// __mergesort
// __mergesort is a stable sorting function with an API similar to qsort().
// HOWEVER, it requires some temporary space, equal to the size of the data being sorted, so you can pass it as the last parameter,
// or NULL and it will allocate and free space internally.
are missing. Is this deprecated or missing by accident? Was there up until 5.978.
@foxAsteria
I quickly documented the global-shortcut behavior.
Code:
Global KeyBindings in reaper-kb.ini(as of Reaper 5.978+dev0530)
Global keybinding can be stored only in main and main-alt-sections.
Each global keybinding consists of two KEY-entries in the reaper-kb.ini-file, one for the keybinding to an Action Command ID, which is of the format:
KEY modifier keyvalue action_command_id section
which holds the keybinding itself.
In addition to that, there's a second KEY-entry, following the first KEY-entry. This is of the following format
KEY modifier keyvalue global_key_scope section
modifier and keyvalue are the same as the first KEY-entry.
global_key_scope:
1 - global
101 - global+textfields
section:
102 - main(global shortcuts)
103 - main-alt(global shortcuts)
Example:
a global keybinding of the key "Q", associated with the action:
1007 - Transport: Play
in section main is store in the reaper-kb.ini as
KEY 1 81 1007 0
KEY 1 81 1 102
where the first entry holds the keybinding of the q-key to the play-action and the second sets the keybinding to global without(!) textfields.
Thanks Mespotine, but I think I'm too stupid to use that information. Looks like it's not a simple thing to convert all my actions but I'll just wait and see I guess.