JavaScriptExecutionMode in Photoshop DOM

(enumeration object)

Constants

name object value description
BEFORERUNNING JavaScriptExecutionMode 3
NEVER JavaScriptExecutionMode 1
ONRUNTIMEERROR JavaScriptExecutionMode 2