I've messed around with a number of Office programs using win32com in Python.
Excel has been useful and Outlook was simple to satisfy my basic use needs.
I have Microsoft Lync and I'm having trouble using it.
I know there are restrictions but what I would like to do is; send a message, detect received messages and reply.
I have used the below code to open a new window:
import win32com.client
msg = win32com.client.Dispatch('Communicator.UIAutomation')
msg.InstantMessage('me@me.com')
This works fine to open a messenger window but any methods to send a message generally raise a "Not implemented" error. I know the api is restricted but I was wondering whether it is even possible to send message this way or detect received messages, or is there another way of communicating with Communicator?
I don't really want to use a SendKeys method to write a message. Any help will be appreciated.