Notify tool change from note_column to effect_column

A track is formed by note_columns (note, volume, panning, delay and sample effect columns) and effect_columns (until 8 effect columns).

Without moving from the track, how do I notify the tool that I jump from a note_column to an effect_column and vice versa?

  1. selected_note_column & selected_note_column_indexdo not have _observable

  2. selected_effect_column & selected_effect_column_indexdo not have _observable

Is there any way to do this? I missed something?

----------------TRACK-----------------------

Note Column | Effect Column

-------->

<--------

withrenoise.tool().app_idle_observable??? It would be a bit exaggerated, would not it?

Any ideas?

Thanks!

renoise.song().selected_note_column_index

-> [number, index or 0 (when an effect column is selected)]

renoise.song().selected_effect_column_index

-> [number, index or 0 (when a note column is selected)]

OK,I have decided to use a timer with return.Please, if there is any way to do it without using a timer or a iddle_observable, let me know.

local vpd_current_subcolumn
function vpd_check_current_subcolumn( song, sct )
  song = renoise.song()
  sct = song.selected_sub_column_type
  if ( vpd_current_subcolumn ~= sct ) then
    vpd_current_subcolumn = sct
    --print( "sub_column_type:",song.selected_sub_column_type )
    if song.selected_sub_column_type <= 7 then
      vb.views["GUI_TFX_VISIBLE"].visible = false
      vb.views["GUI_SFX_VISIBLE"].visible = true
    else
      vb.views["GUI_SFX_VISIBLE"].visible = false
      vb.views["GUI_TFX_VISIBLE"].visible = true
    end
  else
    return
  end
end
if not ( renoise.tool():has_timer( vpd_check_current_subcolumn ) ) then
  renoise.tool():add_timer( vpd_check_current_subcolumn, 20 )
end

In this case, it is necessary to make a renoise.tool(): remove_timer ( vpd_check_current_subcolumn ) ?

Is it always necessary to make a remove, with any timer or observable?

I’ve always had doubts about this.

Thanks!