Save history snapshot to file?

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

nirkaufman

Save history snapshot to file?

Post by nirkaufman »

Hi,
is it possible to Save history snapshot to file?
THX

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

larsen67

Save history snapshot to file?

Post by larsen67 »

Not sure I fully understand what you want but you can record a new document from the history palette… you could then save that to file…?

Code: Select all#target photoshop

historyDoc();

function historyDoc() {
   
  function cTID(s) { return app.charIDToTypeID(s); };
  function sTID(s) { return app.stringIDToTypeID(s); };

      var desc56 = new ActionDescriptor();
      var ref26 = new ActionReference();
      ref26.putClass( cTID('Dcmn') );
      desc56.putReference( cTID('null'), ref26 );
      var ref27 = new ActionReference();
      ref27.putProperty( cTID('HstS'), cTID('CrnH') );
      desc56.putReference( cTID('Usng'), ref27 );
   executeAction( cTID('Mk  '), desc56, DialogModes.NO );

};
Mike Hale

Save history snapshot to file?

Post by Mike Hale »

Yes, it's not clear to me either what you want to do. If you just want a way to save a snapshot you don't need a script. Just use the fly-out menu. If you are asking how to do that in a script is to use the scriptlistener plug-in. If you are scripting Photoshop you really should have that installed, there are many things that you can only do that way(Action Manager).

If you need something else you need to give more details.