rem: dump("print address book \n"); try { addressbook.PrintAddressbook(); } catch (ex) { dump("failed to print address book\n"); } 
add: var addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(Components.interfaces.nsIAddressBook); var uri = GetAbViewURI(); if (!uri) return;  var statusFeedback; statusFeedback = Components.classes["@mozilla.org/messenger/statusfeedback;1"].createInstance(); statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);  /* turn "moz-abmdbdirectory: "addbook: */  var abURIArr = uri.split(": var printUrl = "addbook:  printEngineWindow = window.openDialog("chrome: "", "chrome,dialog=no,all", 1, [printUrl], statusFeedback);  return; 
context: function AbPrintAddressBook(){        dump("print address book \n");        try {                addressbook.PrintAddressbook();        }        catch (ex) {                dump("failed to print address book\n");        }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d46cb75f5641b949becca65ef7355878e4304dbc/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js