Feature Request: Copy Address Book names to Alias

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Third
Harmless
Posts: 5
Joined: Sun Jun 26, 2005 5:44 am

Feature Request: Copy Address Book names to Alias

Post by Third »

I feel really silly asking for a feature, but I searched the forums and AdiumXtras to no avail.

I use both OS X and Windows, and I use Gaim on Windows. My issue is that contacts in Adium use Address book names (which I love) but this does not use the Alias feature.

What I am looking for is some way to synchronize Address Book names with their Alias so that I can use Gaim on Windows with my contacts' real names rather than their screen names. I forget what people's screen names are, and the Alias attribute seems like the perfect solution for this.

Maybe this shouldn't be a feature in Adium, but does anyone know how I might go about doing this? Manually applying the names to Alias might be a bit too tedious, and that won't help when I add contacts. Perhaps even an Applescript I could run regularly to copy Address Book names to the Alias field would solve this for me.

Any help or suggestions are greatly appreciated.
User avatar
djmori
Mocha
Posts: 522
Joined: Sun Dec 05, 2004 2:08 am
Location: Bogota, Colombia
Contact:

Post by djmori »

that's a good idea!
User avatar
ofri
Growl Team
Posts: 303
Joined: Sat Dec 04, 2004 12:00 pm
Location: Kiryat Ono, Israel
Contact:

Post by ofri »

Take a look at the adium script suit. Maybe try something like

Code: Select all

set display name of myListObject to whatever
(It's been a long time since i've written an apple script... :roll: )
Gravitation is not responsible for people falling in love.
--Albert Einstein

http://www.dpompa.com
User avatar
kirk
Mocha
Posts: 565
Joined: Fri Feb 04, 2005 7:56 pm
Location: Massachusetts
Contact:

Post by kirk »

I think that's been discussed before..
the sky is going to crush you.
Third
Harmless
Posts: 5
Joined: Sun Jun 26, 2005 5:44 am

Post by Third »

ofri wrote:Take a look at the adium script suit.
How do I do that?
User avatar
ofri
Growl Team
Posts: 303
Joined: Sat Dec 04, 2004 12:00 pm
Location: Kiryat Ono, Israel
Contact:

Post by ofri »

Third wrote:
ofri wrote:Take a look at the adium script suit.
How do I do that?
Simply drag adium on script editor :-P
Gravitation is not responsible for people falling in love.
--Albert Einstein

http://www.dpompa.com
User avatar
SeaWolf
Muffin
Posts: 47
Joined: Tue Feb 01, 2005 7:48 am
Location: Perth, Australia

Post by SeaWolf »

ofri wrote:Simply drag adium on script editor :-P
Not that I know much about AppleScript, but I just tried that and it didn't work, instead it inserted the path the Adium into the Script Editor window.
Third
Harmless
Posts: 5
Joined: Sun Jun 26, 2005 5:44 am

Post by Third »

To answer my own question:

Open Script Editor, then choose File > Open Dictionary...
Choose Adium, and then you're off!

I'll mess about with this and see what I can come up with. If anyone with any, you know, experience, or someone that actually knows what they are doing wants to tackle this...
User avatar
djmori
Mocha
Posts: 522
Joined: Sun Dec 05, 2004 2:08 am
Location: Bogota, Colombia
Contact:

Post by djmori »

Maybe you should contact <a href="http://aurelio.net/bin/as/adiumbook/">Adium Book</a> developer.
He has a lot of experience in this kind of suff, and maybe he would like to add that into his app.
Third
Harmless
Posts: 5
Joined: Sun Jun 26, 2005 5:44 am

Post by Third »

Here is the response I got from Aurélio Jargas, author of AdiumBook. His solution is exactly what I wanted! Neat.
I understand your needs and the solution is simple:

1) Set up Adium to show the Address Book's full names or nicknames on

Preferences > Advanced > Address Book

I'm sure you already have it right.

2) Log in into all your Adium accounts.

3) Paste this script into Script Editor and run:

tell application "Adium"
repeat with thisContact in every contact
tell thisContact
set display name to display name
end tell
end repeat
end tell


Explanation:

It is a loop in all your Adium contacts and for each, it sets the alias
(display name) to the current displayed name (display name). No, it's
not a typo, both names are the same :)
User avatar
djmori
Mocha
Posts: 522
Joined: Sun Dec 05, 2004 2:08 am
Location: Bogota, Colombia
Contact:

Post by djmori »

Nice.
Aurelio Rulz :D
Post Reply