Page 1 of 1

(LUA) - GO on selected cuelist

Posted: Fri Apr 23, 2010 10:51 am
by tom
A simple code that sends a GO to the selected cuelist. I use this as a variable on the iphone and a "pass through 50% script" on a fader for a silent go button. You can also use it as a sort of master GO button if placed on a fader bump button. Handy if you're swapping around through lots of cuelists.

Code: Select all

function trim(s)
   return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
end
a = HC.GetProperty('system','currentcuelist','name')
HC.CueListGo(trim(a))