DevMSN+

酷酷的MSN插件,随心所欲MSN

Messenger Plus! Live - Scripting Documentation

Objects Reference - MsgPlus

MsgPlus::LoadScriptFile

The MsgPlus::LoadScriptFile function loads additional JScript code into your running script. The whole content of the file is parsed and immediately placed in a running state (newly defined functions can be executed from anywhere in your script and lines belonging to the global scope are executed).

溴>


Messenger Plus! Live -脚本文件



物体的参考-m sgplus
msgplus : : loadscriptfile


该msgplus : : loadscriptfile功能负荷额外的JScript代码
到您的运行脚本。全部内容,该文件的剖析和
立即放置在一个运行状态(新界定的职能可
执行从任何地方在您的脚本中和线,属于全球
范围执行) 。

该msgplus : : loadscriptfile功能负荷额外的JScript代码
到您的运行脚本。全部内容,该文件的剖析和
立即放置在一个运行状态(新界定的职能可
执行从任何地方在您的脚本中和线,属于全球
范围执行) 。

Syntax

[boolean] LoadScriptFile(
    [string] ScriptFile
);

Parameters

ScriptFile
[string] Name of the JScript file to be loaded. It is recommended to use Unicode text files. The path is relative to the script's directory by default, to override this behavior, prefix the path with "\". Example: "\C:\directory\script.js".

Return Value

A boolean value specifying if the code was parsed and run successfully.

一个布尔值,指明如果代码被解析并运行
成功。

一个布尔值,指明如果代码被解析并运行
成功。

Remarks

The use of this function should be weighted carefully. For clarity reasons, all the files of your script should be loaded when the script is started. This function is only meant to be used if parts of your script are optional or don't require to be started immediately. Remember that all the files with a .js extension placed in your main script's directory are always automatically loaded before the script is started.

使用这项功能,应加权小心。为明确起见
原因,所有档案您的脚本应时加载的脚本
是开始。此功能只是被用作部分,如果您的
脚本是可选的或不须立即开始。记住
所有副档名为。 js延长
放置在您的主要脚本的目录都是自动加载
之前,脚本是开始。

使用这项功能,应加权小心。为明确起见
原因,所有档案您的脚本应时加载的脚本
是开始。此功能只是被用作部分,如果您的
脚本是可选的或不须立即开始。记住
所有副档名为。 js延长
放置在您的主要脚本的目录都是自动加载
之前,脚本是开始。

For security reasons, never use this function to run code you dynamically downloaded from the internet.

为了
出于安全考虑,从来不使用此功能运行代码,您可以动态
从互联网下载的。

为了
出于安全考虑,从来不使用此功能运行代码,您可以动态
从互联网下载的。

Function Information

Object MsgPlus
Availability Messenger Plus! Live 4.50

See Also

MsgPlus Object.

msgplus对象。

msgplus对象。

  Sponsor

  Links

Scripts文档目录 脚本库 FAQ
copyright devmsn.com