Access Thunderbird Window Areas

This is an archived page. It's not actively maintained.

To access particular parts of the Thunderbird window you can use these helper methods. An alternative to these methods is to directly access the element by it's ID as in the Detect When a Folder Opens example.

 var folderTree = GetFolderTree();
 var searchInput = GetSearchInput();
 var messagePane = GetMessagePane();
 var messagePaneFrame = GetMessagePaneFrame();
 var mailToolBox = getMailToolbox();
 var currentMsgFolder = GetLoadedMsgFolder();

see the msgMail3PaneWindow.js for other helper methods