[General]
Description=命令检测：插件命令
BeginHotkey=121
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
Enable=0
[Repeat]
Type=0
Number=1
[CallBack]
OnSetup=
[Comment]
Content=

[Script]
//打开写字板作为我们的测试平台
VBSCall RunApp("Notepad.exe")
Delay 1000
//测试硬盘序列码
SayString 硬盘序列码是：
Plugin s=GetSysInfo.GetHDDSerialNumber()
SayExpression s
KeyPress 13 1
Delay 1000
//测试获取当前时间
SayString 当前时间是：
Plugin time1 = GetSysInfo.GetDateTime()
SayExpression time1
KeyPress 13 1
Delay 1000
//文件插件检测
Plugin dirPath = File.SelectDirectory()
SayString 刚才选择的文件夹是：
SayExpression dirPath
KeyPress 13 1
Delay 1000
//返回鼠标指向的窗口标题
SayString 当前窗口标题是：
Plugin hWnd = Window.Foreground()
Plugin strTitle = Window.GetText(hWnd)
SayExpression strTitle
KeyPress 13 1
Delay 1000
EndScript 
