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

查看:229
本文介绍了有没有用于探索/测试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#应用程序) p>

(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 wrapper ,不需要.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天全站免登陆