Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 05-27-2020, 05:36 AM   #1
BartR
Human being with feelings
 
BartR's Avatar
 
Join Date: Oct 2014
Location: Belgium
Posts: 1,607
Default [SOLVED] How to toggle opening and closing of a window?

I implemented the gorgeous script here below
https://forum.cockos.com/showthread.php?t=208697

TO open it, I assigned it to the key "Proj" on my Presonus FaderPort Classic.
It works perfectly

However, I would like to toggle the command.
- 1st time press it: window opens
- 2nd time press it: window closes

and so on.

The command to open it, is: MIDI Chan 16 CC 9

Thank you in advance for your help

[EDIT]
Here the working suggested solution
https://forum.cockos.com/showpost.ph...&postcount=415

Thanks a lot :-)
__________________
Reaper: always the most up-to-date.
O.S.: Windows 11 Pro
ReaPack (with bilingual Tutorials): https://bit.ly/ReaPack_Repository

Last edited by BartR; 05-29-2020 at 03:16 AM.
BartR is offline   Reply With Quote
Old 05-27-2020, 10:58 AM   #2
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

I posted a possible solution to try in the ReaLauncher thread: https://forum.cockos.com/showpost.ph...&postcount=404
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 05-28-2020, 02:21 PM   #3
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 811
Default

Quote:
Originally Posted by BartR View Post
I implemented the gorgeous script here below
https://forum.cockos.com/showthread.php?t=208697

TO open it, I assigned it to the key "Proj" on my Presonus FaderPort Classic.
It works perfectly

However, I would like to toggle the command.
- 1st time press it: window opens
- 2nd time press it: window closes

and so on.

The command to open it, is: MIDI Chan 16 CC 9

Thank you in advance for your help
Why dont you assign ReaLauncher command ID to Proj in
the FaderPort Classic .ini-file??
__________________
ToDoList Obliques MusicMath Donation Some of mine and my friends music projects on Spotify
tompad is offline   Reply With Quote
Old 05-29-2020, 07:08 AM   #4
BartR
Human being with feelings
 
BartR's Avatar
 
Join Date: Oct 2014
Location: Belgium
Posts: 1,607
Default

Quote:
Originally Posted by tompad View Post
Why dont you assign ReaLauncher command ID to Proj in
the FaderPort Classic .ini-file??
Hi Tompad, I did solve it. Please check the link I posted. Right on the way you suggest :-)
__________________
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
Reply

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 10:27 PM.


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