我正在尝试通过使用 Python (win32com) 中的 COM 对象来自动化流程,但我没有得到预期的结果...是否有工具可以探索/测试 COM 对象而无需编写特定的程序?我的意思是,有什么东西可以让例如实例化 COM 对象并调用其方法?
I'm trying to automate a process by using a COM object from Python (win32com), but I'm not getting the expected results... Is there a tool to explore/test COM objects without having to write a specific program? I mean, is there something that allows e.g. to instantiate a COM object and call its methods?
(基本上我是想知道我的意外结果是不是win32com的错,我想避免安装Visual Studio来编写C#应用程序)
(Basically I'm trying to find out if my unexpected results are win32com's fault, and I'd like to avoid installing Visual Studio to write a C# app)
推荐答案为了记录,我最终使用 SciTe4AutoHotKey 和 AutoHotKey COM 包装器,不需要 .Net.(我意想不到的结果不是 Python 的错 :))
For the record, I ended up writing a very small script using SciTe4AutoHotKey and AutoHotKey COM wrappers, no .Net required. (and my unexpected results weren't Python's fault :) )
更多推荐
是否有用于探索/测试 COM 对象的工具?
发布评论