Help request, running terminal commands from Qlab.

418 views
Skip to first unread message

Daniel Richert

unread,
Sep 22, 2014, 11:11:26 AM9/22/14
to ql...@googlegroups.com
Hi Masters of Qlab.

I would like to learn how to launch terminal commands from Qlab script.

I would like to do two terminal commands in series first to go to the directory Applications, and then trigger a color on Blink1 (external usb led)

cd /Applications (enter)

then

./blink1-tool -m 100 --rgb=255,0,255


Thank you so much

Dave "luckydave" Memory

unread,
Sep 22, 2014, 11:20:06 AM9/22/14
to ql...@googlegroups.com
On Monday, September 22, 2014 at 8:11 AM, Daniel Richert wrote:
I would like to learn how to launch terminal commands from Qlab script.

I would like to do two terminal commands in series first to go to the directory Applications, and then trigger a color on Blink1 (external usb led)

cd /Applications (enter)

then

./blink1-tool -m 100 --rgb=255,0,255

You don't need Terminal, nor do you need to switch directories. Just run the following script in a Script cue in QLab:
 
do shell script "/Applications/blink1-tool -m 100 --rgb=255,0,255"

Without a blink1, I can't test this, but I believe that's all you'll need.

-- 

Daniel Richert

unread,
Sep 22, 2014, 11:40:22 AM9/22/14
to ql...@googlegroups.com
Perfect, thank you so much
Reply all
Reply to author
Forward
0 new messages