APP: ("Advanced Control" is a web browser add-on)

Add-on
 |
 +--- app
 |     |
 ...   +--- path
       +--- events
       +--- MessageBox
       +--- stop
// JScript example
   var path = app.path;    // Usually {win}\Web\AC
   var events = (new VBArray(app.events)).toArray();

   var title = path;
   var message = events.join(",");
   var mask = 64;

   // The meaning of mask is the same as in the Microsoft 
   // Win32R application programming interface MessageBox 
   // function. The following tables show the values and 
   // their meanings. You can combine values in these tables.

   // Button Types
   // 0 Show OK button. 
   // 1 Show OK and Cancel buttons. 
   // 2 Show Abort, Retry, and Ignore buttons. 
   // 3 Show Yes, No, and Cancel buttons. 
   // 4 Show Yes and No buttons. 
   // 5 Show Retry and Cancel buttons. 

   // Icon Types
   // 16 Show "Stop Mark" icon. 
   // 32 Show "Question Mark" icon. 
   // 48 Show "Exclamation Mark" icon. 
   // 64 Show "Information Mark" icon. 

    var answer = app.MessageBox(message, title, mask);
    // 1 OK button 
    // 2 Cancel button 
    // 3 Abort button 
    // 4 Retry button 
    // 5 Ignore button 
    // 6 Yes button 
    // 7 No button 

    app.stop();     // Unload script from add-on

Content
JScript, VBScript, MSIE and Internet Explorer are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.