Hi all,
when I run the example script "Show selected files in File Explorer",It gives errors bellow:
脚本引擎失败
脚本执行失败
Error: 无法将类型为“System.__ComObject”的 COM 对象强制转换为接口类型“SHDocVw.InternetExplorer”。此操作失败的原因是对 IID 为“{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}”的接口的 COM 组件调用 QueryInterface 因以下错误而失败: 不支持此接口 (异常来自 HRESULT:0x80004002 (E_NOINTERFACE))。
at Script Document:3:16 -> var files = sp.GetSelectedFilesInExplorer(action.Window.HWnd);
确定
the system is win10 & win10 explorer
is anybody knows how to solve this problem,
thank you.
Not sure, it works fine for me on Win10 & Win10 Explorer. That code is specifically creating a COM object through Windows, so there's not much I can do about it.
The error seems to indicate the COM interface doesn't exist, so you might need to repair system files, and make sure that the COM interface is registered on your system.
This isn't something I will be able to help much with since the source of the error is outside of S+ itself. You could try checking any local security settings or run S+ as admin and see if it works.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close