Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Misc - ExecuteScript

Text:

API Call:Executes the script property PropertyPath and returns the result as a variant.

Paramx is the optional string parameters to pass to the script. Failure to pass required parameters could lead to errors or failure. All scripts should check for invalid parameters and exit gracefully.

Declaration:

ExecuteScript(PropertyPath, param1, param2, param3, param4, param5, param6, param7, param8, param9: String;): Variant;

Source Code:

Code Block
linenumberstrue
collapsetrue
result := ExecuteScript(item.parentitem.fullpath + 'sourcecode');