Skip to content

Instantly share code, notes, and snippets.

Mohamed Ashraf primary0

Block or report user

Report or block primary0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@primary0
primary0 / MV-MY-CC-ADD
Created May 11, 2011
Add Maldives and Malaysia country code to address book entries
View MV-MY-CC-ADD
# IMPORTANT:
# Backup address before proceding
# Create address book smart lists to monitor new (eg: numbers beginning with +)
# and old (eg: numbers not beginning with +) records. If you encounter an error, ignore it and
# keep hitting "Run" until there are no records in the old smart list.
# If you manage to mess up everything, restore backup address book and delete this script.
tell application "Address Book"
repeat with current_person in every person
repeat with current_number in phones of current_person
You can’t perform that action at this time.