I'm trying to find a way to do the equ开发者_运维百科ivalent of
comm = window.event.srcElement._command;
if(comm){
xlApp = new ActiveXObject("Excel.Application");
var app = xlApp.DDEInititate(".....", "....");
xlApp.DDEExecute(app,comm);
xlApp.DDETerminate(app);
app = "";
xlApp.Quit();
}
without the use of an activeX object. Are there any frameworks out there that can accomplish this?
Pure JavaScript can't communicate with other applications or shared libraries.
EDIT: You might be able to do it with a [Java applet] (with extra permissions), and there are ways to communicate between Java and JavaScript.
精彩评论