Getting single color channels histogram values not working?

Seems broken to me, too:

BatchPlay works fine though:

batchPlay(
[
   {
      _obj: "get",
      _target: [
         {
            _property: "histogram"
         },
         {
            _enum: "channel",
            _ref: "channel",
            _value: "red"
         },
      ],
      _options: {
         dialogOptions: "dontDisplay"
      }
   }
],{synchronousExecution: true})[0].histogram;
2 Likes