|
|
|
12-17-2019, 08:17 AM
|
#41
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,134
|
One question. When the script is run a dummy shrunk toolbar pops up in the upper left hand corner of the window and disappears as soon as the drop-down list is closed. Is this how it's designed to work?
I didn't notice it the first couple of times i run the script, maybe due to fascination with this new function. So just to make sure that i didn't accidentally botch the script while editing the toolbar name.
|
|
|
12-17-2019, 11:08 AM
|
#42
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
Quote:
Originally Posted by Buy One
One question. When the script is run a dummy shrunk toolbar pops up in the upper left hand corner of the window and disappears as soon as the drop-down list is closed. Is this how it's designed to work?
|
Yes, that's how it works.
The popup menu function is available only for graphical scrips. So that dummy window is the actual gui which then runs the dropdown menu at the mouse cursor.
|
|
|
12-17-2019, 12:15 PM
|
#43
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,134
|
got it, thank you for confirmation
|
|
|
02-01-2020, 03:08 PM
|
#44
|
Human being with feelings
Join Date: Jul 2018
Location: LAITW
Posts: 176
|
This script is great! thanks a lot, bFooz. I got it working fine, but I don't know how to get in Reaper that 'one button menu' like the one you show in your gif (check my imgs. please) All I could get is the normal customized toolbar with an icon for each value.
Pretty sure I'm asking something that has not do with the script, sorry, but I'm a little confused with that (still in 'newbie status' for many Reaper aspects).
Thanks, on any help/clue.
|
|
|
02-02-2020, 05:24 AM
|
#45
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
Quote:
Originally Posted by CEART
...I don't know how to get in Reaper that 'one button menu' like the one you show in your gif
|
Hi Ceart. If I understand you correctly, you need to add action "bfo - Toolbar dropdown - Floating toolbar x" to the main toolbar where you want that button to reside.
It is a regular action/script, which just happen to open another toolbar in an os floating dropdown menu form.
Here in my picture, I hovered the mouse over the GRID button, which shows the real name of the action that button represents.
|
|
|
02-03-2020, 12:19 AM
|
#46
|
Human being with feelings
Join Date: Jul 2018
Location: LAITW
Posts: 176
|
Quote:
Originally Posted by bFooz
Hi Ceart. If I understand you correctly, you need to add ...
|
Thanks a lot, bFooz, so I'm fine on actions :-). You've helped me understand the full picture here. My foolish misunderstanding was to assume that the script would fulfill its function for everything in Reaper with just a single instance.
Now, plus a further detailed check of gif and instructions, I realize that your script needs to have a specific button for and in order each action, menu item or function can get its drop-down menu, and should be made as many renowned copies as be needed from the original script (bfo_Toolbar dropdown - Floating MIDI toolbar 2.lua) , and finally edit menuName in USER CONFIG.
|
|
|
02-03-2020, 02:47 AM
|
#47
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
Yes, somehow complicated but I haven't found any simpler way. The best way would be to have it natively.
|
|
|
06-11-2020, 03:54 PM
|
#48
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
This seems to be for the Midi Editor only. Is there a version that works in the main window ? Thanks !!!
|
|
|
06-12-2020, 02:23 AM
|
#49
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
This should work with the main window as well.
You need to specify which of the existing menu you want to show in the dropdown menu
Code:
-- USER CONFIG ----------------------------------------------------------------------------------
menuName = "Floating MIDI toolbar 2"
-- END USER CONFIG -----------------------------------------------------------------------------------------------
If you write
Code:
menuName = "Main file"
the main file menu will be shown. You can then load this particular script into any context, either main or midi editor.
|
|
|
06-12-2020, 02:26 AM
|
#50
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
I have noticed the script got broken somehow, probably by some changes in recent versions (or just dev versions?).
|
|
|
06-12-2020, 03:07 AM
|
#51
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
Yeah, i made those changes but it didnt work.
|
|
|
06-12-2020, 03:54 AM
|
#52
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
This one works here:
Code:
-- USER CONFIG ----------------------------------------------------------------------------------
menuName = "Main file"
---END USER CONFIG ----------------------------------------------------------------------------------------------
local info = debug.getinfo(1,'S');
local full_script_path = info.source
local script_path = full_script_path:sub(2,-5) -- remove "@" and "file extension" from file name
if reaper.GetOS() == "Win64" or reaper.GetOS() == "Win32" then
package.path = package.path .. ";" .. script_path:match("(.*".."\\"..")") .. "\\?.lua"-- .. "..\\Functions\\?.lua"
else
package.path = package.path .. ";" .. script_path:match("(.*".."/"..")") .. "/?.lua"-- .. "../Functions/?.lua"
end
require("bfo_Toolbar dropdown - functions")
drawMenu(menuName)
You need to use the default name which is outside of the brackets in the menu/toolbar list in Customize menu/toolbars window. That's how they are stored in reaper-menu.ini . Otherwise I have no idea why it wouldn't work.
|
|
|
06-12-2020, 04:26 AM
|
#53
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
|
|
|
06-12-2020, 06:00 AM
|
#54
|
Human being with feelings
Join Date: Oct 2017
Location: Russia
Posts: 366
|
|
|
|
06-12-2020, 06:03 AM
|
#55
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
Quote:
Originally Posted by Archie
|
Sweet. Thanks Archie !
|
|
|
08-13-2020, 01:33 AM
|
#56
|
Human being with feelings
Join Date: Dec 2010
Posts: 3,826
|
Great script
But this appears in the corner when i click on the button, is it normal ?
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
|
|
|
08-13-2020, 01:39 AM
|
#57
|
Human being with feelings
Join Date: Dec 2010
Posts: 3,826
|
NVM, this is how it works
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
|
|
|
05-14-2022, 12:09 PM
|
#58
|
Human being with feelings
Join Date: Sep 2016
Posts: 513
|
Hello, but if I erase the contents of the menu after creating it, does it still work?
|
|
|
10-23-2023, 01:04 PM
|
#59
|
Human being with feelings
Join Date: Oct 2012
Location: Merida, Spain
Posts: 388
|
This script is amazing. Really thank you! Donation on the way!
|
|
|
10-23-2023, 03:26 PM
|
#60
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
|
Quote:
Originally Posted by Win Conway
Great script
But this appears in the corner when i click on the button, is it normal ?
|
REAPER v6.82+ can show menu without displaying that gfx window on Windows OS.
v6.82 - August 23 2023
+ ReaScript: allow gfx_showmenu() without gfx_init() on Windows [p=2697068]
Scripts will likely need to be tweaked/updated to take advantage of this feature.
|
|
|
10-23-2023, 03:32 PM
|
#61
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
More demos please
|
|
|
10-24-2023, 02:36 AM
|
#62
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
I'll provide something.
|
|
|
10-24-2023, 04:16 AM
|
#63
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
Quote:
Originally Posted by Edgemeal
REAPER v6.82+ can show menu without displaying that gfx window on Windows OS.
v6.82 - August 23 2023
+ ReaScript: allow gfx_showmenu() without gfx_init() on Windows [p=2697068]
Scripts will likely need to be tweaked/updated to take advantage of this feature.
|
But will it work on Mac and Linux?
|
|
|
10-24-2023, 05:35 AM
|
#64
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
Quote:
Originally Posted by Coachz
More demos please
|
I've changed the first post so it is more step by step how to make this work.
|
|
|
10-24-2023, 05:58 AM
|
#65
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
Thank you so much for the details. I got it working. Got to make sure to only use the toolbar info up to the number and nothing after. Super helpful ! Would be cool if devs could make a version that would let us control the text displayed, show icons and control number of columns. what ? !!!
Last edited by Coachz; 10-24-2023 at 06:06 AM.
|
|
|
10-24-2023, 06:19 AM
|
#66
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
This script is suprisingly simple and suprisingly effective.
You can rename stuff in the toolbar editor and it will show like that in the dropdown.
|
|
|
10-24-2023, 08:13 AM
|
#67
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
|
Quote:
Originally Posted by bFooz
But will it work on Mac and Linux?
|
AFAIK, MAC never needed gfx_init() to show the menu (but Windows did), which is what the confusion was in that thread, (no clue about linux).
|
|
|
10-25-2023, 12:51 AM
|
#68
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
Quote:
Originally Posted by Edgemeal
AFAIK, MAC never needed gfx_init() to show the menu (but Windows did), which is what the confusion was in that thread, (no clue about linux).
|
Ok, I've reuploaded the fixed "functions" file to the first post. You just download it and overwrite the previous file on your machine.
|
|
|
10-26-2023, 02:26 AM
|
#69
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
Just another shout out to what a great tool this is. I shortened all my menu names to make sense and left out the script names and now the dropdowns look awesome.
I found out if I ever want to know what the script is I can simply run it in an a temp project and look up in the actions history in the menu to see what ran. I don't know if there's an easier way. This toolbar is incredibly helpful at improving workflow.
|
|
|
10-26-2023, 06:56 AM
|
#70
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
In the past I've found that that when I renamed any action for a toolbar button, it was difficult to find out the original action name of it (do you mean this?). But recently the devs added the original action name into the right-click menu for an action in the toolbar editor.
|
|
|
10-26-2023, 07:00 AM
|
#71
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
This script also supports submenus when they are available. The toolbars do not have them but other menus do. You can dropdown-show any menu that is in the menu editor (and thus in the .ini file). But you would need to sacrifice the original function of that menu.
|
|
|
10-26-2023, 09:07 AM
|
#72
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
Quote:
Originally Posted by bFooz
In the past I've found that that when I renamed any action for a toolbar button, it was difficult to find out the original action name of it (do you mean this?). But recently the devs added the original action name into the right-click menu for an action in the toolbar editor.
|
That's a big help. Thanks !
|
|
|
11-02-2023, 08:06 AM
|
#73
|
Human being with feelings
Join Date: Oct 2023
Posts: 82
|
Thank you bFooz for that script! It's so useful that it should be included in the native behavior of the software. Now I'm just looking at it and I hope it is working with Linux. I am going to report back later to say that it is or not.
|
|
|
11-02-2023, 08:20 AM
|
#74
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
Quote:
Originally Posted by goto
Thank you bFooz for that script! It's so useful that it should be included in the native behavior of the software. Now I'm just looking at it and I hope it is working with Linux. I am going to report back later to say that it is or not.
|
I really agree. This drop down tool is one of the biggest workflow improvers for me along with a handful of other ones. But this just puts so many actions at your mouse tip and it's not two or three clicks.
In sadder news I'm no longer using the radial menu and uninstalled it it just was too hard for me to wrap my head around with the circular text. Probably these young kids can do circular text but I just could not remember the commands easily enough as far as where they were to go get them quickly. With the drop down it's like click drop done.
|
|
|
02-11-2024, 02:14 AM
|
#75
|
Human being with feelings
Join Date: Apr 2022
Posts: 3
|
Thanks for sharing! This is so useful!!
|
|
|
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 01:32 PM.
|