Wasn’t getting on so well with the autocapture in the pattern ed, but just modded this to only work when pattern editor is out of view. Very useful for using a sequencer when navigating instruments in the sampler. Also means the last instrument/track is waiting selected when I get back to the pattern ed.
code if anyone interested to add to top of idle_check ()
function idle_check()
--only capture when pattern editor not visible
if renoise.app().window.active_middle_frame == renoise.ApplicationWindow.MIDDLE_FRAME_PATTERN_EDITOR then
return
end