Navigation: Scripting Reference Manual > Functions & Subroutines > SetPreUpdateScriptActive

 

SetPreUpdateScriptActive

 

Contact Us: fredsupport@photonengr.com

 

Description

Toggles whether the associated FRED document's pre-update script is to be executed or not.

 

Syntax

SetPreUpdateScriptActive active

 

Parameters

active (Boolean)

Determines if the pre-update script will be run (True) or not (False)

 

Remarks

SetPreUpdateScriptActive toggles whether the associated FRED document's pre-update script is to be executed or not. If there is a problem the subroutine sets no error and returns without modifying the active state of the pre-update script.

 

See Also

GetPreUpdateScriptActive

GetPostUpdateScriptActive

SetPostUpdateScriptActive

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC