What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Obtaining email address from recieved message

Obtaining email address from recieved message
Author: Message:
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. Obtaining email address from recieved message
Hey all,
hoping someone can help me.  I've not slept too well and I'm going insane trying to figure this out.
I'm trying to get a contact object when they send me a message, so that I can obtain things like DP, email etc.  I found out that I already had it scripted entirely wrong, as I was just trying to use Origin.Email.
I've started using an enumerator, and comparing Origin to e.item().Name, but this method isn't working, because of nicknames.  Can anyone suggest another way to do it?
Cheers
[Image: adsig.jpg]
01-19-2009 04:10 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Obtaining email address from recieved message
If you're using Xniff already, it should be possible that way
<Eljay> "Problems encountered: shit blew up" :zippy:
01-19-2009 04:16 PM
Profile PM Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. RE: RE: Obtaining email address from recieved message
quote:
Originally posted by Spunky
If you're using Xniff already, it should be possible that way
Lol, is that all I mean to you Spunky?

Unfortunately, not this time - it's an Xniff free script.  Thanks to MS I was able to work without it, so my scripts would work for more people.
[Image: adsig.jpg]
01-19-2009 04:30 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Obtaining email address from recieved message
quote:
Originally posted by Leroux
Lol, is that all I mean to you Spunky?

Nah, but would have been a lot easier probably. :p

If you enumerate all the contacts on the list and compare e.item().Name to Origin, they should match despite nicknames shouldn't they? (Or is it that the contact list "NAME" does not get replaced by "NICKNAME" but "ORIGIN" does?
<Eljay> "Problems encountered: shit blew up" :zippy:
01-19-2009 04:36 PM
Profile PM Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. RE: Obtaining email address from recieved message
Thats it exactly.

From the Scripting Doc
Contact::Name = "This property returns the name of the contact as published by the contact. It does not return the eventual nickname associated with the contact."

The vent on the other hand does take the nickname, so it takes the method out :(
[Image: adsig.jpg]
01-19-2009 04:41 PM
Profile E-Mail PM Web Find Quote Report
« 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