UXP Toolkit
    Preparing search index...

    Represents an Action in the Actions palette. Actions are series of commands that can be recorded by user, and can be replayed at a later time

    // Access and play an action
    const actionSet = app.actionTree[0];
    const action = actionSet.actions[0];
    await action.play();
    // Rename and duplicate an action
    const action = app.actionTree[0].actions[0];
    action.name = "My Custom Action";
    const copy = action.duplicate();
    Index

    Accessors

    Methods