LoginSignup
0
0

More than 1 year has passed since last update.

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

Last updated at Posted at 2020-06-20

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.
    Qiita_next_cue_list_img01_eng.png

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

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0