Shoutbox

Using Messenger Plus plugin thru a program - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Using Messenger Plus plugin thru a program (/showthread.php?tid=33664)

Using Messenger Plus plugin thru a program by pap on 10-26-2004 at 08:46 AM

Hi,

I am writing a simple vb program that gets incoming message from messenger 6 or above and reply to the same.

I ahve done mesage receiving using the messenger api but unable to send a message to the particular contact. I did go thru the Messenger Plus auto responder that sends a message to the contact.

Is there anyway i can use that api in my program or any other messenger plus api to send my own message to the contact.

I am not actually looking for a auto responder. I want some thing that can wait for sometime and then reply to the corresponding user.

Awaiting a reply !!!!!!!
Thanks in advance!!
Regards
Pap


RE: Using Messenger Plus plugin thru a program by RaceProUK on 10-26-2004 at 12:03 PM

If using Messenger Plus API (ReceiveNotify):
Fill the sTextToSend buffer.

If using Messenger API (OnIMReceived IIRC):
When you handle the receipt of a message, record which e-mail address this is from. Then, when you wish to send the reply, use the API to initiate a conversation with this person (if one exists, it will just find that). The focus will now be in the right place to use SendKeys or a similar method of 'typing' the text you wish to send.

Hope this helps.


RE: Using Messenger Plus plugin thru a program by pap on 10-27-2004 at 02:01 AM

Hi,

I used the send keys method to send the text. Thank you very much. But is there any possibility to get a message from the window using a handle or some other method.

At present watI do is when i get a incoming message, I use the on IMWindow created method to close the window so that the onIMWindowdestroyed event is fired. From that event I get the message that the contact has entered..

Is that a good way or is there any other way to acheive the same.

Regards
Pap


RE: Using Messenger Plus plugin thru a program by RaceProUK on 10-27-2004 at 10:32 AM

Browse the MSN Fanatic forums (and the site when it comes back online) for more information.


RE: Using Messenger Plus plugin thru a program by Millenium_edition on 10-27-2004 at 12:42 PM

quote:
Originally posted by raceprouk
If using Messenger API (OnIMReceived IIRC):
When you handle the receipt of a message, record which e-mail address this is from. Then, when you wish to send the reply, use the API to initiate a conversation with this person (if one exists, it will just find that). The focus will now be in the right place to use SendKeys or a similar method of 'typing' the text you wish to send.
that event doesn't exist any more...
RE: Using Messenger Plus plugin thru a program by RaceProUK on 10-27-2004 at 06:28 PM

Hence the IIRC.
I also checked and forgot to let people know I found out I was wrong... :wall:
<tannoy>Sorry for the inconvenience this may cause.</tannoy>