UXP Toolkit
    Preparing search index...

    Interface PerformMenuCommandResult

    objects/returnobjects

    interface PerformMenuCommandResult {
        available: boolean;
        userCancelled: boolean;
    }
    Index

    Properties

    available: boolean

    If true then the menu command was available and was executed. If false, then Photoshop was in a state where the requested command was not available.

    userCancelled: boolean

    If the menu command was executed (if available is true), then this value is true if the user cancelled the request.