复制Skype消息 [英] Copying A Skype Message

查看:318
本文介绍了复制Skype消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试复制我在Skype发送/接收的邮件,这是我正在使用的代码 -



 如果 SKYPE4COMLib.TChatMessageStatus.cmsSent 然后 
Clipboard.SetText(SKYPE4COMLib.TChatMessageStatus.cmsSent)





但它只是副本 - 1或我代码中的一行



请帮帮我



谢谢

解决方案

表达式 SKYPE4COMLib.TChatMessageStatus.cmsSent 是一个布尔值,因此返回 true false 。您需要从保存它的任何地方复制实际的消息内容。


我发现:

https://developer.skype.com/accessories/skype4com [ ^ ]。



它具有类 ChatMessage 并已实现interface IChatMessage 。正如我所看到的,这个类和接口代表了消息,没有别的。它有你可能需要的成员 BSTR Body



无论您需要什么,都可以使用此消息正文。



-SA

I am trying to copy a message i sent/received in Skype this is the code i am using -

If SKYPE4COMLib.TChatMessageStatus.cmsSent Then
Clipboard.SetText(SKYPE4COMLib.TChatMessageStatus.cmsSent)



But all it does is copies - 1 or a line from my code

Please help me

Thanks

解决方案

The expression SKYPE4COMLib.TChatMessageStatus.cmsSent is a boolean, so it returns true or false. You need to copy the actual message content from wherever you have saved it.


I found:
https://developer.skype.com/accessories/skype4com[^].

It has the class ChatMessage with the implemented interface IChatMessage. As I can see, this class and interface represent the message, nothing else. And it has the member BSTR Body which you probably need.

Do with this message body whatever you need.

—SA


这篇关于复制Skype消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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