Hi everybody, and thanks, as usual, for your support
I would like to know if there is a way to write javascript code that automatically select the" Image" option rather than the “Selections” option in the “Select Color Range” Dialog
See image
I’ m able to open the Dialog with the following code but I’m not able to automatically select the ‘Image’ option
` const result = await batchPlay(
[
{
_obj: "colorRange",
fuzziness: 30,
minimum: {
_obj: "labColor",
luminance: 73.35,
a: 0,
b: 0
},
maximum: {
_obj: "labColor",
luminance: 73.35,
a: 0,
b: 0
},
colorModel: 1,
_options: {
dialogOptions: "display"
}
}
],{ }
);`