Am 2017-09-08 um 12:47 schrieb Andy Smith:

I've had a look at Thunderbird and you can use IMAP search, buy you have
to manually select it from an advanced search dialogue and it seems you
cannot make this the default behaviour.
Hello Andy, it is not that difficult to get a button in Thunderbird that does the lifting:

- install add-on "Custom Buttons"
- make a new button, code see attachment

"Search on Server" seems to be remebered by the dialogue itself…

--
peter
var selektor = "Inhalt"; // Localized name in search drop-down
openDialog(
        "chrome://messenger/content/SearchDialog.xul",
        "_blank",
        "chrome,resizable,status,centerscreen,dialog=no",
        { folder: gFolderDisplay.displayedFolder }
).addEventListener(
        "pageshow",
        function tempFunction(event) {
                this.removeEventListener(event.type, tempFunction, false);
                var searchAttr0 = this.document.getElementById("searchAttr0");
                searchAttr0.value = 
searchAttr0.valueIds[searchAttr0.valueStrings.indexOf(selektor)];
                this.document.getAnonymousElementByAttribute(
                        this.document.getElementById("searchVal0"),
                        "class",
                        "search-value-textbox"
                ).focus();
        },
        false
);

Reply via email to