Overrides window taking focus on OSC changes?

177 views
Skip to first unread message

FL K

unread,
May 22, 2025, 8:03:43 PM5/22/25
to QLab
Hi lovely folks at Figure53,

I recently wanted to put a particular override with a toggle network external out on a hotkey, works OK, but every second time (when it goes from override off to override on), the override window pops up - I understand the reasoning behind this, but annoyingly, it pulls keyboard focus from QLab! Can this be removed (maybe by making it floating, like the audition windows?), at least when commands are issued via osc / scripts? Would make more sense in my mind, but what do other people think?

All the best,

Freddy


FL K

unread,
May 30, 2025, 11:47:25 PM5/30/25
to QLab
Hello lovely folks at Figure53,

Just bumping this to see if this could be a feature request, please :). Or to understand if there are reasons that this is desirable behaviour?

Thank you,

Freddy

Chris Ashworth

unread,
May 31, 2025, 9:06:31 AM5/31/25
to FL K, ql...@googlegroups.com
Hi Freddy,

My colleague Brent filed it in our tracker last week! :) 

-C

FL K

unread,
Jun 1, 2025, 2:36:30 AM6/1/25
to QLab
Thanks Chris (and Brent!),

Cheers,
Freddy

Forestillingsrapport Svalegangen

unread,
Jan 29, 2026, 7:05:30 AM (4 days ago) Jan 29
to QLab
Hej Freddy
I had a lot off trouble with toggling OSC on/off cause I can't get an answer of what the state is in Override controls. 
How do you get arround that?
I have it working with a script for OFF and another one for OFF, but it would bee nice with a toggle funktion ON/OFF

Can you help me with a solution

This is my script that doesn't work :(

tell application id "com.figure53.QLab.5"
tell overrides
if network external output enabled is 0 then. -- I did not get an answer on this, ither ON/OFF  or FALSE/TRUE
--tell overrides
--set network external input enabled to true
set network external output enabled to true
--set network external input enabled to false
--set network external output enabled to false
--end tell
else
--tell overrides
-- set network external input enabled to true
--set network external output enabled to true
--set network external input enabled to false
set network external output enabled to false
-- end tell
end if

end tell
end tell

FL K

unread,
Jan 29, 2026, 9:08:38 AM (4 days ago) Jan 29
to QLab
Hej there,

Yeah, my version is also clunky, some UI scripting with logging it in the script cue (which I often give the shortcut as q number, in this case Ctrl + O, translating to a q number of "⌃O", which in the script seems to turn into "?O" (but it works):


tell application id "com.figure53.QLab.5"

set theWindowID to window 1

tell front workspace

set theNotes to notes of cue "?O"

if theNotes is "hidden" then

set theValue to false

set theStatus to "visible"

else

set theValue to true

set theStatus to "hidden"

end if

set notes of cue "?O" to theStatus

end tell

tell overrides

-- #######################################

-- Comment in/out what you need/don't need

-- INPUTS:

--

-- set midi input enabled to theValue

-- set msc input enabled to theValue

-- set sysex input enabled to theValue

-- set network external input enabled to theValue

-- set network local input enabled to theValue

-- set timecode input enabled to theValue

--

-- OUTPUTS:

--

set midi output enabled to theValue

set msc output enabled to theValue

set sysex output enabled to theValue

set network external output enabled to theValue

-- set network local output enabled to theValue

set timecode output enabled to theValue

set dmx output enabled to theValue

-- #######################################

-- Comment Until Figure53 fixes this, hide the OR controller if you want

--

if theValue then

set overrides visibility to false

end if

end tell

end tell

if not theValue then

tell application "System Events"

tell process "QLab"

set frontmost to true

click (first menu item whose name contains " — ") of menu "Window" of menu bar 1

end tell

end tell

end if



Drew

unread,
Jan 29, 2026, 4:51:33 PM (4 days ago) Jan 29
to QLab
Hey all Qlabians,  I contacted support about this back in Dec 2020.  It's not a big deal but it would just be a little icing on the qlab cake.  My way around is this is short and sweet.  I have a script cue with the cue number close in my shortcuts cue list and I point a start cue to it when I need to.

tell application id "com.figure53.Qlab.5" to tell front workspace
 tell application "QLab" to tell overrides to set overrides visibility to false
end tell

I also have this script embedded in my cue that runs when qlab opens as I have a few things happen upon application open.

Cheers
Drew

Paul

unread,
Jan 30, 2026, 12:20:34 PM (3 days ago) Jan 30
to QLab
You can toggle the Overrides Window visibility like this

-- toggle the visablity of the (MIDI, Network, Timecode) Overrides window

tell application "QLab" to tell overrides

if overrides visibility then

set overrides visibility to false

else

set overrides visibility to true

end if

end tell


or if you just want to turn if off, you can do that with one line script

tell application "QLab" to tell overrides to set overrides visibility to false


put this in a group with a Network cue with the OSC

/overrides/networkExternalInputEnabled false


you could put all this in a script to create a toggle, display the overrides window briefly as a sanity check and then hide it again.

so a complete toggle solution in one script (with the network cue being created if it doesn't already exist) You could apply a similar approach with MIDI enable but don't try this with Local OSC disable!


-- toggle external network triggers, briefly showing Overrides window

set netCueNum to "netstatus"

tell application id "com.figure53.QLab.5" to tell front workspace

set nl to linefeed

try

set netCue to cue netCueNum

on error

-- if the network cue doesn't exist make it and set the cue number and patch

make type "network"

set netCue to last item of (selected as list)

set q number of netCue to netCueNum

set network patch number of netCue to 1 -- assumes network patch 1 is still the Qlab internal

end try

-- show the Overrides window

tell application "QLab" to tell overrides to set overrides visibility to true

delay 0.5

-- get the current status of external network input into the notes of the network cue

set parameter values of netCue to "/cue/" & netCueNum & "/notes #/overrides/networkExternalInputEnabled#"

start netCue

if (notes of netCue) as string is "1" then

display notification "disabled" with title "External Network triggers"

set parameter values of netCue to "/overrides/networkExternalInputEnabled false"

start netCue

else

display notification "Enabled" with title "External Network triggers"

set parameter values of netCue to "/overrides/networkExternalInputEnabled true"

start netCue

end if

-- hide the Overrides window after delay for "sanity check"

delay 1

tell application "QLab" to tell overrides to set overrides visibility to false

end tell

Teatret Svalegangen

unread,
Jan 31, 2026, 9:49:03 AM (2 days ago) Jan 31
to QLab
So as i understand you - it isn't possible to toggle funktions ON/OFF in Overrides cause it don't gives any feedback of states of in exsamble External OSC  ON/OFF or True/False

Paul

unread,
Jan 31, 2026, 11:21:32 AM (2 days ago) Jan 31
to QLab
No, it is possible to toggle the network input on/off, my script in above answer does this. It uses an indirect method to get the current state of the network input because you cannot read that parameter directly in AppleScript. But you can access the status via OSC, and you can put the result of an #osc# query into the Notes of a cue, which you can then read via AppleScript. Depending on the result you can then turn on or off depending on the result - the main if then ... else of my script.

micpool

unread,
Jan 31, 2026, 11:32:38 AM (2 days ago) Jan 31
to QLab
Does this solve all your problems?

Hotkey 1

--toggle current overrides and return Keyboard focus to Main Cue List

tell application id "com.figure53.QLab.5"

set theMIDI to get midi output enabled of overrides

set the midi output enabled of overrides to not theMIDI

set theNetwork to get (network external output enabled of overrides)

set network external output enabled of overrides to not theNetwork

end tell

tell application "System Events" to perform action "AXRaise" of (first window of process "QLab" whose title contains "Main")


Hotkey 2

-- toggle overrides window visibility and return keyboard focus to Main Cue List 

tell application id "com.figure53.QLab.5"

set the overrides visibility of overrides to not (overrides visibility of overrides)

end tell

tell application "System Events" to perform action "AXRaise" of (first window of process "QLab" whose title contains "Main")






toggles.mov
Overrides.qlab5

micpool

unread,
Jan 31, 2026, 11:36:54 AM (2 days ago) Jan 31
to QLab
On Saturday, January 31, 2026 at 4:21:32 PM UTC Paul wrote:
No, it is possible to toggle the network input on/off, my script in above answer does this. It uses an indirect method to get the current state of the network input because you cannot read that parameter directly in AppleScript. But you can access the status via OSC, and you can put the result of an #osc# query into the Notes of a cue, which you can then read via AppleScript. Depending on the result you can then turn on or off depending on the result - the main if then ... else of my script.

Seems unnecessarily complex when this will do it directly



tell application id "com.figure53.QLab.5"

get the network external input enabled of overrides

end tell




 

Paul

unread,
Jan 31, 2026, 2:02:16 PM (2 days ago) Jan 31
to QLab
Yes indeed! much simpler (I hadn't found overrides in the As Dictionary documentation, as I've not needed it)
So you can do a toggle of external network input and hide the overrides window quite simply...  

-- toggle external network input

tell application id "com.figure53.QLab.5"

        -- get the status of the network external input

set neis to get network external input enabled of overrides

if neis then

set network external input enabled of overrides to false

-- leave the overrides window open if input is disabled

tell overrides to set overrides visibility to true

else

set network external input enabled of overrides to true

-- close the overrides window after pause

delay 1

tell overrides to set overrides visibility to false

end if

end tell


(sorry for any confusion with my earlier reply)
don't know why this thread was so long with a comparatively easy solution!
Reply all
Reply to author
Forward
0 new messages