System Color Picker window

    Apr 27 2012 | 5:25 pm
    Hi there,
    In one of my externals I would like to be able to open the system color picker, get the RGBA color values and get notified when the colorpicker's window closes. Could someone (probably from C74) be so kind to post the relevant code ?
    Thanks a million.
    - Luigi

    • May 01 2012 | 6:46 pm
      Hi Luigi,
      The only way we expose the color picker outside of the Max kernel is through the attribute setter. So... I'd recommend making your color an attribute.
      best, Tim
    • May 02 2012 | 10:59 am
      Yes, I can make my color an attribute... but then is it possible to interact with the system color picker without going through the inspector? I am basically looking to implement what the [colorpicker] object does:
      1) Open the system color picker by double-clicking on the object. 2) Select your color 3) When the color picker's window is closed the object sends out a bang.
      The reasoning behind it is that I am working on a large UI external that manages many graphic objects. Being able to directly click on each object and edit its color would be really cool.
      It is possible to use the aforementioned approach?
      - Luigi