Hi,
I'm currently creating a plug-in named "Apptify" that will notify users of which app's users running Apptify are currently running (selected app's with custom away msg).
Now because of the way im doing it, im trying to open a conversation with a random contact which is on the allow list and send a msg.
But the code im using doesnt seem to be working fully and was wondering if someone could help me please.
code:
Dim iCont As IMessengerContact
For Each iCont In modAppList.MSGR.MyContacts
If iCont.Blocked = False Then
'modAppList.MSGR.InstantMessage iCont.SigninName
MsgBox "ok"
MsgBox iCont.SigninName
Exit For
End If
Next
What happens is the plugin scans the list of running process's to find out if the users selected app's are running or not, if it is then it will procede to the code above. (every X seconds)
What happens with the code above is i recieve 1 msgbox with the value "ok", but then when it should scan again and find it again, it doesnt.. messenger freezes. Also im wondering why iCont.SigninName isnt retrieving the contacts email address.
I hope this is understandable and thanks in advance for anyones help.
Kind Regards,
XM4ST3RX