loadScriptFile method
Loads, compiles, and runs the specified script file.
loadScriptFile(filename )
Parameters
String filename
The file name containing the script to load.
Returns
IDispatch. An object representing the compiled script. This object name can be used in the addNamedItem method to expose the script's methods to other script instances.
这对您有帮助吗?