Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 11-29-2017, 05:06 AM   #1
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default Reascript: API function to change toolbar icon text or png

It would be useful if scripts could (temporarily) change the appearance of toolbar buttons. As discussed in Dropdown menus in MIDI editor and other threads, this would allow scripts and toolbars to, for example:

* display the option that a user selected from a dropdown menu,




* display any other information that the script gathered, such as transport activity or selected MIDI event info.

Ideally, this API function will be combined with the FR for Transparent backgrounds and no titlebars, which would allow scripts to present the stylish dropdown menu selection that is standard in modern software:




P.S. I have tried changing the icon text in the .ini file and reloading the toolbar via RefreshToolbar2, but that didn't work.

Last edited by juliansader; 11-29-2017 at 11:32 AM.
juliansader is offline   Reply With Quote
Old 11-29-2017, 09:28 AM   #2
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

very nice one!
perfect if:
- allowed script to know if was pressed any modifier so the script could have different actions depending on this

- allows script to set a background color (useful for toggling info like in images julian posted from studio one -the blue buttons)

edit (to resume my comments on multiple posts):

- I reminded that a property that could be defined by reaper to set that arrow in order to "inform" that more option are available on that button
like in:


- width of toolbars item: double size or multiples and much more toolbars then 16 too !

- also would be lovely if reaper could return the clicked toolbar Top left X , Y positions and toolbar height and width, so that scripts or extensions GUIs can adapt to this position.

- also ability to remove top bar of script and extension GUIs, so no close, minimise or expand buttons, to be even more flexible and integrated what we can do with scripts and extensions.

Last edited by deeb; 07-12-2018 at 01:13 PM.
deeb is offline   Reply With Quote
Old 12-18-2017, 03:40 AM   #3
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

I reminded that a property that could be defined by reaper to set that arrow in order to "inform" that more option are available on that button

Also Julian? what is the purpose of that bottom color? probably another property could be to this : )
Attached Images
File Type: jpg RYeKmOg.jpg (60.0 KB, 1271 views)
deeb is offline   Reply With Quote
Old 01-12-2018, 10:55 AM   #4
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

redundant
__________________
🙏🏻

Last edited by deeb; 01-12-2018 at 12:14 PM.
deeb is offline   Reply With Quote
Old 01-12-2018, 12:06 PM   #5
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

also the width of toolbars item: double size or multiples
and much more toolbars then 16 too !

what are your thoughts?
__________________
🙏🏻
deeb is offline   Reply With Quote
Old 01-24-2018, 12:24 PM   #6
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

would be also lovely if reaper could return the clicked toolbar Top left X , Y positions and toolbar height and width, so that scripts or extensions GUIs can adapt to this position.
deeb is offline   Reply With Quote
Old 01-24-2018, 12:31 PM   #7
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

also ability to remove top bar of script and extension GUIs, so no close, minimise or expand buttons, to be even more flexible and integrated what we can do with scripts and extensions.
deeb is offline   Reply With Quote
Old 04-15-2018, 09:36 AM   #8
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

hope bump!
deeb is offline   Reply With Quote
Old 04-15-2018, 10:30 AM   #9
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Putting multiple feature requests in a thread someone else made for one specific request is a great way to ensure that your requests never, ever, get noticed.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-12-2018, 01:10 PM   #10
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

ok ! updated in my my first post for clarity
deeb is offline   Reply With Quote
Old 08-21-2018, 08:45 PM   #11
FnA
Human being with feelings
 
FnA's Avatar
 
Join Date: Jun 2012
Posts: 2,173
Default

I imagine SWS Cycle action editor could utilize it.

I have these scripts hidden in the depths of forum that set toolbar button states for sends send audio only, MIDI only, or both. Like the SWS actions, but toolbar button indicative. Had to use three scripts, because you can't make a multi state button. One for Audio only, one for MIDI only, one for startup to check and adjust the two buttons. If this FR was implemented, I'm pretty sure I could do it in one script that wouldn't require any command ID pasting. (Would still have to be put in SWS startup action too, I think) It could indicate all available states more plainly. And one could be written for PreFX, PreFader, PostFader, similarly.
FnA is offline   Reply With Quote
Old 02-13-2023, 09:31 PM   #12
preachers
Human being with feelings
 
Join Date: Feb 2010
Location: Hebei
Posts: 194
Default

This is a good idea, bump!
preachers is offline   Reply With Quote
Old 02-14-2023, 02:27 AM   #13
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

Yep this feature is very much wanted and can't believe we still don't have it in 2023. This would improve the UX in many ways and hope that it's going to be added any time soon.
Vagelis 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 02:24 AM.


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