I am on Mac OSX (10.8.2) and am trying to use Skype4py to send messages in response to incoming messages only if the Skype window is Minimized.
The code that I have set up is basically as follows:
s = Skype4Py.Skype()
c = s.Client
if not c.IsRunning:
c.Start()
s.FriendlyName = "AR"
s.Attach()
Ok... that is pretty basic and makes complete sense, right? My problem is that I am trying to check and see if the window is closed... and although http://skype4py.sourceforge.net/doc/html/Skype4Py.client.Client-class.html list IsRunning
and WindowState
in the same place... no matter how format it or try to referance it, I cannot get any reference to c.WindowState
to work.
They all produce an Skype4Py.errors.SkypeError: [Errno 7] GET: invalid WHAT
... Which is an error code completely foreign to me.