Messenger API - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Forum: Plug-Ins (/forumdisplay.php?fid=28) +------ Thread: Messenger API (/showthread.php?tid=24760) Messenger API by _BassReFLeX_ on 05-04-2004 at 03:17 PM
Hi. Can anyone help me. How do I detect if user is signed in msn. I've tried :: CODE :: If messenger.signout = true then ::CODE:: but it isn't working. It shouldn't in fact . If anyone could help me, I would apprecciate a lot ! RE: Messenger API by Stigmata on 05-04-2004 at 03:35 PM you would need to be connected using the protocal, i dont think it is possible with simple api calls RE: Messenger API by RaceProUK on 05-04-2004 at 10:12 PM Wouldn't it be possible to use the IMessenger(C++)/OMessenger(VB) object that Plus! exposes to do that? RE: Messenger API by dotNorma on 05-04-2004 at 10:48 PM
You can try it this way , this doesn't require you to use Messenger Plus! to do it. RE: Messenger API by jokinau on 05-05-2004 at 01:49 PM
NoName, amazing, REALLY!! didn't know that! RE: Messenger API by _BassReFLeX_ on 05-05-2004 at 03:07 PM
What I want: When my app starts (it doesnt have to do with MsgPlus! or any .dll or any plugin. it's simple .exe) i want it to check if anyone is signed in to messengers so it could continue it's job (because it has to do with msn ) if not then, nothing can be done since my app has to do only with msn. RE: Messenger API by Sk3tch on 05-05-2004 at 03:21 PM
MISTATUS_INVISIBLE and MISTATUS_OFFLINE are different, Offline as NoName said is if they are offline (not connected) and Invisible is your messenger status as offline wether your setting or viewing it. RE: Messenger API by RaceProUK on 05-05-2004 at 03:44 PM
If you want to check the online/offline status of your contacts, there is the MyContacts property made available by the Messenger object. MSN Fanatic has some useful information you can use. code:Just replace <contact-list-object> with the IMessengerContacts variable, and <contact-object> with the name of your IMessengerContact variable (which should both be declared before the loop). The variable index should be declared an Integer for efficiency. Hope this helps. RE: Messenger API by dotNorma on 05-05-2004 at 11:27 PM
quote: Hey , but MISTATUS_OFFLINE means that the user is not connected to MSN Messenger. So you say if they are not connect to MSN Messenger do nothing else (Because else they have to be connected right?) do the stuff The code I said earlier should work fine. RE: Messenger API by _BassReFLeX_ on 05-07-2004 at 07:15 PM oh thanks guys. Btw i forgot to tell that i've just solved the problem with MISTATUS_OFFLINE .. thanks a lot however.. |