BE_ExecuteScript

BE_ExecuteScript ( scriptName { ; fileName ; parameter } )

 

Performs the scriptName in the current file ( if no fileName provided, or in fileName if available ). Scripts are run when the current script queue is empty, so you can't have a calculation within a script, call a script and have it start immediately, it will run at the completion of the current script. Script results are not set and cannot be returned.

 

Version : 1.2

 

Parameters :
scriptName : the name of the script to perform.
fileName ( optional ) : a filename to locate the script. Defaults to the current file if not supplied. Be aware, there is an issue in the plugin API where filenames can only have a single "." in their name. Files with more than one will return an error 100 - File is missing.
parameter ( optional ) : the parameter to pass to the script called.

 

Result : 0 for success or ? for failure.

Have more questions? Submit a request

0 Comments

Article is closed for comments.