# Tool (3.1): Capture Track From Instrument

**URL:** <https://forum.renoise.com/t/tool-3-1-capture-track-from-instrument/34036>\
**Category:** Renoise Tools\
**Created:** [October 27, 2011, 8:32pm UTC](https://forum.renoise.com/t/tool-3-1-capture-track-from-instrument/34036 "2011-10-27T20:32:05Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Ledger](https://forum.renoise.com/user_avatar/forum.renoise.com/ledger/32/92_2.png) [@Ledger](https://forum.renoise.com/u/Ledger)\
**Post date:** [October 13, 2021, 11:28pm UTC](https://forum.renoise.com/t/tool-3-1-capture-track-from-instrument/34036/12 "2021-10-13T23:28:10Z")

</div>

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](https://forum.renoise.com/t/new-tool-3-1-i-can-haz-sequencer-dec-2017/48529) 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 ()

```auto
 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

```

---

_[View the full topic](https://forum.renoise.com/t/tool-3-1-capture-track-from-instrument/34036)._
