I want to use ms office communicator client apis, and i wan to use those in python is it possible to do ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
>>> import win32com.client >>> msg = win32com.client.Dispatch('Communicator.UIAutomation') >>> msg.InstantMessage('user@domain.com')
回答2:
There is an JSON API to access all office communicator functions via "office communicator web access". You can download a description for that API. But nobody has implemented a module yet. The API is quiet complex.
回答3:
I don't know very well Ms Office communicator but if it exposes a COM interface, you shoudl be able to access it through the Mark Hammond python bindings for COM http://starship.python.net/crew/skippy/
Otherwise, if it exposes a .NET API you should be able to access it with IronPython
I hope it helps