InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DisableIdleProcessingDuringScripts Class Reference

#include <IScriptUtils.h>

Detailed Description

This stack-based class can be used in a scope where you want to turn off idle processing during scripts. When idle processing is disabled, scheduled command will NOT be executed, idle task handlers will NOT be executed, and no user cancel events will be detected. Given the effect on command processing, use this API with extreme caution and only when absolutely necessary.