Is there a way to get the current slices in a PS document? Trying the following BatchPlay throws a The command “Get” is not currently available error.
batchPlay(
[
{
_obj: "get",
_target: [
{
_ref: "slice",
_enum: "ordinal",
_value: "allEnum",
},
],
_options: {
dialogOptions: "dontDisplay",
},
},
],
{
synchronousExecution: false,
modalBehavior: "fail",
}
)