I often find myself with a couple of plugin windows open, which becomes annoying when I want to enter some notes because I have to drag the windows to one side, or close them and them open them again. Therefore I want to create a keyboard shortcut that toggles all open plugin windows.
I found these two properties:
renoise.song().instruments[1].plugin_properties.plugin_device.external_editor_visible
renoise.song().tracks[1].devices[2].external_editor_visible
So all I have to do is go through all instrument and devices and save the ones where the external editor is open. But if I have one plugin window on top of another, I would like it to still be on top after toggling on and off. So basically Im looking for a way to find out which external editor is on top at any given moment. I couldn’t figure out a way to do this. Anyone got any ideas?