View Single Post
Old 10-21-2019, 09:00 PM   #537
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,430
Default

Quote:
Originally Posted by babag View Post
ah. thanks. but now i'm getting:
that's this line:
Code:
  GUI.New("btn_"..k, "Button", (k - 1) * button_width, 0, button_width, 24, caption = v.label, func = function() reaper.Main_OnCommand(v.command, 0) end)
don't get that. looks right to my untrained eye.
Dammit, my mistake again. Take out "caption = " and "func = " - having the parameters named is an alternate syntax I added a while back.

Quote:
btw, this is really cool.
Thanks. I'm hoping to have the next version ready for testing in a week or two.
Lokasenna is offline   Reply With Quote