Applescript to change your display name

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
sydoveton
Harmless
Posts: 5
Joined: Tue May 10, 2005 8:39 pm

Applescript to change your display name

Post by sydoveton »

I have read a couple of threads about people wanting to be able to easily change their display name so I have written a quick and easy script for you all.

The best way to use this is to install the script menu then save this script in the scripts folder. You will then be able to change your status name for all your accounts sytem wide!

The script is as follows:-

Code: Select all

tell application "Adium"
	set myName to "Sy"
	set appendName to the text returned of (display dialog "Enter Text to Append to " & myName & ":" default answer "This is my witty Message")
	set newDisplayName to myName & " - " & appendName
	set noAcc to count of accounts
	
	repeat with noAcc from 1 to noAcc
		set display name of item noAcc in accounts to newDisplayName
	end repeat
	
	display dialog "Your display name has been changed to
" & newDisplayName
end tell
All you need to do is change the variable of myName and when you run the script it will ask you what you want to append to the end of your name and every account will be changed to the same thing.

I hope this all works for you as this is my first applescript!

Regards, Sy
Post Reply