Skip to content

Instantly share code, notes, and snippets.

@jalbertbowden
Created February 17, 2019 05:05
Show Gist options
  • Select an option

  • Save jalbertbowden/6d49c409b5246c65c1b03430cae17130 to your computer and use it in GitHub Desktop.

Select an option

Save jalbertbowden/6d49c409b5246c65c1b03430cae17130 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