What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Contact.Group?

Pages: (2): « First [ 1 ] 2 » Last »
Contact.Group?
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
O.P. Contact.Group?
How about a Group (or Groups, as dt said a contact can be a member of more than one group) property for the Contact interface?

If it has to be Groups because there are multiple values then returning an array would be useful too.

The reason I'm asking this is I want to make a /blockgrp command but as I can't get any information about the contact's groups I don't think there's a way to do it. Apart from manually creating groups in arrays/txt files/xml files, but that's quite inconvenient...

This post was edited on 07-10-2006 at 11:45 AM by segosa.
The previous sentence is false. The following sentence is true.
07-10-2006 11:44 AM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Contact.Group?
The Groups would be handled in the Messenger API by plus!, but Plus! has had problems accessing the groups through the API. I've tried to do it inside JScript and it crashed messenger, but through an external program it worked fine. So you could do it with a DLL :P
07-10-2006 01:13 PM
Profile PM Find Quote Report
AberNStein
Full Member
***


Posts: 132
Reputation: 2
Joined: Jul 2006
RE: RE: Contact.Group?
quote:
Originally posted by deAd
The Groups would be handled in the Messenger API by plus!, but Plus! has had problems accessing the groups through the API. I've tried to do it inside JScript and it crashed messenger, but through an external program it worked fine. So you could do it with a DLL :P


please explain how.
note: i know very little about dll programming. jscript i'm good in though.
[Image: gybouserbar6hc.gif]
07-10-2006 09:13 PM
Profile PM Find Quote Report
Keikonium
Full Member
***


Posts: 229
Reputation: 3
35 / Male / Flag
Joined: Jul 2006
RE: Contact.Group?
If this script gets created, I will be extreamly happy :). At night I leave my msn up (pretty much 24/7 :P) and it is such a hassle to block everyone except 1 person -_-. I have reasons for leaving a single person unblocked, but I wont go into that.

I miss this feature from Plus!3. I hope either a script gets made for this, or the feature is added to the next Plus! release :).
07-10-2006 09:41 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Contact.Group?
You can also just create a script that blocks everyone except that person, and naturally unblock them later.
[Image: 1-0.png]
             
07-10-2006 09:43 PM
Profile PM Web Find Quote Report
Keikonium
Full Member
***


Posts: 229
Reputation: 3
35 / Male / Flag
Joined: Jul 2006
RE: Contact.Group?
Thats possible :o! Sorry to hijack this thread, but how may I ask can I do this :S? This will save me quite a bit of time lol.
07-10-2006 09:46 PM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Contact.Group?
You'll need to create a dll, add the messenger api, and then loop through the contacts groups and block them. The hardest part will actually be making/importing the dll ;) (and for most people other than me thats not a challenge)

This post was edited on 07-10-2006 at 11:13 PM by deAd.
07-10-2006 10:09 PM
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Contact.Group?
quote:
Originally posted by deAd
You'll need to create a dll, add the messenger api, and then loop through the contacts and block them. The hardest part will actually be making/importing the dll ;) (and for most people other than me thats not a challenge)

What are you talkig about?

You can loop trough the contactlist with the script objects and set the blocked status. Just remember to save the people blocked somewhere so you don't unblock the non-automaticly blocked people ;)

Too tired to make it now... sorry
[Image: 1-0.png]
             
07-10-2006 10:41 PM
Profile PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Contact.Group?
Oh oops. I meant loop through the groups. *edits*
07-10-2006 11:13 PM
Profile PM Find Quote Report
aaajeetee
New Member
*


Posts: 1
37 / Male / –
Joined: Dec 2006
RE: RE: Contact.Group?
quote:
Originally posted by deAd
Oh oops. I meant loop through the groups. *edits*

And how do I loop through the groups? Had the same idea, but I can't find where the groups are..

This post was edited on 12-04-2006 at 11:56 AM by aaajeetee.
12-04-2006 11:55 AM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On