Thread: ReaLauncher
View Single Post
Old 05-27-2020, 01:11 PM   #405
BartR
Human being with feelings
 
BartR's Avatar
 
Join Date: Oct 2014
Location: Belgium
Posts: 1,624
Default

Quote:
Originally Posted by solger View Post
Since the question came up in this thread (https://forum.cockos.com/showthread.php?t=237192) about toggling the ReaLauncher window via a single MIDI command assignment:
I'll have to check if it's possible to implement this behavior directly into the ReaLauncher code.

In the meantime, here's a script to try (requires js_ReaScriptAPI installed):
  1. Copy the attached ReaLauncher-Window-Toggle.lua script, for instance, into the Scripts folder inside the Reaper resource path (Options > Show REAPER resource path in explorer/finder)
  2. Import the script in the Action List via the ReaScript [Load] button
  3. And assign it to a MIDI shortcut

It might be necessary to replace the Action Command ID inside the script (highlighted in bold) if it's different in the Action List on your Reaper install (Copying the ID is possible via Right-Click > Copy selected action command ID):
I turns it on, but it doesn't turn it off when I push the assigned button again one time
__________________
Reaper: always the most up-to-date.
O.S.: Windows 11 Pro
ReaPack (with bilingual Tutorials): https://bit.ly/ReaPack_Repository
BartR is offline   Reply With Quote