Access Thunderbird Window Areas

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