(LUA) - GO on selected cuelist

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software
Post Reply
tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

(LUA) - GO on selected cuelist

Post by tom » Fri Apr 23, 2010 10:51 am

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))
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

Post Reply