Skip to main content
Inspiring
September 22, 2024

History Panel

  • September 22, 2024
  • 16 replies
  • 1515 views

A problem with the  History Panel. When I Open History Options and check “Show New Snapshot Dialog by Default”, this function does not work, I do not get a New Snapshot Dialog.  See attached screen shot.  Suggestions welcome.

 

16 replies

Stephen Marsh
Community Expert
Community Expert
February 2, 2025

@Mark_Weidman 

 

No worries, now that you know how to save and run custom scripts, a whole new world is available to you. Not just for interim bug fixes created by end-users, but for many other feature extensions beyond what comes "out of the box".

Inspiring
February 2, 2025

Got it, installed updated script and it works fine, including option to name the history step.  Thanks for your help and patience, much appreciated.

Stephen Marsh
Community Expert
Community Expert
February 2, 2025

@Mark_Weidman 

 

That's great, glad you got past the initial hurdles of saving and running a custom script!

 

I posted two scripts, the v1.0 from September 21st only offered the fix for the broken feature, the ability to set the snapshot source. One could then.manually rename the snapshot if desired.

 

I initially didn't put in much work in the initial script beyond the basics, as this was a bandaid solution that I didn't expect to have any longevity.

 

On the 16th and 18th of October I posted 1.1 and 1.2 updates to also offer a name field so that the snapshot name could be set when creating the snapshot, offering the same features as the native command.

 

Scroll down the page until you find the updated code.

 

You should then have a working "from" snapshot source and also the ability to have an auto incrementing snapshot name with the ability to change it to a custom name.

 

Hope this helps!

Inspiring
February 2, 2025

I sved the Script in BBEdit and installed it in the PS Scripts Folder.  Now, I can select that Script from within PS/File Menu/Scripts, but all it does is create a new history snapshot.  It does not give me an automated option to Name the history snapshot,  The only option is to click in the History Panel, select the Snapshot, & Rename it. 

Stephen Marsh
Community Expert
Community Expert
February 1, 2025
quote

I placed the script file in the correct PS folder, restarted PS, problem continues with History Panel.  Then, from within PS I went File > Scripts > Browse and selected the new script.


By @Mark_Weidman

 

Having the script installed in the correct folder doesn't fix the broken feature in Photoshop, scripts can't correct compiled program features, the script is a replacement for the native command – I have recreated the native feature via scripting to overcome the programming bug. So rather than using the history panel, you need to go to File > Scripts.

 

If you have installed the script in the Presets/Scripts folder and restarted Photoshop, it will be listed in the File > Scripts window. There is no need to use Browse as the script is installed.

 

The browse command can be used as an alternative method to run scripts which are not installed.

Stephen Marsh
Community Expert
Community Expert
February 1, 2025

@Mark_Weidman 

 

You saved the file as RTF and not plain TXT. From my blogpost:

 

“Open a new blank file in a plain-text editor (not in a word processor)

 

And:

 

Text Editor Applications: Only paste the source code into plain text editors, not rich text or word processing apps. Common free or commercial plain text editors suitable for code saving include –

Cross-platform: Atom, Sublime TextMS Visual Studio Code + Adobe ExtendScript Debugger

Mac: Apple TextEdit (ensure that the Format menu is set to Plain Text mode, not Rich Text mode), BBEdit

Inspiring
February 1, 2025

I placed the script file in the correct PS folder, restarted PS, problem continues with History Panel.  Then, from within PS I went File > Scripts > Browse and selected the new script.  This resulted in the error message  as follows:

 

Stephen Marsh
Community Expert
Community Expert
February 1, 2025

@Mark_Weidman 

 

I listed the installation instructions alphabetically by Application in that Blogpost, Bridge was first and you needed to scroll down to find Photoshop. Perhaps I need to put Ps first!

Inspiring
February 1, 2025

Thanks for the detailed response.  I installed it in Bridge because I was following the instructions on the URL provided.  My mistake.  I will follow your recent instructions and let you know if it works.  Mark Weidman

Stephen Marsh
Community Expert
Community Expert
February 1, 2025

@Mark_Weidman 

 

Why did you install it in Bridge? It's a Photoshop script and needs to be installed and run from Photoshop or directly executed from Photoshop if not installed.

 

Adobe Photoshop Script Installation Location

Scripts are installed in the /Presets/Scriptsfolder

Mac OS Example:

  • /Applications⁩/Adobe Photoshop CC 2019⁩/Presets⁩/Scripts
  • /Applications/Adobe Photoshop 2021/Presets/Scripts
 
(If this path does not match your version, it should be a simple enough process to find the correct folder using this guide)

Win OS Example:
  • C:\Program Files\Adobe\Adobe Photoshop CC 2018\Presets\Scripts
  • C:\Program Files\Adobe\Adobe Photoshop 2021\Presets\Scripts
 
(If this path does not match your version, it should be a simple enough process to find the correct folder using this guide)
 
NOTE: If running, Adobe Photoshop must be quit and restarted for newly added scripts to become accessible.

Alternatively, select File > Scripts > Browse and navigate to the script file. Scripts recorded into an Action via the Browse command will record the entire absolute path to the script, often making them unsuitable for use on multiple computers. Installed scripts will only record the script name into an Action, which is the better option for Actions that will be installed on multiple computers.

Further information at the Adobe site:
https://helpx.adobe.com/photoshop/using/scripting.html

P.S.
William Campbell has videos on how to install scripts here: