程序代码:
var wsh_openLoginHDSZK = null; function OnOpenZhiWenSystem() { var DataRow = GetPersonDataRow(); var ExistFlag = FindPersonByRenYuanBianHaoFromZhiWenSystem(DataRow.RenYuanBianHao); if (ExistFlag) { if (!confirm("编号:" + DataRow.RenYuanBianHao + "在系统中已经存在,\r\n是否继续?")) { return ; } } else { SendData(DataRow); } wsh_openLoginHDSZK = new ActiveXObject("wscript.shell"); wsh_openLoginHDSZK.run("\"c:\\program files\\aaa\\bbb\\profingerprint.exe"); setTimeout("AutoLoginHDSZK()", 1000); } 对应的代码