我们如何使用python的MS Office Communicator客户端公开的API,这可能吗? [英] How can we use ms office communicator client exposed APIs in python, is that possible?

查看:153
本文介绍了我们如何使用python的MS Office Communicator客户端公开的API,这可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用MS Office Communicator客户端的API,我婉使用那些在蟒蛇是有可能这样做?


解决方案


>>>进口win32com.client
>>>味精= win32com.client.Dispatch('Communicator.UIAutomation')
>>> msg.InstantMessage('user@domain.com')

I want to use ms office communicator client apis, and i wan to use those in python is it possible to do ?

解决方案

>>> import win32com.client
>>> msg = win32com.client.Dispatch('Communicator.UIAutomation')
>>> msg.InstantMessage('user@domain.com')

这篇关于我们如何使用python的MS Office Communicator客户端公开的API,这可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆