Thunderbird's Search Messages Dialog Box
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Thunderbird's Search Messages Dialog Box
I use the Search Messages function a lot. Right clicking on a folder in Thunderbird, you get the option of then selecting Search Messages. The Search Messages Dialog Box comes up.
In this dialog box, there is a menu in the Results area. It has Subject, Date, Search by Corespondents, Location and a little box that allows you to customize the Menu.
I am trying to figure out how to add menu buttons permanently. I would like to permanently add READ to this menu.
How do I do it?
I have tried searching the web (I get millions of responses, none relevant in the first 10 pages). I have tried searching the Forum (I get thousands of pages). I am now asking in a new thread as I cannot find anything that relates to what I want (might be a wording issue on my part).
Would someone please help me?
Thanks in advance
Ed
In this dialog box, there is a menu in the Results area. It has Subject, Date, Search by Corespondents, Location and a little box that allows you to customize the Menu.
I am trying to figure out how to add menu buttons permanently. I would like to permanently add READ to this menu.
How do I do it?
I have tried searching the web (I get millions of responses, none relevant in the first 10 pages). I have tried searching the Forum (I get thousands of pages). I am now asking in a new thread as I cannot find anything that relates to what I want (might be a wording issue on my part).
Would someone please help me?
Thanks in advance
Ed
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
- DanRaisch
- Moderator
- Posts: 127246
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird's Search Messages Dialog Box
As far as I am aware that change would only be possible by tweaking the code for the program itself.
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
DanRaisch wrote:As far as I am aware that change would only be possible by tweaking the code for the program itself.
Since I am able to adjust this menu using the Customize Menu button, it stands to reason that one should be able to add one of those Customize(d) Buttons permantly.
It is really annoying to have to customize the menu EVERY time I use this function.
Ed
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
I just found this in MY messages dated Feb Thu 19th 2015 4:18pm. It appears that I have asked this question before. Has the answer changed?Oracle68 wrote:DanRaisch wrote:The results of the search are displayed dynamically so there is no way to retain the user's selection of column headings. But you don't need the button on the toolbar to change the status of a message from Read to Unread or vice versa. Just select the message in the list and press the "M" key to toggle from the current state to the opposite. That is, if the message is marked as Read, pressing "M" will result in the message being marked as Unread.
Ed
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
- DanRaisch
- Moderator
- Posts: 127246
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird's Search Messages Dialog Box
Not that I am aware of.
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
DanRaisch wrote:Not that I am aware of.
Thank you Dan!
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Thunderbird's Search Messages Dialog Box
You would need to create an extension. (too difficult for a normal user)
Reference
http://dxr.mozilla.org/comm-esr52/searc ... hDialog.js
http://dxr.mozilla.org/comm-esr52/searc ... Dialog.xul
Reference
http://dxr.mozilla.org/comm-esr52/searc ... hDialog.js
http://dxr.mozilla.org/comm-esr52/searc ... Dialog.xul
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
Apparently, I am not a "normal" user. LOL I don't understand the code snipits or what to change them to.morat wrote:You would need to create an extension. (too difficult for a normal user)
Reference
http://dxr.mozilla.org/comm-esr52/searc ... hDialog.js
http://dxr.mozilla.org/comm-esr52/searc ... Dialog.xul
The second one seems to be a Chrome reference - at least Chrome is in the "path"
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Thunderbird's Search Messages Dialog Box
I can set the column states with the userChromeJS extension.
http://userchromejs.mozdev.org/
http://userchromejs.mozdev.org/faq.html
Instructions:
1. install userChromeJS extension
2. close email client
3. create or edit the userChrome.js file in the chrome folder in the profile folder
4. open email client with the -purgecaches command line option
i.e.
thunderbird.exe -purgecaches
ThunderbirdPortable.exe -purgecaches
You have to purge the caches only after creating or editing the userChrome.js file.
userChromeJS 2.0 (signed)
Thunderbird 52.5.0
Windows 7 SP1 32-bit
Code: Select all
/* Thunderbird userChrome.js */
(function () {
if (location == "chrome://messenger/content/messenger.xul") {}
if (location == "chrome://messenger/content/messageWindow.xul") {}
if (location == "chrome://messenger/content/messengercompose/messengercompose.xul") {}
if (location == "chrome://messenger/content/SearchDialog.xul") {
setTimeout(function () {
gFolderDisplay.setColumnStates({
subjectCol: { visible: true },
correspondentCol: { visible: Services.prefs.getBoolPref("mail.threadpane.use_correspondents") },
senderCol: { visible: !Services.prefs.getBoolPref("mail.threadpane.use_correspondents") },
unreadButtonColHeader: { visible: true }, // Read column
dateCol: { visible: true },
locationCol: { visible: true },
});
}, 1000);
}
})();
http://userchromejs.mozdev.org/faq.html
Instructions:
1. install userChromeJS extension
2. close email client
3. create or edit the userChrome.js file in the chrome folder in the profile folder
4. open email client with the -purgecaches command line option
i.e.
thunderbird.exe -purgecaches
ThunderbirdPortable.exe -purgecaches
You have to purge the caches only after creating or editing the userChrome.js file.
userChromeJS 2.0 (signed)
Thunderbird 52.5.0
Windows 7 SP1 32-bit
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
[quote="morat"]I can set the column states with the userChromeJS extension.
Am I wrong in thinking that you are now talking Chrome, as in the Google Chrome Browser (which I only use except when Firefox won't work with a website)?
I am not opposed to using this but ....Old School Security Nut here....
Ed
Am I wrong in thinking that you are now talking Chrome, as in the Google Chrome Browser (which I only use except when Firefox won't work with a website)?
I am not opposed to using this but ....Old School Security Nut here....
Ed
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
- DanRaisch
- Moderator
- Posts: 127246
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird's Search Messages Dialog Box
Yes you are. The reference here is to chrome as in elements that are be used to change the way Mozilla applications' interface looks. morat is speaking of an extension that facilitates the user of that functionality.Am I wrong in thinking that you are now talking Chrome, as in the Google Chrome Browser
See this article for more information: http://kb.mozillazine.org/index.php?tit ... ntable=yes
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Thunderbird's Search Messages Dialog Box
userChromeJS 2.0 is signed by Mozilla.Oracle68 wrote:Old School Security Nut
Extension Signing
http://wiki.mozilla.org/Add-ons/Extension_Signing
If I try to install an unsigned extension like userChromeJS 1.7 in Firefox ESR 52, then I get the following error message.
Thunderbird does not require extensions to be signed, but I would trust signed extensions that work in Firefox.This add-on could not be installed because it has not been verified.
MD5, SHA1, SHA256 for userchromejs-2.0-sm+tb+fx.xpi file:
371759c10b3553e8b04a11c5e43a9a3a
3cccc21f3c5798c4f663ae1d754143ad0a446b8a
c72bdf4c4d815ee29bacaab54368ffc242d0e970f8ca9ff21f2d5901f1d891ac
userChrome.js
http://kb.mozillazine.org/index.php?title=UserChrome.js
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
DanRaisch wrote:Yes you are. The reference here is to chrome as in elements that are be used to change the way Mozilla applications' interface looks. morat is speaking of an extension that facilitates the user of that functionality.Am I wrong in thinking that you are now talking Chrome, as in the Google Chrome Browser
See this article for more information: http://kb.mozillazine.org/index.php?tit ... ntable=yes
Ok, THanks....I did not know that.
Ed
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
DanRaisch wrote:Yes you are. The reference here is to chrome as in elements that are be used to change the way Mozilla applications' interface looks. morat is speaking of an extension that facilitates the user of that functionality.Am I wrong in thinking that you are now talking Chrome, as in the Google Chrome Browser
See this article for more information: http://kb.mozillazine.org/index.php?tit ... ntable=yes
LMAO
To create this file, use your operating system tools.
Go to your profile folder. Then go to the chrome folder there, creating it if necessary. In the chrome folder, create a plain text file
named userChrome.css. Copy and paste the following line as the first line of the file (if it doesn't already exist). This is called the
namespace line and you must not alter it. Anything you add later on should always be below it
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul");
Is this for real?! [there.is.only.xul]
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!
- Oracle68
- Posts: 79
- Joined: November 3rd, 2005, 3:09 pm
Re: Thunderbird's Search Messages Dialog Box
Morat, you are advocating the .js file with extension and Dan is advocating the .css with - http://www.mozilla.org/keymaster/gateke ... s.only.xul" in it.morat wrote:userChromeJS 2.0 is signed by Mozilla.Oracle68 wrote:Old School Security Nut
Extension Signing
http://wiki.mozilla.org/Add-ons/Extension_Signing
If I try to install an unsigned extension like userChromeJS 1.7 in Firefox ESR 52, then I get the following error message.
Thunderbird does not require extensions to be signed, but I would trust signed extensions that work in Firefox.This add-on could not be installed because it has not been verified.
MD5, SHA1, SHA256 for userchromejs-2.0-sm+tb+fx.xpi file:
371759c10b3553e8b04a11c5e43a9a3a
3cccc21f3c5798c4f663ae1d754143ad0a446b8a
c72bdf4c4d815ee29bacaab54368ffc242d0e970f8ca9ff21f2d5901f1d891ac
userChrome.js
http://kb.mozillazine.org/index.php?title=UserChrome.js
Are they the same thing?
Ed
The Dawg
Be The Man You Dog Thinks You Are!!
Be The Man You Dog Thinks You Are!!