LAVA: Notify when receiving new message from Skype - LAVA

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Notify when receiving new message from Skype Rate Topic: -----

#1 User is offline   menghuihantang 

  • Very Active
  • PipPipPip
  • Group: Members
  • Posts: 60
  • Joined: 04-October 07

Posted 21 January 2010 - 01:42 AM

Dont know if anyone tried to capture the new message to Skype in LabVIEW?

Skype has a function called 'IChatMessageColletion.RecentMessages' seemed to be the one to receive new messages. But I don't figure out how to use it. Anyone can help with this?
0

#2 User is offline   ShaunR 

  • The 500 club
  • PipPipPipPipPip
  • Group: Members
  • Posts: 594
  • Joined: 31-March 09
  • Version:LabVIEW 2009
  • Since:1994

Posted 22 January 2010 - 10:02 AM

There's a very limited "skypeSDK" on the NI website HERE which will demonstrate how to interface to skype.
A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort. (Herm Albright 1876-1944)

The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones
If you have any trouble sounding condescending, find a C++ programmer to show you how it's done.
จิตใจที่ยิ่งใหญ่วิพากษ์วิจารณ์ความคิด จิตใจสามัญวิพากษ์วิจารณ์เหตุการณ์ แต่จิตใจที่ต่ำต้อยนั้นวิจารณ์เพียงผู้คน
OOP is an OAP. AOP is the POC!

Definitions
Encapsulation: Creating a vi
Class: VI template.
Instantiation: Placing the vi on a diagram
Inheritance: Create Control/Indicator" on a sub vi
Abstraction: A well written vi
Composition: Many sub vis
Singleton: A non re-entrant vi
0

#3 User is offline   Antoine Châlons 

  • Extremely Active
  • View gallery
  • Group: Moderators
  • Posts: 382
  • Joined: 08-January 07
  • Location:France
  • Version:LabVIEW 2009
  • Since:1999

Posted 22 January 2010 - 10:47 AM

There is another skype SDK - that I made - in the LAVAcr.
0

#4 User is offline   menghuihantang 

  • Very Active
  • PipPipPip
  • Group: Members
  • Posts: 60
  • Joined: 04-October 07

Posted 24 January 2010 - 04:52 AM

View PostAntoine Châlons, on 22 January 2010 - 10:47 AM, said:

There is another skype SDK - that I made - in the LAVAcr.


Antoine, I actually tried your code, but I did not figure out how to capture the new message from your package.

In Skype4COM, there is a 'Message' interface which can return the message info, such as the sender info, message status, etc. But the problem is it returns all the messages sent by any specific sender. I have to manually go through each message and mark it 'read' so I can tell if any new message is received.

A little complicated. Don't know if that's the correct way to do it. Can you help?
0

#5 User is offline   Antoine Châlons 

  • Extremely Active
  • View gallery
  • Group: Moderators
  • Posts: 382
  • Joined: 08-January 07
  • Location:France
  • Version:LabVIEW 2009
  • Since:1999

Posted 25 January 2010 - 12:43 PM

View Postmenghuihantang, on 24 January 2010 - 05:52 AM, said:

Antoine, I actually tried your code, but I did not figure out how to capture the new message from your package.

In Skype4COM, there is a 'Message' interface which can return the message info, such as the sender info, message status, etc. But the problem is it returns all the messages sent by any specific sender. I have to manually go through each message and mark it 'read' so I can tell if any new message is received.

A little complicated. Don't know if that's the correct way to do it. Can you help?


I have to admit I never found out how to do that... I guess I should have read the documentation that goes with the Skype4COM but I only needed to send SMS so I didn't go much further than that.
Sorry I can't help you on that.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic