Sorry, forgot this. suspendHistory tells Photoshop to run a part of script without saving the undo state for each step. Basically everything is one big undo (which is typically what you'd want in any case). Calling it gives one info text (becomes title or something) and the second parameter is a peace of Javascript you want to run like calling one function. Not 100% sure if passing parameters as references/values works.
↧