Shoutbox

Change DP per contact - 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)
+----- Thread: Change DP per contact (/showthread.php?tid=70529)

Change DP per contact by Nathan on 01-10-2007 at 07:40 PM

Ok,
People have asked "Can I have different Display Pictures for different people?"
Well people go instantly "No." well i thought about it and it would be hard,
Because we have the function to get there emails we can set it too change the DP on contact window open.

E.g
Say I open a contact with the email test@gmail.com then it registers it is that email address and it will change the DP to another image.

My coding skills arn't great but I could give it a try :)
Unless someone wants to contact me and we will do it togeather!)

Cheers,
Nathan

(Correct me if someone has done this please :))


RE: Change DP per contact by Jimbo on 01-10-2007 at 07:48 PM

quote:
Originally posted by Nathan
Ok,
People have asked "Can I have different Display Pictures for different people?"
Well people go instantly "No." well i thought about it and it would be hard,
Because we have the function to get there emails we can set it too change the DP on contact window open.

E.g
Say I open a contact with the email test@gmail.com then it registers it is that email address and it will change the DP to another image.

My coding skills arn't great but I could give it a try :)
Unless someone wants to contact me and we will do it togeather!)

Cheers,
Nathan

(Correct me if someone has done this please :))
One problem with htis idea thoughm group conversations, How will a script know whick email to do, and also, when with tabbed chats and switching between chats, will the DP keep changing because if i was watching a DP that kept changing it would annoy me quite a bit.

RE: RE: Change DP per contact by Fuse on 01-10-2007 at 09:06 PM

quote:
Originally posted by Jimbodude
(Correct me if someone has done this please :))
One problem with htis idea thoughm group conversations, How will a script know whick email to do, and also, when with tabbed chats and switching between chats, will the DP keep changing because if i was watching a DP that kept changing it would annoy me quite a bit.



you could have a default one where if the scirpt gets two email addresses/unknown one, it will set that as it?


RE: Change DP per contact by RaceProUK on 01-10-2007 at 09:39 PM

Sorry to spoil the party, but the protocol won't allow it. Simple as that.


RE: RE: RE: Change DP per contact by Jimbo on 01-11-2007 at 08:04 AM

quote:
Originally posted by Fuse
quote:
Originally posted by Jimbodude
(Correct me if someone has done this please :))
One problem with htis idea thoughm group conversations, How will a script know whick email to do, and also, when with tabbed chats and switching between chats, will the DP keep changing because if i was watching a DP that kept changing it would annoy me quite a bit.



you could have a default one where if the scirpt gets two email addresses/unknown one, it will set that as it?



[offtopic]
Learn to quote
I never said "(Correct me if someone has done this please :))"
[/offtopic]
RE: Change DP per contact by Nathan on 01-11-2007 at 05:41 PM

quote:
Originally posted by RaceProUK
Sorry to spoil the party, but the protocol won't allow it. Simple as that.
What has the protocol got to do with changing DP's via MP!L

because if you can change the DP with MP!L via a script you can change it per contact.

Wait;
After a couple of minutes really thinking i see what you mean and i got confused.
You could change it for the one person yet it would change it for everyone else as well :$

sorry.
RE: Change DP per contact by Matti on 01-11-2007 at 05:58 PM

quote:
Originally posted by Nathan
because if you can change the DP with MP!L via a script you can change it per contact.
You can change your own DP, yes, but not the one of a contact!
quote:
Originally posted by Scripting Documentation
The Contact::DisplayPicture property returns the path to the current display picture file used by the contact.

Syntax
code:
This is a read-only property.
[string] DisplayPicture;