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
--
--
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.
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
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
Thank so much for this.
Best Regard,
Kai