
Thanks for sharing your experience on the subject ! be very curious to see if things have gotten simpler over time, especially with all of the great scripter, such as yourself, working with reaper now.įound a thread from a little over four years ago about what we were doing: at the time we did it, though, eel had not yet shown up in reaper so it was the only way to go.ĭon't mean to be discouraging. having the scripting reliant on three separate layers, reaper/python/tkinter, rather than just reaper seemed like too much work over time.

spk77 later replicated the script in eel which i actually find much better. I think the main thing we worked on was a script for copy/paste of item attributes, things like volume, pan, etc. we used tkinter to create a gui with text and checkboxes. it got to be a problem when upgrading to keep everything compatible, at least for this non-scripter. i found the python/tkinter approach to be very clunky and too deeply layered for practical purposes. I worked with breeder several years ago with this kind of thing. The Multiline text input script is only 60 lines of code. So, despite that Lua is still super cool for ease of development and portability, EEL for speed efficiency, I think Python is still a valid choice for ReaScript, for building accessible and complex GUI. I just made something I wanted since a long time: a Multiline Text Input, which also have all keyboard shortcut than the OS can offer (Select All, Copy, Select, Maj+click etc.): With it you can build complex (and accessible !) GUI like, ReaChorder. Here is a french page which have a screenshots for each element. There is various GUI elements with tkinter, and a lot of doc online. One downside with Tkinter windows is that they can't be docked, or pin on top (you can use an external software for that). We can't import external Lua libraries, but we can import external Python libraries for eg.Īlso, as Tkinter GUI element are "recognized" by the OS as such (and not like a Canvas like with JSFX), it is really great for accessibility (tab navigation between buttons with ability for the OS to recognize the text, for text to speech assistant for example), and for providing a lot of extra functions that would have to be coded from 0 with GFX.
#Python tkinter page layers portable#
Python is sure less portable than Lua/EEL with REAPER, but I think nice things can still be made with it. It's been a while since we didn't see someone coding a ReaScript in Python. I wanted to experiment GUI creation with Tkinter, a GUI framework for python.

#Python tkinter page layers install#
I just succeeded to install Python 圆4 and make it works with REAPER.
