是否有用于探索/测试 COM 对象的工具? [英] Is there a tool for exploring/testing COM objects?

查看:14
本文介绍了是否有用于探索/测试 COM 对象的工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过使用 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)

推荐答案

为了记录,我最终使用 SciTe4AutoHotKeyAutoHotKey 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 对象的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆