Skip to content

How to check if uosc is enabled, and how to use a script to control the disable and enabled of UOSSC. #1199

@ahaoboy

Description

@ahaoboy

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions