Dashboard's Address Book widget defaults to showing the first vCard in your address book. If you would rather have it default to your vCard, do the following:
- Copy /Library/Widgets/Address Book.wdgt to your user account's Library/Widgets/ folder (renaming is optional).
- Control-click on the newly copied widget, and choose Show Package Contents from the pop-up menu. Find the "AddressBook.js" file in the newly opened window, and open this in a text editor (e.g. TextEdit or BBEdit).
- Change the line:
to this:var savedSearchString = "";
Replace Your Name with, well, your name.var savedSearchString = "Your Name"; - Save the AddressBook.js file and quit the Editor.
Anyone know how to write a javascript that can parse out *your* card so that the name doesn't have to be hard-coded like this? Alternatively, could this functionality be extracted to a configuration pane of the Address Book widget?
•
[5,174 views]

