从 JavaScript 调用 VBScript,反之亦然?

2022-01-16 00:00:00 asp-classic javascript vbscript

是否可以从 VBScript 函数/en.wikipedia.org/wiki/JavaScript" rel="noreferrer">JavaScript 调用,或者从 VBScript 调用中交替调用 JavaScript?

Is it possible to call a VBScript function from a JavaScript call, or alternately call JavaScript from a VBScript call?

推荐答案

是的,如果您的主脚本是 Windows 脚本文件 (WSF).

Yes, if your main script is a Windows Script File (WSF).

WSF 文件可以包含其他脚本文件并执行来自多个引擎的代码.

WSF files can include other script files and execute code from multiple engines.

相关文章