Help - Search - Members - Calendar
Full Version: New Events
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Ant..
// Create a Skype4COM object:
var oSkype = new ActiveXObject("Skype4COM.Skype");

// Query the total number of missed messages:
WScript.Echo("Total missed message count: " + oSkype.MissedMessages.Count);

This code returns a zero [0] when 3 missed calls [caller ID (3)] is being being reported by Skypes Display consisting of a [Flag Icon] + the text '3 new events'.

What I require the code to return is the number of outstanding events [not cleared by the user].



TheUberOverlord
QUOTE (Ant.. @ Sun Jun 29 2008, 04:27)
Go to the original post
// Create a Skype4COM object:
var oSkype = new ActiveXObject("Skype4COM.Skype");

// Query the total number of missed messages:
WScript.Echo("Total missed message count: " + oSkype.MissedMessages.Count);

This code returns a zero [0] when 3 missed calls [caller ID (3)] is being being reported by Skypes Display consisting of a [Flag Icon] + the text '3 new events'.

What I require the code to return is the number of outstanding events [not cleared by the user].



oSkype.MissedCalls.Count is for calls NOT oSkype.MissedMessages.Count which is for chats.


Ant..
Thanks for that both functions work perfectly.

I tried to download the new Skype4Com documentation but after it unzipped all I got was a flashing browser window [both Windows and Safari] which I could not resolve without rebooting my Desktop.

Ant..
TheUberOverlord
QUOTE (Ant.. @ Sun Jun 29 2008, 16:08)
Go to the original post
Thanks for that both functions work perfectly.

I tried to download the new Skype4Com documentation but after it unzipped all I got was a flashing browser window [both Windows and Safari] which I could not resolve without rebooting my Desktop.

Ant..


Yes. I had the same problem, try viewing the documentation ("For Now") from the zipped file, it worked for me this way.
Ant..
Ok I have got 'oSkype.MissedCalls.Count' and 'oSkype.MissedCalls.Count' working as previously reported on thing that I missed was New Voicemail
is the syntax for counting New voicemail 'oSkype.Voicemail.Count'? Ant..
TheUberOverlord
QUOTE (Ant.. @ Sun Jun 29 2008, 23:14)
Go to the original post
Ok I have got 'oSkype.MissedCalls.Count' and 'oSkype.MissedCalls.Count' working as previously reported on thing that I missed was New Voicemail
is the syntax for counting New voicemail 'oSkype.Voicemail.Count'? Ant..



oSkype.Voicemails.Count
Ant..
Thanks for that is there anything else I should be counting?

TheUberOverlord
QUOTE (Ant.. @ Mon Jun 30 2008, 00:05)
Go to the original post
Thanks for that is there anything else I should be counting?


Skype4COM documentation can be found here:

https://developer.skype.com/Docs/Skype4COM

These counters are all ISkype counters ("Listed under").
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.