Reputation: 11260
I'm using a VBScript to auto accept Skype incoming contact request:
Public Sub Skype_UserAuthorizationRequestReceived(ByVal pUser)
pUser.IsAuthorized = true
End Sub
This works but is there a way to prevent Skype from alerting me through the tray?
I have already removed notification for contact request:
but it still appears.
It's also giving me a strange error:
Skype4COM.Skype.1: Invalid value given to ISAUTHORIZED/ISBLOCKED (code: 80020009)
I tried another approach of using
oSkype.Client.OpenAuthorizationDialog(pUser.Handle)
but it's giving an 'OPEN User already authorized' error.
Upvotes: 1
Views: 249
Reputation: 37
I got an example that might help you.
Private Sub FRAccept(pUser As User)
If FlatToggle1.Checked = True And pUser.IsAuthorized = False Then
pUser.IsAuthorized = True
End If
End Sub
Upvotes: 1