make type "Memo"
set newQ to last item of (selected as list)
set properties of newQ to {q name:qName, q number:qNum, continue mode:do_not_continue}
set newCueID to uniqueID of newQ
move cue id newCueID to after targetQ
set continue mode of parent of newQ to auto_continue
I also tried
move cue id newCueID to after cue targetQ
but got
QLab 3 got an error: Can’t make cue id "628" of workspace "QLab3 Basic Template v4" into type integer.
Trying cue id TargetQ throws a similar error. Any help on the appropriate syntax would be appreciated.
(The idea here is you select the first cue of every scene and run the script, then you have a memo marking scene breaks but your calling doesn't change.)
move cue id newCueID of parent of newQ to after targetQ
and got this error again.
QLab 3 got an error: You cannot move/insert/remove cues referenced from a workspace. Try performing the operation referenced from their enclosing group or cue list instead.
although I can’t immediately remember if the ability to set selected only arrived in v4.
set selected to cue "1"
tell application id "com.figure53.QLab.3"tell front workspacemake type "Memo"set newCue to last item of (selected as list)set newCueID to uniqueID of newCuetell parent of newCuemove cue id newCueID to after cue "1"end tellend tellend tell
--
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/code-of-conduct/
---
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/38e145f7-8d20-4ae0-b0e3-773e4c96083c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
move cue id newCueID to after cue (q number of targetQ)