Help - Search - Members - Calendar
Full Version: Notifications - Status Notifications - Connection Status
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Ant..

This code displays the audio-in device:

'// Create a Skype4COM object:
Set oSkype = WScript.CreateObject("Skype4COM.Skype")

'// Start the Skype client:
If Not oSkype.Client.IsRunning Then oSkype.Client.Start() End If

'// Query Skype general parameters:
WScript.Echo "Audio in:" & oSkype.Settings.AudioIn
WScript.Echo "???????????

Can anyone help me by completing the WScript.Echo item that will display the 'connstatus' [OnLine, Away, Not Available, OffLine etc].
Ant..
QUOTE (Ant.. @ Tue Jun 3 2008, 17:46)
Go to the original post
This code displays the audio-in device:

'// Create a Skype4COM object:
Set oSkype = WScript.CreateObject("Skype4COM.Skype")

'// Start the Skype client:
If Not oSkype.Client.IsRunning Then oSkype.Client.Start() End If

'// Query Skype general parameters:
WScript.Echo "Audio in:" & oSkype.Settings.AudioIn
WScript.Echo "???????????

Can anyone help me by completing the WScript.Echo item that will display the 'connstatus' [OnLine, Away, Not Available, OffLine etc].


I have been able to answer my own question:

WScript.Echo "Connection Status 1 = Online 5 = OffLine:" & oSkype.CurrentUserStatus

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.