Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Looping through layers is slow.

$
0
0

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.


Viewing all articles
Browse latest Browse all 27456

Trending Articles