I thought one may accomplish these kind of things by addressing the renoise.song().transport.sequence.playback_pos.line:
local p_pos = renoise.song().transport.sequence.playback_pos
p_pos.line = 9
renoise.song().transport.sequence.playback_pos = p_pos
Then initiate a start and follow it directly by a stop.
Am currently not @ home to test this.
besides, i’m not a favor of allowing scripts to initiate “short-cut” functions that don’t have an API equivalent, i rather have a direct API command that simply performs this.
Functions to convert sample buffers: mono/stereo, sample rate and bit depth, everything the “adjust sample properties” dialog can do.
I’d also like something simpler, to just know the lines where the selection starts and ends. Maybe like the current selection in the sample editor behaves: if nothing is selected, you get the first and last line of the pattern, otherwise where the selection starts/ends.
now here’s an idea: per-song-preferences! That is, the same sweet mechanism we have for preferences now, only that this set of preferences gets saved (just those parts that differ from the defaults, as to not bloat every song automatically) into and loaded from each song, transparently to the script.
Its disabled in 2.6, but not because we want to keep it secret or whatever, but simply because its not yet ready for prime time. There’s a lot of stuff missing to make that really fun, and a lot of questions open about how this thing should work in detail.
At some time it will be (re)enabled; when it’s ready. Right now making the current API (and 2.6 builds in general) as stable and “complete” has highest priority. One thing after the other…
I’m no longer on the Renoise Team. I have the same beta you have. Read Taktik’s previous reply. It’s disabled (I haven’t tried, but i’ll take his word for it). So, no screenshots because it’s not possible.