有 Ruby WIN32OLE API 的标准指南吗?

发布于 2024-08-03 00:18:55 字数 1536 浏览 8 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

太阳哥哥 2024-08-10 00:18:55

我担心你可能找不到。 David Mullet 正在正在写一本书,但这意味着它仍然是距离出版还有相当长的一段时间。

我需要一个完整、系统的标准
WIN32OLE ruby​​ API 教程。

你到底需要多“完整”、“系统”、“标准”?你必须考虑到有人需要有动力来制作这样的教程,这将是一项没有报酬的大量工作;这就是为什么一本书正在准备中 - 然后我们就可以向大卫支付他的专业知识!

因此,我们可能需要修改您的需求,以便更能满足当前的现实:您是否有想要解决的特定问题?你能在这里提出一些更具体的问题吗?

I fear you may not find one. David Mullet is working on a book but that rather implies that it's still some considerable time away from publication.

I need a complete, systematic standard
tutorial for WIN32OLE ruby APIs.

How "complete", "systematic" and "standard" do you really need it to be? You have to consider that someone needs to have the motivation to produce such a tutorial, which would be a substantial piece of work to undertake for no reward; that's why a book is in preparation - then we can pay David for his expertise!

So we may need to modify your need to be more satisfiable by current reality: are there particular problem(s) you are trying to solve? Could you put some more specific questions here?

£冰雨忧蓝° 2024-08-10 00:18:55

当我看到你的帖子时,我正在考虑发布同样的问题。我不确定你到底想做什么,但我在 Ruby 和 Excel 方面取得了一些成功。我发现,如果您可以创建一个 Excel 宏来执行与您希望 Ruby 执行的操作类似的操作,那么您可以或多或少地“rubyfy”宏代码并访问 Ruby 代码中的所有相同方法和属性。我能够弄清楚如何让 Ruby 以这种方式创建 Excel 图表和单元格颜色编码。如果您想要交互的软件有类似的宏工具,您也许能够弄清楚如何使用 ruby​​ 与该软件交互。我确实很期待迈克提到的那本书。

I was thinking about posting the same question when I came across your post. I'm not sure what exactly you are trying to do, but I have had some success with Ruby and Excel. I find that if you can create an Excel macro that does something similar to what you would like Ruby to do, you can more or less 'rubyfy' the macro code and access all the same methods and attributes in your Ruby code. I was able to figure out how to get Ruby to create Excel graphs, and cell color coding this way. If the software you want to interact with has a similar macroing tool, you may be able to work out how to use ruby to interact with that software. I do look forward to the book that Mike mentioned.

初心 2024-08-10 00:18:55

假设问题出在 win32OLE 而不是 ruby​​,我会很想寻找其他脚本语言(例如 perl)的指南。

Assuming that the problems are with win32OLE rather than with ruby, I'd be half tempted to look for guides in other scripting languages, such as perl.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文