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

New snapshot options (after the ellipsis)

Explorer ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

Hi-

In Photoshop 25.12 on Mac 14.6.1 going into the history flyout panel to "New Snapshot" no longer opens the additional options box for selecting current layer.  Instead, a new overal snapshot is produced like it would be if you clicked the little camera icon at the bottom of the palette.  Any idea if something has changed?

 

Screenshot 2024-09-20 at 5.55.36 PM.jpg

Bug Unresolved
TOPICS
macOS

Views

594

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

correct answers 1 Pinned Reply

Adobe Employee , Oct 21, 2024 Oct 21, 2024

Hi all! Thanks for your patience. 

 

I have logged a bug for this issue - PS-143445

 

Thanks, 

Shivani 

Votes

Translate

Translate
12 Comments
Community Expert ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

I can confirm with an Intel Mac running Photoshop 25.12.0 and OS 13.7

 

Holding down the Option modifier key when pressing the snapshot icon at the foot of the panel doesn't work either.

Votes

Translate

Translate

Report

Report
Community Expert ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

As a temporary workaround until fixed, this can be scripted:

 

2024-09-21_12-26-47.png

 

/*
New Snapshot Script.jsx
A temporary hack to workaround a bug in Ps 2024 (25.12.0)
v1.0 - 21st September 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-bugs/new-snapshot-options-after-the-ellipsis/idc-p/14872580
*/

#target photoshop

// Main function to create snapshot
function makeSnapshot(fromParam) {
    var s2t = function (s) {
        return app.stringIDToTypeID(s);
    };
    var descriptor = new ActionDescriptor();
    var reference = new ActionReference();
    var reference2 = new ActionReference();
    reference.putClass(s2t("snapshotClass"));
    descriptor.putReference(s2t("null"), reference);
    reference2.putProperty(s2t("historyState"), s2t("currentHistoryState"));
    descriptor.putReference(s2t("from"), reference2);
    descriptor.putEnumerated(s2t("using"), s2t("historyState"), s2t(fromParam));
    executeAction(s2t("make"), descriptor, DialogModes.NO);
}

// Create the user interface
var dlg = new Window("dialog", "New Snapshot Script");
dlg.orientation = "column";
dlg.alignChildren = ["center", "top"];
dlg.spacing = 10;
dlg.margins = 16;

// Create dropdown with user-friendly labels
var dropdownItems = [
    ["Full Document", "fullDocument"],
    ["Merged Layers", "mergeLayersNew"],
    ["Current Layer", "currentLayer"]
];

var dropdown = dlg.add("dropdownlist");
for (var i = 0; i < dropdownItems.length; i++) {
    dropdown.add("item", dropdownItems[i][0]);
}
dropdown.selection = 0;

// Create buttons
var btnGroup = dlg.add("group");
btnGroup.orientation = "row";
var okBtn = btnGroup.add("button", undefined, "OK");
var cancelBtn = btnGroup.add("button", undefined, "Cancel");

// Button click handlers
okBtn.onClick = function() {
    var selectedValue = dropdownItems[dropdown.selection.index][1];
    makeSnapshot(selectedValue);
    dlg.close();
};

cancelBtn.onClick = function() {
    dlg.close();
};

// Show the dialog
dlg.show();

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

Votes

Translate

Translate

Report

Report
Explorer ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

Thank you Stephen. 

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 16, 2024 Oct 16, 2024

Copy link to clipboard

Copied

I hope this get fixed soon. We use snapshots in a lot of actions and need the naming option. Please Adobe Team fix this soon? Pretty please?

Votes

Translate

Translate

Report

Report
New Here ,
Oct 16, 2024 Oct 16, 2024

Copy link to clipboard

Copied

I have also noticed that in the latest version of Photoshop, the 'Snapshot' dialogue box no longer appears (even though I have the option enabled in the protocol options). I used to be able to use it to overwrite existing snapshots with the same name, but now it just creates a snapshot without asking me.

Is there any way you can fix this? It is really disrupting my workflow and it would be great to have this feature back.

Votes

Translate

Translate

Report

Report
Community Expert ,
Oct 16, 2024 Oct 16, 2024

Copy link to clipboard

Copied

quote

I hope this get fixed soon. We use snapshots in a lot of actions and need the naming option. Please Adobe Team fix this soon? Pretty please? @jk19035953 

 

2024-10-17_07-32-07.png

Until this is fixed, the following code will add a name field to the previous script so that you can enter the name and select the options:

 

 

/*
New Snapshot Script.jsx
A temporary hack to workaround a bug in Ps 2024 (25.12.0)
v1.0 - 21st September 2024, Stephen Marsh
v1.1 - 16th October 2024, Added a field to enter the snapshot name
v1.2 - 17th October 2024, Added code to auto increment the default Snapshot name # number
https://community.adobe.com/t5/photoshop-ecosystem-bugs/new-snapshot-options-after-the-ellipsis/idc-p/14872580
*/

#target photoshop

// Main function to create snapshot
function makeSnapshot(theName, fromParam) {
    var s2t = function (s) {
        return app.stringIDToTypeID(s);
    };
    var descriptor = new ActionDescriptor();
    var reference = new ActionReference();
    var reference2 = new ActionReference();
    reference.putClass(s2t("snapshotClass"));
    descriptor.putReference(s2t("null"), reference);
    reference2.putProperty(s2t("historyState"), s2t("currentHistoryState"));
    descriptor.putReference(s2t("from"), reference2);
    descriptor.putString(s2t("name"), theName);
    descriptor.putEnumerated(s2t("using"), s2t("historyState"), s2t(fromParam));
    // Change DialogModes.NO to DialogModes.ALL to confirm overwrite
    executeAction(s2t("make"), descriptor, DialogModes.ALL);
}

var dlg = new Window("dialog", "New Snapshot Script");
dlg.orientation = "column";
dlg.alignChildren = ["fill", "top"];
dlg.spacing = 10;
dlg.margins = 16;

// Get the history states
var historyStates = app.activeDocument.historyStates;

// Create variables to store the highest snapshot number and track if "Snapshot 1" exists
var highestSnapshotNumber = 0;
var snapshotOneExists = false;

// Loop through the history states and check for snapshots named "Snapshot #"
for (var i = 0; i < historyStates.length; i++) {
    if (historyStates[i].snapshot) {
        var snapshotName = historyStates[i].name;
        // Check if the snapshot name follows the pattern "Snapshot #"
        var match = snapshotName.match(/^Snapshot (\d+)$/);
        if (match) {
            var snapshotNumber = parseInt(match[1], 10);
            // Update the highest snapshot number
            if (snapshotNumber > highestSnapshotNumber) {
                highestSnapshotNumber = snapshotNumber;
            }
            // Check if "Snapshot 1" exists
            if (snapshotNumber === 1) {
                snapshotOneExists = true;
            }
        }
    }
}

// Determine the next snapshot name
var nextSnapshotName = snapshotOneExists ? "Snapshot " + (highestSnapshotNumber + 1) : "Snapshot 1";

// Add edittext for the snapshot name
dlg.add("statictext", undefined, "Snapshot Name:");
var nameInput = dlg.add("edittext", undefined, nextSnapshotName);
nameInput.characters = 20;

// Create dropdown with user-friendly labels
var dropdownItems = [
    ["Full Document", "fullDocument"],
    ["Merged Layers", "mergeLayersNew"],
    ["Current Layer", "currentLayer"]
];
dlg.add("statictext", undefined, "From:");
var dropdown = dlg.add("dropdownlist");
for (var i = 0; i < dropdownItems.length; i++) {
    dropdown.add("item", dropdownItems[i][0]);
}
dropdown.selection = 0;

// Create buttons
var btnGroup = dlg.add("group");
btnGroup.orientation = "row";
btnGroup.alignChildren = ["fill", "top"];
var cancelBtn = btnGroup.add("button", undefined, "Cancel");
var okBtn = btnGroup.add("button", undefined, "OK");

// Button click handlers
okBtn.onClick = function () {
    var selectedValue = dropdownItems[dropdown.selection.index][1];
    var snapshotName = nameInput.text; // Get the user-entered name
    makeSnapshot(snapshotName, selectedValue);
    dlg.close();

};

cancelBtn.onClick = function () {
    dlg.close();
};

// Show the dialog
dlg.show();

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 16, 2024 Oct 16, 2024

Copy link to clipboard

Copied

Hey there, 

 

We're sorry for the trouble. Could you please update Photoshop to the latest version, 26.0, and check if the issue persists? 

https://adobe.ly/3Yp09RU

 

Thanks, 

Shivani 

 

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 16, 2024 Oct 16, 2024

Copy link to clipboard

Copied

Hi Shivani, yes I updated today and the error is still there.

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 16, 2024 Oct 16, 2024

Copy link to clipboard

Copied

I updated as well and the bug persists.  M1 Ultra macOS 14.7 Photoshop 26.0.0

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 21, 2024 Oct 21, 2024

Copy link to clipboard

Copied

Hi all! Thanks for your patience. 

 

I have logged a bug for this issue - PS-143445

 

Thanks, 

Shivani 

Votes

Translate

Translate

Report

Report
New Here ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

Has this been resolved. It's very annoying. the nameing doesn't work in the beta version 26.1.0 nor the main version 26.0.0

 

Please sort this out quickly!. 

 

thanks

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

LATEST

Thanks for updating. I have already updated this about the team. 

 

Thanks, 

Shivani 

Votes

Translate

Translate

Report

Report