--
Contact support anytime: sup...@figure53.com
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/25f8522e-9e76-4729-892e-5acc96557b52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I notice Mic has just updated his cookbook for v4 - might be worth another look.
tell application id "com.figure53.QLab.3" to tell front workspace
set q name of cue "h" to (length of "10") as text
end tell
This doesn't work in QLab4
tell application id "com.figure53.QLab.4" to tell front workspace
set q name of cue "h" to (length of "10") as text
end tell
set q name of cue "h" to (count characters of "1") as text
tell application id "com.figure53.QLab.4" to tell front workspace
set countdown to q name of cue "VAR"
if countdown is not "-1" then
set totalSeconds to countdown
set countdown to countdown - 1
set q name of cue "VAR" to countdown
set theHours to (totalSeconds div 3600)
set theRemainderSeconds to (totalSeconds mod 3600)
set theMinutes to (theRemainderSeconds div 60)
set theRemainderSeconds to (theRemainderSeconds mod 60)
if (count characters of (theHours as text)) = 1 then
set theHours to "0" & (theHours as text)
end if
if (count characters of (theMinutes as text)) = 1 then
set theMinutes to "0" & (theMinutes as text)
end if
if (count characters of (theRemainderSeconds as text)) = 1 then
set theRemainderSeconds to "0" & (theRemainderSeconds as text)
end if
set theTimeString to theHours & ":" & theMinutes & ":" & theRemainderSeconds as text
set thecustommessage to "/cue/TIME/text \" " & theTimeString & "\""
set the custom message of cue "OSC" to thecustommessage
end if
end tell
QLab4 workspace attached.
Mic
--
Contact support anytime: sup...@figure53.com
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/08b79bbe-28aa-4d23-8b4e-791c54648b98%40googlegroups.com.
<countdown titles.qlab4>