Buy-One / REAPER-scripts

Lua scripts for Cockos' REAPER
6 stars 0 forks source link

BuyOne_FX presets menu errors #11

Closed romanskorobagatko closed 1 week ago

romanskorobagatko commented 2 weeks ago

I’m getting this error when executing script with mouse cursor over the track in tcp:

BuyOne_FX presets menu (guide inside).lua:364: bad argument #1 to 'TakeFX_CopyToTrack' (Medialtem_Take expected)

And this one when mouse cursor is over a media item:

BuyOne_FX presets menu (guide inside).lua:365: attempt to sub a 'string' with a 'number'

Buy-One commented 2 weeks ago

Hi

Did it ever work for you or is this your first use? If it did work, since what REAPER build has it stopped working?

romanskorobagatko commented 2 weeks ago

@Buy-One It was a first use, I haven’t tried launching this script before.

Buy-One commented 2 weeks ago

Thank you, will investigate.

Buy-One commented 2 weeks ago

Another question. Are you using files from this repo or from ReaPack?

romanskorobagatko commented 2 weeks ago

@Buy-One ReaPack, Version: 2.0

Buy-One commented 2 weeks ago

My scripts in ReaPack are outdated and unsupported. Please download them from this repository.

Your bug report prompted me to revise and optimize this script and i'm going to update it soon, but for the time being you still can use the current version, only make sure to avoid REAPER builds 7.09 - 7.20 where it's super glitchy due to bug in ReaScript API.

https://github.com/Buy-One/REAPER-scripts/blob/main/FX/BuyOne_FX%20presets%20menu%20(guide%20inside).lua

Buy-One commented 2 weeks ago

Just updated to version 2.1

romanskorobagatko commented 2 weeks ago

@Buy-One It works but a console window appears. image

Buy-One commented 2 weeks ago

Sorry, removed that,

romanskorobagatko commented 2 weeks ago

@Buy-One Thank you. Should I remove your ReaPack repository and use these scripts from Github?

Buy-One commented 2 weeks ago

My philosophy is "if it ain't broke don't fix it", so as far as i'm concerned scripts from ReaPack which still work can remain in use, but if something bugs out then the script version from this repo would be the first thing to try.

For completely new scripts though this repo is the only address. I don't submit new scripts to ReaPack.

romanskorobagatko commented 2 weeks ago

@Buy-One Thank you for explanation as well as for the great scripts, I appreciate it!

Buy-One commented 2 weeks ago

Sure. If you consider the issue resolved, feel free to close the thread.