Change field in Bitfocus Companion using Qlab

292 views
Skip to first unread message

Chris Williams

unread,
Jun 9, 2022, 10:44:33 AM6/9/22
to QLab
Hi All, 

I hope everyone is having a good Thursday. 

Im looking for a way to change a text field in Companion that doesn't have a variable options, possibly by using Qlab, in order to change the text to what is in the cue stack. 

Does anyone if it is possible to script a text change on a web page (happy to have the companion config page open if needed) or in companion itself? 

Thanks in advance 

Taylor Glad

unread,
Jun 10, 2022, 12:00:06 AM6/10/22
to QLab
One easy way would be naming the Companion button with the variable:

$(QLab FB:q_BLAH_name)

$(INSTANCENAME:q_{num}_name)
Name of the QLab cue number {num}. See below for certain restrictions. --->QLab allows almost any characters in a Cue Number. Some characters don't play well with OSC or Companion. Using '$', '(', or ')' in your Cue Number won't work if you want to use the q_{cue}_name variable or the 'q_bg' feedback.



So have the Companion button always get the name from cue BLAH (or whatever "number that doesn't have to be made up of numbers") in QLab, and then use OSC or a script.


OSC 

/cue/BLAH/name "Hello There"

/cue/{cue_number}/name {string}

If string is given, set the name of the specified cue to string. If not, return the name of the specified cue.




Script

tell application id "com.figure53.QLab.4" to tell front workspace
    set the q name of cue "BLAH" to "Hi"
end tell


q name (text) : The name of the cue. Not unique.

Reply all
Reply to author
Forward
0 new messages