Page 1 of 1

LXconsole and Applescript help

Posted: Fri Nov 09, 2012 1:15 pm
by nizer
Had a catostrophic computer failure last night. Even iTunes would not work. Qlab wouldn't restart either. Good old trusty LXConsole kept chugging along though. I had no way to control the lights easily because they are triggered via MSC from Qlab and my tech person didn't get how to trigger lights in LXConsole.

How do I use applescript to trigger cues in LXConsole. I tried a bunch of stuff last night and failed.

All I need is

tell application LXConsole
activate
GO cueNumber 1
end tell

tell application LXConsole
activate
GO cueNumber 4
end tell

This way I can still trigger a few emergency cues while I am on stage.

Posted: Fri Nov 09, 2012 3:08 pm
by admin
This should do what you want:

tell application "LXConsole"

activate

setMode the front document to "live"

tell the front document

doCommand string "cue: 1"

GO

end tell

end tell


As far as fixing your computer, there are several standard things to try. First, use DiskUtility and repair disk permissions. That's always a good first try. Second, if you are running Mountain Lion, it is possible that GateKeeper is preventing an unsigned application from running. Open System Preferences->Security & Privacy and look at the "Allow applications downloaded from" setting. You may need to disable GateKeeper to run unsigned applications.

That does it

Posted: Sat Nov 10, 2012 3:20 am
by nizer
it works perfectly. This way even if Qlab is done for, I can turn on and off the lights.