QLab AppleScript: Switch cueList <next cue list-II>


Notice
I apologize in advance that English is not my first language and Please excuse me for my poor writing.
It is just a suggestion.
-> Written in Japanese: QLab AppleScript: cueListの切り替え <next cue list-II>

Activate the specified cue list using script cue in QLab4.

Read me!!→About Qlab AppleScript

**Release Note**: 2020/4/2
* To speed up the operation by the algorithm improvements. * Changing values setting due to edit the algorithm.

AppleScript

Enter this Script into script tab in script cue.

next_cue_list.scpt
set nextcueList to "Target_cueList"
set selectcueNumber to "Select_CueNumber"

tell application id "com.figure53.QLab.4" to tell front workspace
	set selected to item 1 of (get every cue of (every cue list whose q name is nextcueList) whose q number is selectcueNumber)
	
	go
	
end tell

Setting

  1. Enter this script into [Script]Tab of [Inspecta].
  2. Set values in this script.
  3. Set the cue list name you need activate to Target_cueList in set nextcueList to "Target_cueList"
  4. Compile the script with "Compile Script" button.
    → The script executable when Successfully compiled. is displayed.

Variable

  • Target_cueList

    • Required
    • Set the name of target cueList.
    • The cueList name can set Japanese or character string.
    • Escape with backslash (\), if the name used double-quote("").
      e.g.) If the cue list name is BGM "Monday": set nextcueList to "BGM \"Monday\""
  • Select_CueNumber

    • Required
    • Set the cue number to select.
    • The cue number can set Japanese or character string.

Option

  • Add go next set selected to item 1 of (get every cue of (every cue list ~ to Go the cue of the activation cue list at the same time as running the script cue.
  • You need standby in the selected state, comment out (--go).

Environment

  • macOS Mojave (10.14.6)
  • QLab 4.6.11

Thanks

A CUE LIST A DAY - The QLab Cook Book