I just started making plugins for Photoshop, and I am doing it with UXP. After reading the doc, I have a question: how to get the command’s name for batchPlay (I believe it’s the ‘_obj’ field of the ActionDescriptor)?
I know what Actions is in Photoshop, each action records your ‘command’ (e.g. hide/unhide layer, Make fill layer, etc.)
I also know how to access to action’s name and index in UXP dev tool’s console.
But the command under that action (say, ‘make fill name’), I don’t know how to get its name, I need this name to put into the _obj filed to pass to batchPlay.
How do you query the corresponding _obj for the command listing under Photoshop’s Action?
Thanks!