I want to open Properties window (if not open) from a plugin. Alchemist gives me this:
const batchPlay = require("photoshop").action.batchPlay;
const result = await batchPlay(
[
{
"_obj": "invokeCommand",
"commandID": 6478,
"kcanDispatchWhileModal": true,
"_isCommand": false,
"_options": {
"dialogOptions": "dontDisplay"
}
}
],{
"synchronousExecution": false,
"modalBehavior": "fail"
});
But getting error:
The command “<unknown>” is not currently available.
I assume it’s the wrong command ID
Also tried "kcanDispatchWhileModal": false
, but no luck
Any advice? Or is this not possible at all?