DevMSN+

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

Messenger Plus! Live - Scripting Documentation

Objects Reference - MsgPlus

MsgPlus::ScriptRegPath

The MsgPlus::ScriptRegPath property returns the full registry path to the current script's settings. You can use this key as you see fit (add values, create sub keys, etc...) to store settings pertinent to your script.

溴>


Messenger Plus! Live -脚本文件



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


该msgplus : : scriptregpath物业的回报充分的注册表路径
以当前脚本的设置。您可以使用这个键,您认为合适的(添加
价值观,创建子键,等.. )来储存设置有关您的脚本。

该msgplus : : scriptregpath物业的回报充分的注册表路径
以当前脚本的设置。您可以使用这个键,您认为合适的(添加
价值观,创建子键,等.. )来储存设置有关您的脚本。

Syntax

This is a read-only property.
[string] ScriptRegPath;

Data Type

A string containing the path to the script's registry key. The path begins with "HKCU\" to designate the HKEY_CURRENT_USER key and ends with a backslash.

一个字符串包含的路径脚本的注册表项。路径
开头为“ HKCU中\ ”指定HKEY_CURRENT_USER项和
结束与一个反斜杠。

一个字符串包含的路径脚本的注册表项。路径
开头为“ HKCU中\ ”指定HKEY_CURRENT_USER项和
结束与一个反斜杠。

Remarks

It is highly recommended that your script uses this key to save data in the registry. It will help keeps things organized for the user and the data will be controlled by Messenger Plus! (for uninstallation for example). For more information about the registry functions available for your script, see Windows Scripting Host Functions.

这是强烈建议你的脚本使用了这个关键来保存数据
在注册表中。这将有助于保持有组织的东西,为用户和
该数据将被控制的Messenger Plus! (卸载为
例如) 。如需了解更多关于注册表函数可用
为您的脚本,见

Windows脚本宿主功能。

这是强烈建议你的脚本使用了这个关键来保存数据
在注册表中。这将有助于保持有组织的东西,为用户和
该数据将被控制的Messenger Plus! (卸载为
例如) 。如需了解更多关于注册表函数可用
为您的脚本,见

Windows脚本宿主功能。

Example

The following example writes a value called "EnableOpt" in the registry and read it back.

下面的例子写了一个价值,所谓“ enableopt ”在注册表中,并宣读了它
后面。

下面的例子写了一个价值,所谓“ enableopt ”在注册表中,并宣读了它
后面。

//Write the value
var Shell = new ActiveXObject("WScript.Shell");
var ValRegPath = MsgPlus.ScriptRegPath + "EnableOpt";
Shell.RegWrite(ValRegPath, 1);

//Read the value
var EnableOpt = Shell.RegRead(ValRegPath);
Debug.Trace("EnableOpt current value: " + EnableOpt);

Property Information

ObjectMsgPlus
AvailabilityMessenger Plus! Live 4.00

See Also

MsgPlus Object, Windows Scripting Host Functions.

msgplus对象,

Windows脚本宿主功能。

msgplus对象,

Windows脚本宿主功能。

  Sponsor

  Links

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