Control QLab with emails using OSC!

225 views
Skip to first unread message

micpool

unread,
Jun 28, 2015, 4:37:58 PM6/28/15
to ql...@googlegroups.com
Here's another crazy OSC method, which I can't think of an immediate use for, but which might come in handy one day for a situation where you need to do things to a workspace from a computer or device that doesn't have network access to the computer running QLab.(As long as that computer can receive email)

It allows you to send emails with the subject line #OSC and a valid QLab OSC command (and nothing else) in the body of the email

e.g.

Subject:#OSC

/reset

You save this script as QlabOSC in library/Application Scripts/com.apple.mail

tell application "Mail" to set the thecommand to content of (first message of inbox)

tell application id "com.figure53.qlab.3" to tell front workspace

do shell script "echo " & the quoted form of (thecommand) & " | nc -u -w 0 127.0.0.1 53535"

end tell


and then create a rule in Mail


if any subject is equal to #OSC


Run Applescript QlabOSC



Obviously, it's not very good as a go button, but for anything where a few seconds latency is acceptable, works quite well.  With some translation of plain text it might also work as an installation which the public could control by writing to it, you could even convert their emails  to title cues or something….




Mic






Alec Sparks

unread,
Jun 28, 2015, 9:16:35 PM6/28/15
to ql...@googlegroups.com
Brilliant.

Andy Dolph

unread,
Jun 29, 2015, 12:26:56 AM6/29/15
to ql...@googlegroups.com
I've heard of phoning in a performance, but emailing????

;)

Awesome!

Sent from my iPhone
--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53

---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nithat Namfa

unread,
Jul 3, 2015, 8:34:03 AM7/3/15
to ql...@googlegroups.com
Dear Mic,

If possible, Can you make sample applescript for use email to send text to Qlab and I would like to show text from email display on title cue with second surface display. I would like to use this feature so much.

Best Regard,
Kai
Phuket Thailand

micpool

unread,
Jul 3, 2015, 10:08:20 AM7/3/15
to ql...@googlegroups.com
Yes, of course

You save this script as QlabOSCT in library/Application Scripts/com.apple.mail

tell application "Mail" to set the thetext to content of (first message of inbox)


tell application id "com.figure53.qlab.3" to tell front workspace

panic

make type "Titles"

set thecue to the last item of (selected as list)

set text of thecue to thetext

start thecue

end tell


and then create a rule in Mail


if any subject is equal to #OSCT

Run Applescript QlabOSCT


Mic


Nithat Namfa

unread,
Jul 4, 2015, 3:43:53 AM7/4/15
to ql...@googlegroups.com
Dear Mic,

Thank so much for this.

Best Regard,
Kai

Reply all
Reply to author
Forward
0 new messages