Created
February 2, 2010 22:32
-
-
Save Velrok/293120 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tell application "Address Book" | |
| repeat with contact in people | |
| repeat with icq in ICQ handles of contact | |
| set nimbuzzIcq to (value of icq) & "@icq.nimbuzz.com" | |
| set nimbuzzIcqFound to no | |
| repeat with jabber in Jabber handles of contact | |
| if (value of jabber) = nimbuzzIcq then | |
| set nimbuzzIcqFound to yes | |
| end if | |
| end repeat | |
| if nimbuzzIcqFound = no then | |
| make new Jabber handle at the end of (Jabber handles of contact) with properties {value:nimbuzzIcq, label:"privat"} | |
| end if | |
| end repeat | |
| end repeat | |
| save | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment