Skip to content

Instantly share code, notes, and snippets.

@cameronmcefee
Created September 12, 2012 23:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cameronmcefee/3710864 to your computer and use it in GitHub Desktop.
Save cameronmcefee/3710864 to your computer and use it in GitHub Desktop.
How to make one history state in Photoshop
// Suspend history logging so the grid can run as one history state
//
// p - params for renderGuides(). Not used in this method.
//
// Returns void
function execGuideGuide(p){
app.activeDocument.suspendHistory("GuideGuide!", "renderGuides(p)")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment