Page tree

Versions Compared

Key

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

...

You can include external script files in your VBScript and JavaScript action scripts, by inserting a comment with "USEUNIT scriptfilename"  You cannot include external script files with PowerShell.

Example

Code Block
languagevb
titleVBScript
'USEUNIT c:\FinalBuilder\scripts\iis_stuff.vbs

Example

Code Block
languagejs
titleJavaScript
//USEUNIT c:\FinalBuilder\scripts\iis_stuff.js
Note
The external script file must be written in the same script language as the event handler script. FinalBuilder provides sample scripts to do things such as restart IIS, shut down COM+ components, etc.

...