Any standard guide for Ruby WIN32OLE API? [closed]

夙愿已清 提交于 2019-12-01 11:49:41

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?

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.

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!