• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

How to get _obj name of a command in action?

New Here ,
Oct 18, 2022 Oct 18, 2022

Copy link to clipboard

Copied

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!

TOPICS
Actions and scripting , SDK

Views

29

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation