Improving javaScript performance
Hi all,
I'm running a script which moves a bunch of elements around inside artboards.
the script runs pretty slow when the number of artboards (and artboard sub layers) increases - obviously
I was wondering what can I do to improve the performance?
from what I gathered from scouring the forum:
1. use action descriptor and avoid photoshop DOM when possible
2. run app.togglePalettes() before the script
3. set script to accelerated mode (what ever that means
)
are there any other ways to increase performance? maybe turn off the screen updates until the script is finished?
b.t.w - if there is a possibility of turning of the screen updates - is it possible to turn on a progress bar or is it all or nothing?
thanks in advance!!
