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

10.4: Fix Dashboard's Address Book Startup Behavior Apps
Tiger only hintDashboard'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:
  1. Copy /Library/Widgets/Address Book.wdgt to your user account's Library/Widgets/ folder (renaming is optional).

  2. 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).

  3. Change the line:
    var savedSearchString = "";
    to this:
    var savedSearchString = "Your Name";
    Replace Your Name with, well, your name.

  4. Save the AddressBook.js file and quit the Editor.
Now, when you open Dashboard and drag out a new Address Book widget, the widget will first search the Address Book for Your Name, and display matching cards. This should default to your card. Note that this could be applied to more interesting default settings, such as using Co-workers as the search string, which would bring up a list of all of your co-workers for quick reference (if Apple would allow searching based on Address Book Group).

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?
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[5,073 views]  

10.4: Fix Dashboard's Address Book Startup Behavior | 3 comments | Create New Account
Click here to return to the '10.4: Fix Dashboard's Address Book Startup Behavior' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix Dashboard's Address Book Startup Behavior
Authored by: adrianm on May 12, '05 11:09:36AM

Or just use AddressBook.



[ Reply to This | # ]
Fix Dashboard's Address Book Startup Behavior
Authored by: omalleypat16 on May 29, '05 03:12:31PM

This does not seem to work if you have an apostrophe in your last name like I do.



[ Reply to This | # ]
Fix Dashboard's Address Book Startup Behavior
Authored by: jmil on Jun 01, '05 11:31:20AM

you'd have to escape the apostrophe, methinks. An alternative to entering your name would be to use your email address, since that should be specific for you only. does that work?



[ Reply to This | # ]