I want to implement a feature that disables the osc and uosc UIs while a script is executing, and then re-enables them after execution, similar to the code below. The osc UI works perfectly, but I haven't found a similar uosc property.
const v = mp.get_property_bool('osc')
set_property_bool('osc', false)
do_something()
set_property_bool('osc', v)