是否有用于探索/测试 COM 对象的工具?

编程入门 行业动态 更新时间:2024-10-27 04:26:07
本文介绍了是否有用于探索/测试 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)

推荐答案

为了记录,我最终使用 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 对象的工具?

本文发布于:2023-08-05 20:43:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1307958.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:对象   测试   工具

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!