Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Performance Tweaks

$
0
0

Hey guys,

 

I'm looking forward to hear about your performance tweaks to your make scripts run faster.

 

Other than disabling the redrawing of the screen

 

application.scriptPreference.enableRedraw = false;

 

What else can be done?

 

I've heard the undo history could be a cause of slow performance, is it enough to run the script inside the doScript function?

 

application.doScript(foo(), ScriptLanguage.JAVASCRIPT, '', UndoModes.ENTIRE_SCRIPT, 'Script Name');

 

Please share with us your performance tweaks.

 

Thanks.


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>