Help - Search - Members - Calendar
Full Version: How to check the status of skype's main window
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
PayPal_
We are developing an usb phone for skype. We want to know get status of skype's main window.
For instance, if skype's main window is minimized or hided, we should send 'focus' command and make it active.

so is there any method or api for me to check the current status of the skype's main window?
andreskaasik_
Hello, you may give a try to Skype4COM api wrapper. It is currently in beta and can be downloaded from developer DEV zone:

http://share.skype.com/sites/devzone/Skype...%201.0.0.12.zip

You can use the following code snippet to focus the main window:

CODE


'// Create skype object

Set oSkype = WScript.CreateObject("Skype4COM.Skype","Skype_")



'// Start minimized and without splash screen

If Not oSkype.Client.IsRunning Then oSkype.Client.Start True, True End If



'// Connect to API

oSkype.Attach



'// Focus

oSkype.Focus

PayPal_
actually, we can use 'FOCUS' commad to active the skype main window.

But how can we find whether the skype main window is minimized ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.