jalovatt / scythe

Lua GUI library and utility framework for Reaper scripts (formerly Lokasenna_GUI)
https://jalovatt.github.io/scythe
MIT License
26 stars 5 forks source link

Buffer Releases #173

Open kuga0509 opened 3 years ago

kuga0509 commented 3 years ago

Hey. I am working on a scythe 3 project with a VERY heavy GUI. I initially ran out of buffers, but have since devised a way to remove elements and rebuild the GUI dynamically. However, I am still having trouble getting the buffers to release.

What is the proper syntax to delete a GUI item like a menu box? I've tried GUI.findElementByName("myMenuboxName"):delete() but that doesn't work. I've tried every combination I can think of. I've also removed the items from the layers they are on, but that just affects the display and not the buffer. Any help would be great. Thanks!