0

尝试通过 Vbsedit 调试 Secure CRT 的脚本

Function Get_Session_Path()
    Get_Session_Path = crt.session.path
    crt.Dialog.MessageBox("inside Session path" &Get_Session_Path) &chr(13) 
End Function    

尝试使用 Vbsedit 编译上述代码,但收到“Wscript”引发的错误

“对象需要 'crt' 代码 800A01A8 源 Microsoft VBScript 运行时错误”

我是否缺少任何库或者我们无法通过 vbsedit 调试 Secure CRT VBscript

4

1 回答 1

1

SecureCRT API(crt 对象)不对外公开。只有 SecureCRT 可以访问它,所以必须使用 SecureCRT 来运行脚本...

于 2016-05-19T11:58:21.270 回答