topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 3:40 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: A Tool to convert emails to windows live messenger CTT  (Read 8605 times)

uaeXuae

  • Supporting Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Hello there,

This is my first post and an easy request.

To give a quick idea about my request visit this URL:
http://felixker.com/...er-contact-list-ctt/

hello.JPG

You've got a bunch of email addresses and they're all MSN/Windows Live Messenger contacts? Are you going to add them one by one or just import them at one go?

You enter the number of email address you want for instanse:

[email protected]
[email protected]


the Exported file would be as the following

anything.CTT

if that file is opened in Notepad it would read:

Code: Text [Select]
  1. <?xml version="1.0"?>
  2. <messenger>
  3.   <service name=".NET Messenger Service">
  4.     <contactlist>
  5.       <contact>[email protected]</contact>
  6.       <contact>[email protected]</contact>
  7.     </contactlist>
  8.   </service>
  9. </messenger>

My target:
Instead of using the internet to perform this procedure
i would love to have a small tool & paste more than one email address.
Hit the Export Button and get the CTT file or even a TXT file with the same structure.
If any programmer was able to export the same exact structure of the file but was facing difficulties with renaming it to CTT thats fine
i'll do it manually from my side. Coz Windows Live Messenger Accepts CTT files only.


So basically this is the language the WLM understands :
Code: Text [Select]
  1. <?xml version="1.0"?>
  2. <messenger>
  3.   <service name=".NET Messenger Service">
  4.     <contactlist>
  5.       <contact>EMAIL HERE</contact>
  6.       <contact>EMAIL HERE</contact>
  7.     </contactlist>
  8.   </service>
  9. </messenger>



Thanx in advance
« Last Edit: July 21, 2009, 06:21 PM by uaeXuae »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #1 on: July 22, 2009, 05:07 AM »
Did you want one XML file per email address or all in one file like this:

...
<contact>email address #1</contact>
<contact>email address #2</contact>
<contact>email address #3</contact>
<contact>email address #4</contact>
<contact>email address #5</contact>
...

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #2 on: July 22, 2009, 05:53 AM »
Give this a try (source and exe included):  Zip

main.png

uaeXuae

  • Supporting Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #3 on: July 22, 2009, 07:45 AM »
Give this a try (source and exe included):  Zip
 (see attachment in previous post)

This software works perfectly in MSN.
Thanx a Mill , This is exactly what i want but with a minor change and will be perfect.
The number of spaces is different from the identical MSN Generated file.
MSN might upgrade their software in the future and the file will give an error when i attempt to add.

Heres what i mean:

one the LHS is the output of the software you uploaded.
On the RHS is how it should look

I tried editing the source file but couldnt

This line should have Four spaces
1a.JPG

This line should have Four spaces
1b.JPG

This line should have Six spaces
1c.JPG

This line should have Four spaces
1d.JPG

This line should have Two spaces
1e.JPG

This line should have One space
1f.JPG




« Last Edit: July 22, 2009, 08:14 AM by uaeXuae »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #4 on: July 22, 2009, 08:14 AM »
Though I would hope that differing whitespace wouldn't break an XML parser, I went ahead and changed up the formation of the file.  Please redownload and test.  Thanks.   :D

uaeXuae

  • Supporting Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #5 on: July 22, 2009, 08:16 AM »
Though I would hope that differing whitespace wouldn't break an XML parser, I went ahead and changed up the formation of the file.  Please redownload and test.  Thanks.   :D

Thanx for your continued support i redownloaded the file again and the output was the same as the previous CTT generator. No changes in terms of Spaces.


skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #6 on: July 22, 2009, 08:47 AM »
Hmmmm...the file should be the right one.  Can you try clearing your cache and trying again?

uaeXuae

  • Supporting Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #7 on: July 22, 2009, 08:55 AM »
Hmmmm...the file should be the right one.  Can you try clearing your cache and trying again?

I cleared my cache file & i also used CCleaner to perform a full clear of everything.

But still no changes took place.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member

uaeXuae

  • Supporting Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
« Last Edit: July 22, 2009, 09:30 AM by uaeXuae »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: A Tool to convert emails to windows live messenger CTT
« Reply #10 on: July 22, 2009, 09:54 AM »
You are welcome.  Glad I could help.   :Thmbsup: