|
|
|
08-05-2018, 04:10 PM
|
#1
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Arming Toolbar Icons buttons with keyboard shortcuts
Hi all,
Being able to change the state of the Toolbar Icon ( "arming the button") as if we Right-Clicked on it (for example to change the mouse behavior like a mouse tool).
To be able to do what I did in this video without having to actually click on the Icon... just use a short cut:
Thanks.
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 Catalina Mac Mini 2020 6 core i7 64GB RAM OS: Catalina 4K monitor RME RayDAT card with Sync Card and extended Light Pipe.
Last edited by Thonex; 08-06-2018 at 12:01 AM.
|
|
|
08-05-2018, 06:30 PM
|
#2
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
There is Toolbar: Press active toolbar button 01, but it can be a little fishy about which one is "active".
|
|
|
08-05-2018, 06:33 PM
|
#3
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
Alternatively, a script could parse reaper-menu.ini for a given toolbar's actions and then you could always have buttons for whichever one you want. The format is pretty friendly:
Code:
[Floating toolbar 1]
icon_1=text_wide
icon_3=toolbar_envelope_insert_four.png
icon_4=toolbar_item_selection_remove_contents_move_later.png
icon_5=toolbar_item_insert_move_space.png
icon_7=toolbar_audio_waveform_transient_dynamic_split.png
item_0=-1
item_1=41106 Editing:
item_2=-1
item_3=40726 Envelope: Insert 4 envelope points at time selection
item_4=40201 Time selection: Remove contents of time selection (moving later items)
item_5=40200 Time selection: Insert empty space at time selection (moving later items)
item_6=-1
item_7=40760 Item: Dynamic split items...
(The -1s are separators)
|
|
|
08-05-2018, 06:38 PM
|
#4
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by Lokasenna
There is Toolbar: Press active toolbar button 01, but it can be a little fishy about which one is "active".
|
hmmm... no luck so far... will keep plugging away... stay tuned.. it's needs to be a "right click" equivalent.
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 Catalina Mac Mini 2020 6 core i7 64GB RAM OS: Catalina 4K monitor RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
08-05-2018, 06:48 PM
|
#5
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by Lokasenna
Alternatively, a script could parse reaper-menu.ini for a given toolbar's actions and then you could always have buttons for whichever one you want. The format is pretty friendly:
Code:
[Floating toolbar 1]
icon_1=text_wide
icon_3=toolbar_envelope_insert_four.png
icon_4=toolbar_item_selection_remove_contents_move_later.png
icon_5=toolbar_item_insert_move_space.png
icon_7=toolbar_audio_waveform_transient_dynamic_split.png
item_0=-1
item_1=41106 Editing:
item_2=-1
item_3=40726 Envelope: Insert 4 envelope points at time selection
item_4=40201 Time selection: Remove contents of time selection (moving later items)
item_5=40200 Time selection: Insert empty space at time selection (moving later items)
item_6=-1
item_7=40760 Item: Dynamic split items...
(The -1s are separators)
|
Ok... I'll delve into this a little later then. Hopefully this won't feel like umpteen layers of abstraction
Thanks again Loka!!
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 Catalina Mac Mini 2020 6 core i7 64GB RAM OS: Catalina 4K monitor RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
08-05-2018, 06:59 PM
|
#6
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
Actually, once I looked into the .ini I realized how straightforward a script would be (in theory), so I might be working on something.
AFAIK there's no way for a script or action to "arm" a button like you can with right-clicking, so there's definitely room for an FR there.
|
|
|
08-05-2018, 07:11 PM
|
#8
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by Lokasenna
AFAIK there's no way for a script or action to "arm" a button like you can with right-clicking, so there's definitely room for an FR there.
|
"Arming the Button" is the correct way to describe this FR. Nice one!
I'll update the OP.
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 Catalina Mac Mini 2020 6 core i7 64GB RAM OS: Catalina 4K monitor RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
08-05-2018, 11:04 PM
|
#9
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
+1, would be very useful!
|
|
|
08-05-2018, 11:30 PM
|
#10
|
Human being with feelings
Join Date: Dec 2012
Posts: 13,333
|
Quote:
Originally Posted by Thonex
"Arming the Button" is the correct way to describe this FR.
|
Update the thread name, too!
|
|
|
08-06-2018, 12:01 AM
|
#11
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by vitalker
Update the thread name, too!
|
Done. Thanks.
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 Catalina Mac Mini 2020 6 core i7 64GB RAM OS: Catalina 4K monitor RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
08-06-2018, 09:27 AM
|
#12
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
Just to offer a more concrete FR:
Quote:
bool retval = reaper.ArmAction(int actionid, int mode)
mode: 0 to arm, 1 to disarm, 2 to toggle maybe?
retval: True if it found the action on a toolbar and was able to arm it, false if it didn't or it couldn't.
|
Note that it definitely should not arm the action if it doesn't appear on a toolbar somewhere (maybe even a visible toolbar, just to be sure).
|
|
|
08-06-2018, 12:22 PM
|
#13
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by Lokasenna
Just to offer a more concrete FR:
Note that it definitely should not arm the action if it doesn't appear on a toolbar somewhere (maybe even a visible toolbar, just to be sure).
|
Added this to the Prerelease section thread.
Thanks!
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 Catalina Mac Mini 2020 6 core i7 64GB RAM OS: Catalina 4K monitor RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
08-07-2018, 03:24 PM
|
#14
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
DONE!!!
FANTASTIC!!
Quote:
Originally Posted by timothys_monster
v5.95pre3 - August 7 2018- + Actions window: allow arming action via right-click menu
- + Actions: add disarm action, arm next action meta-action for use in custom actions
|
https://forum.cockos.com/showthread....56#post2020256
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 Catalina Mac Mini 2020 6 core i7 64GB RAM OS: Catalina 4K monitor RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
08-19-2019, 08:45 PM
|
#15
|
Human being with feelings
Join Date: Aug 2019
Posts: 853
|
Bumping this as I'm hoping someone can help - I want to assign the arming of a toolbar button in the midi editor to a keyboard shortcut. I can only assign the 'toggle arm action' within the 'main' section of the actions menu.
Is it not possible to get this same functionality in the midi editor, or am I missing something?
|
|
|
05-02-2021, 08:16 AM
|
#16
|
Human being with feelings
Join Date: Nov 2009
Posts: 187
|
Quote:
Originally Posted by Joe90
Bumping this as I'm hoping someone can help - I want to assign the arming of a toolbar button in the midi editor to a keyboard shortcut. I can only assign the 'toggle arm action' within the 'main' section of the actions menu.
Is it not possible to get this same functionality in the midi editor, or am I missing something?
|
Anyone?
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:48 AM.
|