Page 1 of 1

Feature Request: Copy Address Book names to Alias

Posted: Mon Sep 26, 2005 4:35 pm
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.

Posted: Mon Sep 26, 2005 6:39 pm
by djmori
that's a good idea!

Posted: Mon Sep 26, 2005 6:50 pm
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: )

Posted: Mon Sep 26, 2005 7:16 pm
by kirk
I think that's been discussed before..

Posted: Tue Sep 27, 2005 4:52 am
by Third
ofri wrote:Take a look at the adium script suit.
How do I do that?

Posted: Tue Sep 27, 2005 12:15 pm
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

Posted: Wed Sep 28, 2005 4:35 am
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.

Posted: Wed Sep 28, 2005 5:06 am
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...

Posted: Wed Sep 28, 2005 8:44 pm
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.

Posted: Tue Oct 11, 2005 1:31 pm
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 :)

Posted: Tue Oct 11, 2005 1:56 pm
by djmori
Nice.
Aurelio Rulz :D