Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Add Google phonebook results to Address Book Apps
Tiger only hintI am constantly looking up companies or individuals using Google. Then I want to add them to my Address Book so they get iSynced to my phone. I was copy/pasting them, but that is repetitive, and thus had to be scripted. I am very new to this OS X thing, so this may not be the most elegant solution .... but I have combined Automator, Perl, and AppleScript, so it's got to be worth creative points if nothing else.

How it works:
Simply do your regular Google search and if you see a Local results or a Phonebook results at the top of the results page, run this script from the Scripts menu, and that entry will be added to your Address Book. (The linked page above has more info about how to set this up and get it working.)

Known issue:
If you open this in Automator, you need to change step three to use /usr/bin/perl, because Automator likes to default it back to /bin/bash.

[robg adds: Note that the 'person' search listed above is the generic form of a person search; if you replace the fictitious data with real values, you'll get a personal entry that should work with this script. Note that this script requires Safari and 10.4.]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[8,241 views]  

10.4: Add Google phonebook results to Address Book | 4 comments | Create New Account
Click here to return to the '10.4: Add Google phonebook results to Address Book' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Add Google phonebook results to Address Book
Authored by: yergnov on Mar 02, '06 12:38:26PM

I have been wanting something similar, except that would parse an email message with address info instead of a webpage. Can anyone help me understand how I can modify this for my needs? I am not a programmer and have limited understanding of both Perl and Reg Exp. (do I need to have the perl script tucked into some directory somewhere?)
THanks!!!



[ Reply to This | # ]
10.4: Add Google phonebook results to Address Book
Authored by: jjmarcus on Mar 10, '06 08:14:19AM

Only replying to the previous post, I have found the freeware app SBook (http://www.versiontracker.com/dyn/moreinfo/macosx/13741) really helpful in this regard. It automatically parses textual contact information and sends it to Address Book.



[ Reply to This | # ]
10.4: Add Google phonebook results to Address Book
Authored by: ephramz on Mar 03, '06 09:30:06AM
You could also check out Address Actions, a little services menu that takes any selected text and transmorgrifies it into a Address Book entry. It is a little picky on address formats, but does have separate modules for US, UK, and Aussie addresses. Just assign it a hot key in the Keyboard Sys Prefs and you can add any address, whether in email, a webpage, or a document to your Address Book! This is quite a time saver for me.

[ Reply to This | # ]
10.4: Add Google phonebook results to Address Book
Authored by: ephramz on Mar 06, '06 12:19:00AM

Hmm, works great for businesses, but doesn't seem to work for people (Phonebook results). Fails with "can't get item 2 of ("")" in the Applescript part.



[ Reply to This | # ]