Where to find properties of display (scaleratio) for plugin

BECOME PART OF THE COMMUNITY - Sign up here
  • Hi

    I made a macro to change the zoom ration for my display 1

    The command is Set Display 1 Property "scaleratio" "1.25x"

    I want to write a plugin to have a dialog box with the list of different zoom values and the current one highlighted.

    But i can't find where is that property.

    List Display 1 doesn't show me anything., same with Cd Display 1

    Do you know where it is ?


    Thx

    Edited once, last by Bentoylight (June 23, 2024 at 1:31 PM).

  • Code
    return function()
      local dialog = GetFocusDisplay().ScreenOverlay:Append('BaseInput')
      dialog.w, dialog.h = 200, 100
      local button = dialog:Append('PropertyControl')
      button.Target = GetDisplayByIndex(1)
      button.Property = 'ScaleRatio'
    end

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!