Navigation: Scripting Reference Manual > Functions & Subroutines > SetPreUpdateScript

 

SetPreUpdateScript

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the code of the pre-update script for the associated FRED document.

 

Syntax

SetPreUpdateScript script

 

Parameters

script (String)

The lines of code in String format to be stored as the pre-update script

 

Remarks

SetPreUpdateScript sets the code of the pre-update script for the associated FRED document. If there is a problem the subroutine sets no error and returns without modifying the pre-update script. It does not check the code for correctness.

 

See Also

SetPreUpdateScriptActive

GetPreUpdateScriptActive

GetPreUpdateScript

Examples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC