darkjohn20 Posted March 12, 2010 Share Posted March 12, 2010 (edited) First, let me start by saying I HAVE searched the forums, and I HAVE found the SkypeAPI Example Script. I tried it, but the functions just hung.Here is the script I am trying:#RequireAdmin ;// Create a Skype4COM object: $oSkype = ObjCreate("Skype4COM.Skype") $oSkypeEvent = ObjEvent($oSkype,"Skype_") $oError = ObjEvent("AutoIt.Error","MyErrFunc") ;// Start the Skype client: If Not $oSkype.Client.IsRunning Then $oSkype.Client.Start() EndIf ;// Verify that a user is signed in and online before continuing While 1 If $oSkype.CurrentUserStatus = $oSkype.Convert.TextToUserStatus("ONLINE") Then ExitLoop Else $oSkype.ChangeUserStatus($oSkype.Convert.TextToUserStatus("ONLINE")) EndIf Sleep(1000) WEndThis does not work for me. I wanted to know if:anyone else has any problemsI'm doing it wronganyone has a solutionI'm willing to work for this. I don't want anyone to write it for me unless they have a working example they are willing to share.And yes, this is someone else's example. I simply put #RequireAdmin at the top because I wasn't sure if it made a difference.Thanks! Edited March 12, 2010 by darkjohn20 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now