...
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 |
---|
|
'USEUNIT c:\FinalBuilder\scripts\iis_stuff.vbs |
Example
Code Block |
---|
language | js |
---|
title | JavaScript |
---|
|
//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. |
...