Skip to main content
Inspiring
November 16, 2011
Question

[CS5][AS] Hide progress while running script

  • November 16, 2011
  • 2 replies
  • 837 views

Hi,

Can anyone please tell me if it's possible to hide all Indesign operations when running a actionscript.

I would like to speedup a script by hidding all operations (opening files, placing pictures, ect) while running the script.

Many thanks

Kind regards

John

This topic has been closed for replies.

2 replies

Participant
November 16, 2011

Hi,

You can either make a document without a window

set theDoc to make new document without showing window

or turn off the redraw

set enable redraw of script preferences to false

Gareth

Jongware
Community Expert
Community Expert
November 16, 2011

For Javascript we have enableRedraw in ScriptPreferences.

app.scriptPreferences.enableRedraw = false;

For AS it's bound to be something like "set the redraw of the preferences of the script to enabled".