rem: if (gPromptService) { var result = {value:"http: if (gPromptService.prompt( window, sComposeMsgsBundle.getString("attachPageDlogTitle"), sComposeMsgsBundle.getString("attachPageDlogMessage"), result, null, {value:0})) { var attachment = Components.classes["@mozilla.org/messengercompose/attachment;1"].createInstance(Components.interfaces.nsIMsgAttachment); attachment.url = result.value; AddAttachment(attachment); } } 
add: var result = { attachment: null }; window.openDialog("chrome: if (result.attachment) AddAttachment(result.attachment); 
context: function AttachPage(){   if (gPromptService)   {      var result = {value:"http://"};      if (gPromptService.prompt(        window,        sComposeMsgsBundle.getString("attachPageDlogTitle"),        sComposeMsgsBundle.getString("attachPageDlogMessage"),          result,        null,        {value:0}))      {        var attachment = Components.classes["@mozilla.org/messengercompose/attachment;1"].createInstance(Components.interfaces.nsIMsgAttachment);        attachment.url = result.value;        AddAttachment(attachment);      }   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/970a4df3dd7644f5b70651cca91142a6e2667e7e/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js