I have created a BatchPlay which basically makes a selection.
This works great, the selection is made and the marching ants are shown.
I have also created a BatchPlay to Hide the Marching Ants shown below
function HideAnts() {
const batchPlay = require("photoshop").action.batchPlay;
const result = batchPlay(
[
{
_obj: "select",
_target: [
{
_ref: "$Mn",
_enum: "$MnIt",
_value: "toggleShowExtras",
},
]
}
], {
"synchronousExecution": false,
"modalBehavior": "fail"
});
}
Issue:
I want the Marching Ants to be hidden after the selection has been made.
I have tried calling the HideAnts() function after the BatchPlay has made the selection but the Ants never seem to hide
Ian
