View Single Post
Old 03-22-2019, 08:05 PM   #25
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

I got that all working good now, I added a spk77's right click menu.
I got the bar offset to work with
Code:
  cur_pos = reaper.GetCursorPosition()
  reaper.Main_OnCommand(40042,0) -- Transport: Go to start of project
  start_pos = reaper.GetCursorPosition()
  buf = reaper.format_timestr_pos(start_pos, "", -1)
  if buf == "-1.1.00" then bar_offset = -1
     else bar_offset = 1 end
  reaper.SetEditCurPos(cur_pos, 1, 0)
Still not sure how to drop bar 1 to a new line or have the two count-in bars
fit to the window width.
I could not see where you changed it from the original 1 bar per line to 4 bars per line.
Then I might be able to set it to 2 bars per line for measure -1 and 0 then go back to 4 bars per line for measure 1 and up.
Thanks again !



MusoBob is offline   Reply With Quote