Navigation: Scripting Reference Manual > Functions & Subroutines > RunEmbeddedScript

 

RunEmbeddedScript

 

Contact Us: fredsupport@photonengr.com

 

Description

This subroutine starts execution of an embedded script identified by its node number.

 

Note that this command cannot be used via COM in the scenario where a "master" script is requesting script execution in another document object.  In that configuration, the master script should use the GetEmbeddedScriptLib() function to compile the embedded script into an object and then call the Main() subroutine from the compiled object.

 

Syntax

RunEmbeddedScript id

 

Parameters

id As Long

Node number of the embedded script being requested to be run.

 

 

See Also

AddEmbeddedScript

SetEmbeddedScript

GetEmbeddedScript

SetEmbeddedScriptName

GetEmbeddedScriptName

SetEmbeddedScriptDesc

GetEmbeddedScriptDesc

FindEmbeddedScript

GetEmbeddedScriptCount

GetEmbeddedScriptLib

 

 

 

 

 

Copyright © Photon Engineering, LLC