The
Ultimate
Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive RSS

by: Bernard Teo






Latest Joy of Tech!

Joy of Tech ... from Geek Culture



BookJetty



Creative Commons License

Copyright © 2003-2010
Bernard Teo
Some Rights Reserved.

This work is licensed under a Creative Commons License.


The Ultimate Business Machine - Archives

List of Categories : Commentary * Singapore * Technology * Travel *

Wed 06 Oct 2004

A Map Plug-In for Address Book (for Panther users)

Category : Technology

I've created an Address Book plug-in for Singapore Maps (based on Stephen Wither's WhereIs plug-in for Australian Maps).

From Panther (OS X 10.3.x) onwards, Apple's engineers gave Address Book users a new ability to work with plug-ins. And smart people are starting to exploit it.

I modified Stephen's AppleScript code and made it work with Singapore's streetdirectory.com. I also wrapped a one-click installer around it.

The installer looks like this and you can download it from here.

Once you've downloaded and installed the plug-in (you can choose to install it at the system level so that it'll work for every user on your Mac), you can go over to Address Book and find a new function in the pop-up menus of Address-related fields :

Choose "Singapore Maps" and your browser will launch streetdirectory.com and point you towards where that address is in Singapore :

Please note: you've got to store your STREET field in Address Book in a regular way - "3 Shenton Way, Shenton House #11-05/06" - i.e., Block No. first, then Street Name, and (very important, don't forget) the comma (or a carriage return), then Building Name and then Unit No. for this to work. You need the comma or carriage return to separate the Street Name from the Building Name.

Neat, right? I've always wanted to be able to do this. This makes Address Book so much more useful.

With AppleScript, and the ability to extend Address Book with plug-ins, and the ability to move the information around to wherever you want it using either Apple Scripts or Unix shell scripts, the things you can do are limited only by your imagination.

Thanks, Steve Withers, for the use of the code.

Posted at 10:34PM SGT | permalink

Mac@Work
Put your Mac to Work

Sivasothi.com? Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

MailServe for
Snow Leopard

DNS Enabler for
Snow Leopard

DNS Agent for
Snow Leopard

WebMon for
Snow Leopard

Luca Accounting
for Snow Leopard

Liya for
Snow Leopard

Postfix Enabler
for Tiger and Panther

Sendmail Enabler
for OS X Jaguar



Liya for the iPhone


Luca for the iPhone


Services running on this server, an iMac 2.66 GHz Intel Core 2 Duo, 4 GB RAM, 320 GB hard disk, Ethernet, Airport Extreme, Mac OS X 10.6.4 Snow Leopard:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • FTP Server
  • WebDAV Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using our own tools - MailServe, WebMon, DNS Enabler, DNS Agent and Liya, all on Snow Leopard.