July 30, 2013 by Anuraj
.Net .Net 4.0 Windows Forms
In our organization, we are using both MS Lync and Skype for communications. One of the main problem I faced with Skype, unlike other IMs like Lync or WebEx, Skype will not change the online status, based on outlook appointments, we need to do it manually. So here is an Skype plugin, which helps to change the online status based on your outlook appointments.
In this implementation, I am fetching all the appointments from outlook (using Office Interop) and with the help of a timer I am changing the status of the Skype using Skype API. If you don’t want to use a timer or you want to update the status more real time you can use Application.Reminder Event (Outlook)
Here is the references required for the project.
Here is the code snippets.
This function will query and add all the appointments of today from outlook.
In the Form load event, we need to attach the plugin to Skype, following snippet will help to do that.
And here is code which will change the skype status, this function invoked on the timer elapsed event.
Please note, I am not resetting the status back to online, because most of the time, meeting will not finish on time. You need to do it manually using Skype.
Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub