#apple


Find Duplicates in Address Book

Ever had the sit­u­a­tion where you have synced your iPhone (to iTunes OS X) and hap­pen to sync both the con­tacts from your Address Book and Google Con­tacts? Or, just hap­pen to add some­one’s new con­tact info as anoth­er con­tact-card? Well, here’s how I cleaned and merged dupli­cate con­tacts so that my Address Book per­forms like a champ.

  1. Launch Script Edi­tor (Applications/AppleScript/Script Edi­tor)
  2. Paste the fol­low­ing code snip­pet
    tell application "Address Book"
        set biglist to {}
        set theGroup to count every person
        if not (exists (group "Duplicate Entries")) then
            make new group with properties {name:"Duplicate Entries"}
        end if
        set the_names to the name of every person as list
        repeat with i from 1 to number of items in the_names
            set this_Name to item i of the_names
            set theName to name of person this_Name as string
            if this_Name is not in biglist then
                copy this_Name to end of biglist
            else
                add (people whose name is theName) to group "Duplicate Entries"
            end if
        end repeat
        save addressbook
    end tell
  3. Save your new­ly cre­at­ed script (would usu­al­ly default to ~/Documents/AppleScripts/), and just open/run it

Now, the eas­i­est way to fig­ure out if its run­ning or not (at least for me) was to run the Activ­i­ty Mon­i­tor and sort by CPU. I sim­ply just wait­ed to see if Address Book would climb to the top doing 90+, and back down to nil. When this is done, you should be able to see a group called “Dupli­cate Entries”. From there, you may now sort through the details and delete the ones that you don’t need.

Note: You can also do a quick merge via Address Book itself from dupli­cate con­tacts. How­ev­er, you won’t be able to see which con­tacts are being merged as its just a set-it-and-for­get kind of deal. If you do not care and sim­ply just want to get rid of those dupes, you can do so by doing the fol­low­ing:

  1. Launch Address Book
  2. Select Card from its menu
  3. Then, select Look­ing for Dupli­cates… and just go through the fol­low­ing prompts after search results fin­ish­es

Incase Slider for iPhone 3G

Sweet­ness! Final­ly. I’ve heard so much good things about the Incase Slid­er (case) for the first-gen iPhones. I rig­or­ous­ly tried to do some research if there were any for the iPhone 3G a few weeks ago. I lat­er found out even­tu­al­ly that it won’t be released till mid-August (now). At least, it’s here and that Incase has kept true to their words.

Here’s a brief descrip­tion that was on the Incase Slid­er for iPhone 3G:

Our most pop­u­lar case for the first gen­er­a­tion iPhone is now avail­able for iPhone 3G. For the finest in sleek, durable pro­tec­tion, the Slid­er Case for iPhone 3G is made of hard­shell plas­tic and fea­tures a min­i­mal wall thick­ness of 1mm. Inte­ri­or rub­ber guardrails pro­vide shock absorp­tion in addi­tion to impact and scratch pro­tec­tion.

Fea­tures

* Durable iPhone 3G pro­tec­tion
* Light­weight hard­shell plas­tic con­struc­tion
* Direct access to widescreen
* Easy access to all con­trols and device fea­tures
* Allows charg­ing while in case or bot­tom cov­er slides away for dock­ing
* Avail­able in mat­te and gloss fin­ish­es

I think I’ll be grab­bing one of the “black mat­te” ones soon. Although the “white gloss” ver­sion is look­ing clean too. I’m say­ing this because I have a 16GB Black, and I can always just take out the case if I am wear­ing a suit or some­thing (which hap­pens rarely, but been numer­ous late­ly due to wed­dings).

All-in-all, I think it’ll be sell­ing like hot cakes as the case for the first-gen did very well and left a very fla­vor­ful impres­sion amongst iPhone-case fan­boys, and fan­girls. Then again, I might be wrong—different stroke for dif­fer­ent folks.

Update
For a walk­through of the Slid­er’s func­tion­al­i­ty, here’s a video review of the Incase Slid­er for the first-gen:

YouTube Preview Image

Take Screenshots on Your iPhone

Some peo­ple have asked me how I took the screen­shot of the Ever­Note app (in this post) via iPhone. Oth­er than get­ting some help via Google search results, it’s pret­ty much as sim­ply doing the fol­low­ing:

  1. First, hold down the HOME-but­ton,
  2. Then press the ON/OFF-but­ton (aka. SLEEP/WAKE)

You will then see your screen flash quick­ly. After that, your new screen­shot should now avail­able at: Pho­tos > Cam­era Roll!

I hope that helps.

ExpressCard Media Card Reader for MacBook Pro

I recent­ly pur­chased this from eBay: adapterbest. Works pret­ty good.

This thing is tiny. I almost for­got what I pur­chased as the pack­age that came from HK was pret­ty small.

Here are some specs:

  • Sup­port ExpressCard/34 and ExpressCard/54 slot
  • Sup­port SDHC for­mat
  • Sup­port mul­ti­ple flash cards:
    • With­out adapter: SDHC, SD, MMC, MMC­plus, M.S., M.S. PRO and xD
    • With adapter (NOT includ­ed): microSD, min­iSD, MMC­mo­bile, RSMMC, M.S. Duo, M.S. PRO Duo
  • Rugged and reli­able stain­less steel cov­er
  • Size: 34.2 mm x 75 mm x 5 mm
  • Sup­port Win­dows 2000 and XP, and Mac 10.4 and above

PS. Here’s how it looks inject­ed into the slot.

iPhone v2 3G+GPS Out on July 11th!

iPhone 3G
Image via Apple

Sweet­ness! $199 for the 8GB, and $299 for the 16GB mod­el of the new, bad­dest iPhone ver­sion 2 with 3G and GPS built-in.

70 coun­tries this year. We’re going to start with 22 of the biggest, rolling out the iPhone 3G at the same time in all of these coun­tries. July 11.” ~Steve Jobs via Engad­get