UXP Toolkit
    Preparing search index...

    A collections class allowing for array access into a document's history states, while also providing familiar methods from ExtendScript, like getByName

    // Iterate through all history states
    app.activeDocument.historyStates.forEach(h => console.log(h.name));

    // Find all snapshot history states
    var snapshots = app.activeDocument.historyStates.filter(h => h.snapshot)

    Hierarchy

    Indexable

    • [index: number]: HistoryState

      Used to access the history states in the collection.

      22.5

    Index

    Accessors

    Methods

    Accessors

    Methods