Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 07-05-2021, 08:33 PM   #641
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Quote:
Originally Posted by User41 View Post
good news is that I've figured out how to make a kickass toolbar with all my plugins.

bad news is that I can't save it. In fact, when I "save as" the script crashes, I lose my toolbar, and get this error:

...ripts\Dfk Scripts\Dfk Custom Toolbar Utility (v1.05).lua:2610: attempt to index a nil value (local 'file')

any idea what I'm doing wrong?
That is the same error I reported, I see the script was updated since then but it still has the same version number (1.05), so you might want to try downloading it again from 1st post.
Edgemeal is offline   Reply With Quote
Old 07-06-2021, 04:53 AM   #642
User41
Human being with feelings
 
Join Date: Aug 2020
Posts: 240
Default

Solved. Just downloaded 1.05 again and was able to save.

Does anyone know if there is a repository of plugin icons anywhere? Or do I need to just use the snipping tool to create my own?
User41 is offline   Reply With Quote
Old 07-08-2021, 06:27 AM   #643
sondust
Human being with feelings
 
sondust's Avatar
 
Join Date: Mar 2021
Posts: 55
Default

@User41 - glad to see you got it working.

I don't know of specific icon repositories like Tycho and MusoBob created in this thread...if no one else comes along with a better suggestion, you can use images from repositories like KVR or other sources to grab their thumbnails if that works, then crop and/or add text, etc. https://www.kvraudio.com/plugins/the-newest-plugins


Quote:
Originally Posted by User41 View Post
Solved. Just downloaded 1.05 again and was able to save.

Does anyone know if there is a repository of plugin icons anywhere? Or do I need to just use the snipping tool to create my own?

Last edited by sondust; 07-08-2021 at 07:00 AM.
sondust is offline   Reply With Quote
Old 07-08-2021, 07:10 AM   #644
sondust
Human being with feelings
 
sondust's Avatar
 
Join Date: Mar 2021
Posts: 55
Default

@Dfk - thank you for all the work you did on this, it improved the reaper UX more than any other single tool I can think of.



Quote:
Originally Posted by Dafarkias View Post
Np.

Working on this project consumed far too much of my time, it became a problem.

Last edited by sondust; 07-08-2021 at 09:48 AM.
sondust is offline   Reply With Quote
Old 07-08-2021, 09:05 PM   #645
MrTsonts
Human being with feelings
 
MrTsonts's Avatar
 
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
Default

Quote:
Originally Posted by sondust View Post
@Dfk - thank you for all the work you did on this, it improved the reaper UX more than any other single tool I can think of.
I confirm that this is a very necessary tool. And everything works great.
MrTsonts is offline   Reply With Quote
Old 08-24-2021, 04:35 PM   #646
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 1,117
Default

I'm not sure how this works but, I have no problems with VST and I can only seem to make JS Flanger work for the JS plugins.
I tried renaming the JS a few ways but can't make them work.

Something weird also with the flanger, if I add with the script it's writen Js: Flanger in the fx window if I add from reaper's fx menu, JS: Flanger [guitar/flanger]








Last edited by Pinknoise; 08-26-2021 at 06:24 AM.
Pinknoise is offline   Reply With Quote
Old 08-26-2021, 12:55 PM   #647
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

can confirm. this was an issue brought up previously by another issue, which the dev thought he had fixed, but apparently did not.

who will fix this bug????

Not I, said Dafarkias
__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 09-07-2021, 08:06 AM   #648
sondust
Human being with feelings
 
sondust's Avatar
 
Join Date: Mar 2021
Posts: 55
Default

@Pinknoise....Not sure if this is the same thing but I've noticed with JS plugins you need to be very specific with the path & subfolder and it doesn't always seem to be the same for each plugin. Presumably some TrackFX_AddByName API weirdness?

You'd have to change to fit your path, but this worked for me: FX Effects/Sonic Anomaly/Bass Professor Mark II.jsfx

Edit: actually this got me a cleaner looking name in the FX window: FX Sonic Anomaly/Bass Professor Mark II.jsfx





@Dfk: lol ; )

Last edited by sondust; 09-07-2021 at 09:01 AM.
sondust is offline   Reply With Quote
Old 09-10-2021, 07:18 AM   #649
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 1,117
Default

Quote:
Originally Posted by sondust View Post
@Pinknoise....Not sure if this is the same thing but I've noticed with JS plugins you need to be very specific with the path & subfolder and it doesn't always seem to be the same for each plugin. Presumably some TrackFX_AddByName API weirdness?

You'd have to change to fit your path, but this worked for me: FX Effects/Sonic Anomaly/Bass Professor Mark II.jsfx

Edit: actually this got me a cleaner looking name in the FX window: FX Sonic Anomaly/Bass Professor Mark II.jsfx

@Dfk: lol ; )

That actually worked !
So instead of copy/pasting the name that comes up in the fx chain when inserted manually, you have to go the Reaper ressource path folder and copy the path and add 'FX' before the path when saving the new button.

So there is an inconstancy there sometimes the FX Chain name works sometimes it does not.

I'll try a few more and see...

EDIT: Yup, that seems to work pretty well now.

Last edited by Pinknoise; 09-10-2021 at 09:37 AM.
Pinknoise is offline   Reply With Quote
Old 09-13-2021, 07:45 AM   #650
sondust
Human being with feelings
 
sondust's Avatar
 
Join Date: Mar 2021
Posts: 55
Default

Hey Pinknoise, glad you got it working

Last edited by sondust; 09-13-2021 at 02:04 PM.
sondust is offline   Reply With Quote
Old 12-16-2021, 01:35 AM   #651
GeneralMidi
Human being with feelings
 
Join Date: Dec 2020
Posts: 226
Default

I have dfk's custom toolbar bound to key. I'd like to hit the same key again and have the menu close. Does anyone know how I can do this?
GeneralMidi is offline   Reply With Quote
Old 01-04-2022, 01:32 AM   #652
Gennady
Human being with feelings
 
Join Date: Feb 2013
Posts: 8
Default Issue

Hi friends,
I have this issue, when activate scrit:
Dfk Custom Toolbar Utility (v1.05).lua:3016: attempt to call a nil value (field 'JS_Window_Find')
Attached Images
File Type: png Дизайн без назв.png (26.0 KB, 166 views)
Gennady is offline   Reply With Quote
Old 01-04-2022, 05:06 AM   #653
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Quote:
Originally Posted by Gennady View Post
Hi friends,
I have this issue, when activate scrit:
Dfk Custom Toolbar Utility (v1.05).lua:3016: attempt to call a nil value (field 'JS_Window_Find')
Did you install the required extensions?

"JS_Window_Find" is a function in the js_ReaScriptAPI extension.
From post #1,..Script requires js_ReaScriptAPI v0.999 or higher and SWS.
Edgemeal is offline   Reply With Quote
Old 02-07-2022, 03:52 AM   #654
GeneralMidi
Human being with feelings
 
Join Date: Dec 2020
Posts: 226
Default

Quote:
Originally Posted by GeneralMidi View Post
I have dfk's custom toolbar bound to key. I'd like to hit the same key again and have the menu close. Does anyone know how I can do this?
anyone?
GeneralMidi is offline   Reply With Quote
Old 02-07-2022, 09:18 AM   #655
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Quote:
Originally Posted by GeneralMidi View Post
anyone?
One way is to set the Scope of your shortcut to Global+Text. Then while script is running try running it again, REAPER will show a message to terminate it, tick the remember my answer box and click the terminate button, your shortcut should now toggle the script. You'll probably want to use a non-letter-char shortcut (like F-key) so it doesn't get in the way of typing normal text like track names, etc...

BTW, I don't use this script (only sub'd to thread), but the above should work.
Edgemeal is offline   Reply With Quote
Old 02-08-2022, 02:03 AM   #656
GeneralMidi
Human being with feelings
 
Join Date: Dec 2020
Posts: 226
Default

Thanks!
GeneralMidi is offline   Reply With Quote
Old 02-08-2022, 08:26 AM   #657
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default



I'm still alive folks!
__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 02-18-2022, 10:37 AM   #658
DarrenH
Human being with feelings
 
Join Date: Mar 2014
Posts: 347
Default

Good to hear!


Quote:
Originally Posted by Dafarkias View Post


I'm still alive folks!
DarrenH is offline   Reply With Quote
Old 02-22-2022, 04:32 PM   #659
Ariloum
Human being with feelings
 
Join Date: Jun 2020
Posts: 11
Default

Is it possible to set vertical scrollbar width to 2-5 pixels and change it's colors?

I tried to search through the code but didn't find anything that might be related to width or colors.
Ariloum is offline   Reply With Quote
Old 02-23-2022, 02:28 PM   #660
Ariloum
Human being with feelings
 
Join Date: Jun 2020
Posts: 11
Default

That script is awesome, love scrolling thing - thank you for making this.

I did a tool with auto-generation of the toolbars and buttons with images like this:


The only problem is when Reaper starts toolbar looks empty:


and I have to click to another toolbar and back so it draws the elements, what would cause this minor issue?

I'm using autoloading scripts option with making __startup.lua in Reaper scripts folder with including toolbars like this:
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSc794445086abac7bf72ff0b164964045b23e87a4"), 0) -- Dfk SYNTH
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSab0e8708d24c430fdf3ab569b973180c00ef9f74"), 0) -- Dfk EQ
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RS5b25d928a4954e1db8b5fdb251ceb990b749dcdb"), 0) -- Dfk SATUR
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RS412e828651a0398ab15f31f150a741763443a270"), 0) -- Dfk COMP
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSaff13171fa1533ce6562de4b5649e5999656a3d1"), 0) -- Dfk SPACE
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RS718ff43ff029559b3f2d8e04ed968da62ea565f8"), 0) -- Dfk MONITOR
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSb801033cb17d36cd214b36a483cc913c2074ead9"), 0) -- Dfk OTHER
Ariloum is offline   Reply With Quote
Old 02-24-2022, 11:02 AM   #661
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

Quote:
Originally Posted by Ariloum View Post
That script is awesome, love scrolling thing - thank you for making this.

I did a tool with auto-generation of the toolbars and buttons with images, and I have to click to another toolbar and back so it draws the elements, what would cause this minor issue?

I'm using autoloading scripts option with making __startup.lua in Reaper scripts folder with including toolbars like this:
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSc794445086abac7bf72ff0b164964045b23e87a4"), 0) -- Dfk SYNTH
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSab0e8708d24c430fdf3ab569b973180c00ef9f74"), 0) -- Dfk EQ
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RS5b25d928a4954e1db8b5fdb251ceb990b749dcdb"), 0) -- Dfk SATUR
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RS412e828651a0398ab15f31f150a741763443a270"), 0) -- Dfk COMP
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSaff13171fa1533ce6562de4b5649e5999656a3d1"), 0) -- Dfk SPACE
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RS718ff43ff029559b3f2d8e04ed968da62ea565f8"), 0) -- Dfk MONITOR
reaper.Main_OnCommand(reaper.NamedCommandLookup("_ RSb801033cb17d36cd214b36a483cc913c2074ead9"), 0) -- Dfk OTHER
I don't know. I haven't touched this script in over a year, and the coding is honestly a trainwreck for it.

It might be a poor reaction with REAPER's autorun thingy (SWS I presume?). What happens when you start up REAPER autorun disabled, and then manually run one of the toolbar scripts after a project is loaded?
__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 02-24-2022, 05:39 PM   #662
Ariloum
Human being with feelings
 
Join Date: Jun 2020
Posts: 11
Default

Quote:
Originally Posted by Dafarkias View Post
I don't know. I haven't touched this script in over a year, and the coding is honestly a trainwreck for it.

It might be a poor reaction with REAPER's autorun thingy (SWS I presume?). What happens when you start up REAPER autorun disabled, and then manually run one of the toolbar scripts after a project is loaded?
Yep I'm using SWS, and If I just adding the toolbars when Reaper is running it works great, it stucks only with __startup.lua way of loading routing.

I think it's something with Reaper and how it's drawing things on launch (or maybe script didn't check availability or ready state of some api calls functions that it's using), maybe some of internal modules/API's are not ready when Reaper is starting the toolbar script on launch or something like that.

Probably adding some delay to first drawing things in a script for few sec could fix that, is it easy to implement? I'm totally noob in the lua and it's hard to say how to add such delay, but that should not be hard huh?
Ariloum is offline   Reply With Quote
Old 04-30-2022, 06:15 PM   #663
grandfougue
Human being with feelings
 
grandfougue's Avatar
 
Join Date: Sep 2016
Posts: 513
Default

Hi I have a little problem I don't remember how to open the fx on the selection track Not open one more instance ?

(Do_Not_Duplicate_FX) If its that i think its not work correctly One have the same problem ?

zzzzzz Sorry Resolu

Juste not working with VSTI

NNN not working for all plugin dont understand well

Last edited by grandfougue; 04-30-2022 at 06:32 PM.
grandfougue is offline   Reply With Quote
Old 08-13-2022, 09:10 AM   #664
DarrenH
Human being with feelings
 
Join Date: Mar 2014
Posts: 347
Default

Glad you got it working Grandfougue, was about to reply here (late) but see you found the solution



Quote:
Originally Posted by grandfougue View Post
Hi I have a little problem I don't remember how to open the fx on the selection track Not open one more instance ?

(Do_Not_Duplicate_FX) If its that i think its not work correctly One have the same problem ?

zzzzzz Sorry Resolu

Juste not working with VSTI

NNN not working for all plugin dont understand well
DarrenH is offline   Reply With Quote
Old 12-13-2022, 06:38 AM   #665
mequaz
Human being with feelings
 
Join Date: Jul 2008
Posts: 40
Default Newbie

SO im new to all this.... and i cant seem to find any documentation online. Exactly how do i use this thing. I know the ini file is in the scripts folder. Do I import that file, copy im very confused on how to use this awesome tool.
mequaz is offline   Reply With Quote
Old 12-22-2022, 09:22 PM   #666
fero@reaper
Human being with feelings
 
Join Date: Mar 2022
Posts: 110
Default

hey, idk if this thread is still active, but can someone perhaps help me with the title that comes up when i load a JS plugin?

I've attached an image to show what i mean,
the one on the top is the name that comes when i add the js plugin with the script,
the one on the bottom is the one if i add it from the fx browser of reaper.

Same plugin, but the title has differences...
can someone tell me how do i get that " [chkhld\volume_trim.jsfx] " out of the title?
Attached Images
File Type: png name madness.PNG (13.5 KB, 97 views)
fero@reaper is offline   Reply With Quote
Old 12-25-2022, 09:40 AM   #667
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

Hey guys!

Figure it all out on your own, it's a free tool.

Merry Christmas!!!
__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 01-01-2023, 04:15 AM   #668
MrTsonts
Human being with feelings
 
MrTsonts's Avatar
 
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
Default

v6.73+dev1231
In this version, I got this problem.
The menu opens when the script is activated and does not close until the script is turned off.

Happy New Year everyone!!!



The script is attached to the top and should float.


Last edited by MrTsonts; 01-01-2023 at 01:08 PM.
MrTsonts is offline   Reply With Quote
Old 01-02-2023, 01:22 PM   #669
MrTsonts
Human being with feelings
 
MrTsonts's Avatar
 
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
Default

Quote:
Originally Posted by Dafarkias View Post
Figure it all out on your own, it's a free tool.
It's a pity, but if the changes that are currently taking place in the development of Reaper are transferred to the main version, this wonderful script will die.
MrTsonts is offline   Reply With Quote
Old 01-02-2023, 06:30 PM   #670
lachinhan
Human being with feelings
 
lachinhan's Avatar
 
Join Date: Nov 2014
Location: Can Tho - Viet Nam
Posts: 305
Default

1.05 Popup not working in my reaper ??
__________________
NK Recording Studio
Email: lachinhan@gmail.com or admin@thuamninhkieu.com
Website:nkpro.top and ntmusicpro.com
lachinhan is offline   Reply With Quote
Old 01-03-2023, 02:56 PM   #671
MrTsonts
Human being with feelings
 
MrTsonts's Avatar
 
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
Default

I inform. Starting with this version (https://forum.cockos.com/showthread.php?t=274306), the script loses one of its most attractive features. It no longer pops up when moving the cursor to the edge.
If these changes in Reaper are saved and transferred to the main version, the script will become useless for me.
MrTsonts is offline   Reply With Quote
Old 01-03-2023, 06:02 PM   #672
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

they did a fair amount of ui and reascript changes in that update, no wonder it no longer works right.

I just don't have the time to work on the script right now, which is a shame because you obviously spent a lot of time using and configuring it.

However, the script is open source, and can be altered, modified, and corrected by any coder really. Of course, that may prove difficult as my coding is very messy.
__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 01-03-2023, 08:18 PM   #673
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Quote:
Originally Posted by MrTsonts View Post
I inform. Starting with this version (https://forum.cockos.com/showthread.php?t=274306), the script loses one of its most attractive features. It no longer pops up when moving the cursor to the edge.
If these changes in Reaper are saved and transferred to the main version, the script will become useless for me.
gfx.init() seems broken (since ~dev1231) and only setting the first char of title text, so then when scripts call JS_Window_Find() the window isn't found.

REAPER devs are working on a fix.
https://forum.cockos.com/showpost.ph...&postcount=103
Edgemeal is offline   Reply With Quote
Old 01-04-2023, 03:08 PM   #674
MrTsonts
Human being with feelings
 
MrTsonts's Avatar
 
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
Default

Quote:
Originally Posted by Edgemeal View Post
gfx.init() seems broken (since ~dev1231) and only setting the first char of title text, so then when scripts call JS_Window_Find() the window isn't found.

REAPER devs are working on a fix.
https://forum.cockos.com/showpost.ph...&postcount=103
Thanks for the information. Yes, indeed, everything https://forum.cockos.com/showthread....95#post2630895 has been fixed in this version and the script works again.
MrTsonts is offline   Reply With Quote
Old 01-04-2023, 03:13 PM   #675
MrTsonts
Human being with feelings
 
MrTsonts's Avatar
 
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
Default

Quote:
Originally Posted by Dafarkias View Post
they did a fair amount of ui and reascript changes in that update, no wonder it no longer works right.

I just don't have the time to work on the script right now, which is a shame because you obviously spent a lot of time using and configuring it.

However, the script is open source, and can be altered, modified, and corrected by any coder really. Of course, that may prove difficult as my coding is very messy.
I understand what you're talking about. Thank you for remembering us, the users of your great script!!!))))
Everything was resolved and the script works again.
MrTsonts is offline   Reply With Quote
Old 01-05-2023, 05:19 AM   #676
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,031
Default

Thanks for sharing, cool idea.
Put a hardware device as background, some Elektron device for example, then placing your actions where buttons are. Fun idea. Take any hardware, synth, sequencer, MPC, Spectralis, RS7000, Cirklon, Schrittmacher, Polymorph...

Can actions be dragged and dropped from action list to this new toolbar space, or from another alternative action list. Drag and drop feature is most I am missing from simplicity of use ...
TonE is offline   Reply With Quote
Old 03-05-2023, 12:44 PM   #677
Manwë
Human being with feelings
 
Manwë's Avatar
 
Join Date: Aug 2022
Posts: 79
Default

I thought I would share this for people that have requested more toolbars in the FR forum.

This is a way to make as many custom toolbars as you require using the DKF Custom Toolbar script!


Step 1: Duplicate the original Dfk Custom Toolbar Utility (v1.05).lua script and rename to you liking.




Step 2: Open the .lua script and change the First line to your chosen name, use the search function to find the .ini write file and change that to your new name as well. (This is to make sure that each instance of the toolbar will autosave your preferences for the specific toolbar written to an .ini file)

NOTE: Make sure you change these names so you don't overwrite another custom toolbar from this method!



Step 3: Go to your actions window, load the new script and run. If you plan on using this toolbar with a hotkey similar to the native toolbars, run it a second time and save "Terminate Instances" to mimic native toolbar opening/closing.




Step 4: Double check your Reaper:Scripts folder to make sure it has saved your new .ini file




Rinse and repeat for however many you want!
As you can see in the third GIF, I've got 10!
Hopefully someone finds this as useful as I have!
Manwë is offline   Reply With Quote
Old 01-25-2024, 05:03 AM   #678
grandfougue
Human being with feelings
 
grandfougue's Avatar
 
Join Date: Sep 2016
Posts: 513
Default Bug with reaper windos when script is docked

Hi, it's been a while since I've been able to work on reaper. I hope all is well and I have a small favor to ask. I have a bug in your Dfk toolbar script. Let me tell you: when I launch your script the little buttons to fold the reaper window disappear when the script is launched and I cannot minimize my main window. Would it be possible to help me please?
grandfougue 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:28 AM.


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