Figure53 / qcmd

QLab 3 Text Mode
http://figure53.com/qlab
MIT License
9 stars 2 forks source link

single mode #11

Closed samkusnetz closed 11 years ago

samkusnetz commented 11 years ago

this may be outrageous, and it may be useless to many, but here goes:

is there usefulness to a single command mode, where just a single command with arguments could be run non-interactively from the shell prompt? i'm thinking something like:

$> qcmd -h HOST -w WORKSPACE "/cue/2/levels 0 3 -12"

telekid commented 11 years ago

I could see this being useful, as it would allow one to fire simple OSC commands from scripts without having to include external OSC libraries. My two cents…

abachman commented 11 years ago

It was already there, just had some bugs. I've fixed it and pushed a new version of the app, so you can sudo gem install qcmd and you'll get the updated version.

Put a -c in front of the cue command and your example would work fine:

qcmd -m localhost -w "my workspace.cues" -c "/cue/2/sliderLevel 0 3"