This code snippet could help you to get more data about UI. But change panelID of course.
const {executeAsModal} = require("photoshop").core;
const {batchPlay} = require("photoshop").action;
async function actionCommands() {
const result = await batchPlay(
[
panelCommand()
],
{}
);
console.log(result);
}
async function runModalFunction() {
await executeAsModal(actionCommands, {"commandName": "Action Commands"});
}
await runModalFunction();
function panelCommand() {
return {
_obj: "owlAction",
_target: [
{
_ref: "application",
_enum: "ordinal",
_value: "targetEnum"
}
],
"owlCommand": "getPanelInfo",
owlPanelID: `panelid.static.properties`
};
};
This code snippet could help you to get more data about UI. But change panelID of course.