Ways to Change the Color in the Color Picker / Color Box


  1. Manual User Input (GUI):

    • The end user directly clicks and selects a color from the Color Picker in the ActionPad interface. In the chapter "11.19.2 Assigning Actions to GUI Elements" of the Sympholight manual is described, how to link a color picker in the Action Pad directly to a color effect, without any Workflow blocks.


      There are several ways to change the color in a Color Picker (Color Box or Wheel) in the workflow, too:

  2. Through Workflow Designer - PortIns:

    • Use Workflow Blocks (e.g., Color Box block) with PortIns:

      • Color In: send a full color value (ProPhotoColor).

      • Red In, Green In, Blue In, Alpha In: send individual channel values (0–255).

    • These inputs allow changing the color programmatically or via automation.

  3. From Another Color Picker:

    • Connect multiple color pickers and link their values using shared workflow logic to synchronize changes.

  4. Through Scripting (Advanced):

    • Retrieve or assign color values using the Get Property or Set Property Workflow Blocks, accessing the color value as a property of the Color Picker object.

Here's an example how to control the color of a Color Picker and a text label (see attached webp):


Script:
#region usings
using System;
using Ecue.Scripting.Compatibility;
#endregion

/// <summary>
/// This class is public static, so it's methods can be accessed from the workflow designer.
/// </summary>
public static class SingleColorGradient
{
    public static Object SingleColor(ProPhotoColor ColorIn) //you will have to use Object here
   {
      return new ProPhotoGradient(new ProPhotoColor[]{ColorIn}); // there is a constructor that takes an array of color
   }
}

Attached Files
ColorPickerChangeColor.webp
404kb